PC

pipe-cd/docs-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

7 stars 5 forks 品質 78 トレンド 23Apache-2.0

A local MCP server for searching official PipeCD docs.

概要

A local MCP server for searching official PipeCD docs. This server clones the official PipeCD docs from GitHub and provides simple full-text search and document retrieval APIs via the MCP protocol. Documentation is cloned into a temporary directory, and Markdown files are indexed by extracting their titles and content. 1. Create a PAT with read:packages scope. Details 2. Add the following config to your .npmrc file. For Cursor users, you can install the MCP server with a single click using the deeplink below: This will automatically configure the MCP server in your Cursor settings. After clicking the link, Cursor will prompt you to install the server. Add the following config to your mcp.json. Executes a full-text search on PipeCD docs.

README

以下は原文 README の抜粋です。原文を見る。

PipeCD Docs MCP Server

A local MCP server for searching official PipeCD docs.

Overview

This server clones the official PipeCD docs from GitHub and provides simple full-text search and document retrieval APIs via the MCP protocol.
Documentation is cloned into a temporary directory, and Markdown files are indexed by extracting their titles and content.

Usage

Prerequisites

  1. Create a PAT with read:packages scope. Details

  2. Add the following config to your .npmrc file.

@pipe-cd:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_TOKEN

Cursor

For Cursor users, you can install the MCP server with a single click using the deeplink below:

This will automatically configure the MCP server in your Cursor settings. After clicking the link, Cursor will prompt you to install the server.

Install Using npx

Add the following config to your mcp.json.

{
  "mcpServers": {
    "pipe-cd.docs-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@pipe-cd/docs-mcp-server@latest"
      ], 
    }
  }
}

Tools

search_docs

Executes a full-text search on PipeCD docs.

  • Parameters:
    • query: Search keywords (space-separated, AND search)
    • offset: Start position for results
    • limit: Number of results to return (default: 20)

read_docs

Returns the content of the specified page.

  • Parameters:
    • path: Relative path of the document (after “docs/content/en/”)

Implementation Notes

  • Uses sparse-checkout to minimize clone size and speed up the process.
  • Titles are extracted from the Markdown front matter.
  • The search logic of search_docs is so simple for now.

Contributing

Code of Conduct

PipeCD follows the CNCF Code of Conduct. Please read it to understand which actions are acceptable and which are not.

Get Involved

  • Slack: #pipecd channel on CNCF Slack for discussions related to PipeCD development.
  • Community Meeting: Every other Wednesdays. Search here.

Improvements

  • Bug:
    • Please open an Issue and describe the problem. Or, open a PR with if it’s easy one.
  • Enhancement / Feature Request:
    • For small changes including docs or adding tests, please open a PR.
GitHub で README 全文を見る

インストール

npx @pipe-cd/docs-mcp-server@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "pipe-cd.docs-mcp-server": { "type": "stdio", "command": "npx", "args": [ "@pipe-cd/docs-mcp-server@latest" ], } } }