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`.

评论

开发工具 分类下的更多 MCP 服务器