home / mcp / peacock mcp server
Exposes Peacock documentation and tools via MCP to your editor, enabling seamless queries and guidance within your development workflow.
Configuration
View docs{
"mcpServers": {
"johnpapa-peacock-mcp": {
"command": "npx",
"args": [
"-y",
"@johnpapa/peacock-mcp"
]
}
}
}Peacock MCP Server provides a lightweight MCP endpoint you can connect to from MCP clients to interact with the Peacock extension APIs. It enables you to query Peacock documentation, fetch extension-related data, and test tool-based workflows from your preferred MCP client. This server is designed to be simple to run locally or integrate into your existing MCP tooling.
To use the Peacock MCP Server, connect an MCP client to the local server and start sending tool queries. You can discover the server via MCP discovery features in supported clients or specify the server connection directly using the standardized MCP entry. A practical workflow is to fetch Peacock documentation through the server’s dedicated tool, which exposes Peacock extension information and usage guidance.
Prerequisites: you need Node.js and npm installed on your system. Verify with node -v and npm -v in your terminal.
Install and run the Peacock MCP Server using the standard MCP entry that uses npx to launch the package.
Option 1: Install via Smithery (automatic install for Claude Desktop):
npx -y @smithery/cli install @johnpapa/peacock-mcp --client claudeAssociate the MCP server with a specific repository by creating a VS Code MCP configuration. This enables the server to be available for that repository’s tooling.
{
"inputs": [],
"servers": {
"peacock_mcp": {
"command": "npx",
"args": [
"-y",
"@johnpapa/peacock-mcp"
],
"env": {}
}
}
}If you want to test the server with MCP Inspector, follow these steps.
# 1. Clone the project
git clone https://github.com/johnpapa/peacock-mcp
# 2. Install dependencies and build
cd peacock-mcp
npm install
npm run build
# 3. Optional: start MCP Inspector to connect to the built server
npx @modelcontextprotocol/inspector node build/index.jsKeep dependencies up to date and review any security advisories for the Peacock MCP Server and its dependencies. When running locally, limit exposure to trusted networks and avoid publishing the server without proper access controls.
Fetches the Peacock for VS Code extension docs from its GitHub repository and answers questions based on the documentation