Back to catalog

Peacock for VS Code MCP Server

MCP server for the Peacock extension in VS Code, which provides access to Peacock documentation and configuration assistance for customizing colors and themes in VS Code.

MCP server for the Peacock extension in VS Code, which provides access to Peacock documentation and configuration assistance for customizing colors and themes in VS Code.

Installation

NPX

npx -y @johnpapa/peacock-mcp

Docker

docker run -i --rm mcp/peacock-mcp

VS Code CLI (Stable)

code --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'

VS Code CLI (Insiders)

code-insiders --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'

Smithery

npx -y @smithery/cli install @johnpapa/peacock-mcp --client claude

Configuration

VS Code (Repository-specific .vscode/mcp.json)

{
  "inputs": [],
  "servers": {
    "peacock-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@johnpapa/peacock-mcp"
      ],
      "env": {}
    }
  }
}

VS Code User Settings

{
  "mcp": {
    "servers": {
      "peacock-mcp": {
        "command": "npx",
        "args": [
          "-y",
          "@johnpapa/peacock-mcp"
        ],
        "env": {}
      }
    }
  },
  "chat.mcp.discovery.enabled": true
}

Available Tools

Tool Description
fetch_peacock_docs Fetches documentation for the Peacock extension for VS Code from its GitHub repository and answers questions...

Capabilities

  • Retrieve Peacock documentation and provide detailed information
  • Answer questions about Peacock extension functionality
  • Integration with VS Code through the MCP protocol
  • Access to official Peacock documentation data

Usage Examples

How do I configure accent colors in VS Code?

Notes

The primary goal of this project is to demonstrate how an MCP server can be used to interact with APIs. All data used by this MCP server is retrieved from the official Peacock documentation. Requires Node.js >=20. For integration with VS Code, use Agent mode in GitHub Copilot and update the list of servers to access the tools.

Comments (0)

Sign In Sign in to leave a comment.