MCP.so
ログイン

Peacock MCP Server

@johnpapa

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

johnpapa

Peacock MCP Server について

MCP Server for the Peacock extension for VS Code, coloring your world, one Code editor at a time. The main goal of the project is to show how an MCP server can be used to interact with APIs.

Peacock MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "peacock-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@johnpapa/peacock-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

Peacock MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Peacock Mcp?

Peacock Mcp is a Model Context Protocol server for the Peacock VS Code extension. It fetches documentation from the official Peacock repository and answers questions based on that documentation. It is designed to demonstrate how an MCP server can interact with APIs.

How to use Peacock Mcp?

Install via npx -y @johnpapa/peacock-mcp or Docker. Configure it in VS Code by adding a server entry in user settings JSON (mcp.servers.peacock-mcp) or in a .vscode/mcp.json file. After configuration, open GitHub Copilot in Agent mode, refresh tools, and use the fetch_peacock_docs tool by asking a question about Peacock.

Key features of Peacock Mcp

  • Fetches Peacock VS Code extension documentation.
  • Answers user questions based on that documentation.
  • Integrates with GitHub Copilot Agent mode.
  • Can be run locally with MCP Inspector for testing.
  • Installable via npm, Docker, or Smithery.

Use cases of Peacock Mcp

  • Ask "How do I set my VS Code accent colors?" and get an answer from Peacock docs.
  • Inquire about any Peacock feature while coding without leaving the editor.
  • Explore how MCP servers expose tool-based APIs for documentation retrieval.
  • Test and debug MCP server interactions using MCP Inspector.

よくある質問

1

What tool does Peacock Mcp provide?

It provides a single tool called `fetch_peacock_docs` that takes a `prompt` (user question) and returns an answer based on Peacock documentation.

2

What runtime is required?

Node.js version 20 or higher is required.

3

Where does the data used by Peacock Mcp come from?

All data is fetched from the official Peacock documentation at https://peacockcode.dev.

4

How can I install Peacock Mcp in VS Code?

You can install it by adding a server entry in VS Code user settings JSON or in a `.vscode/mcp.json` file, using the command `npx -y @johnpapa/peacock-mcp`. Pre-built install buttons for VS Code Stable and Insiders are also available.

5

Can I test Peacock Mcp locally?

Yes. Clone the repository, run `npm install && npm build`, then start the MCP Inspector with `npx @modelcontextprotocol/inspector node build/index.js`.

コメント

「開発者ツール」の他のコンテンツ