
paon-MCP
MCP Server pour l'extension Peacock pour le code vs, colorant votre monde, un éditeur de code à la fois. L'objectif principal du projet est de montrer comment un serveur MCP peut être utilisé pour interagir avec les API.
1
Github Watches
0
Github Forks
1
Github Stars
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.
Note: All data used by this MCP server is fetched from the official Peacock documentation.
🔧 Features
- Fetch Peacock docs: Get detailed info on Peacock.
🧰 Tools
1. fetch_peacock_docs
🔍🦸♂️
- Description: Fetches the Peacock for VS Code extension docs from its GitHub repository and answers questions based on the documentation
-
Input:
-
prompt
(query): The question about Peacock.
-
- Returns: Your answer!
🛠️ Setup
Install Peacock for VS Code HERE.
Running the MCP Server hosted in GitHub Copilot with VS Code Insiders
Note: If you already have the MCP server enabled with Claude Desktop, add
chat.mcp.discovery.enabled: true
in your VS Code settings and it will discover existing MCP server lists.
If you want to associate the MCP server with a specific repo, create a .vscode/mcp.json
file with this content:
{
"inputs": [],
"servers": {
"peacock-mcp": {
"command": "npx",
// "command": "node",
"args": [
"-y",
"@johnpapa/peacock-mcp"
// "_git/peacock-mcp/dist/index.js"
],
"env": {}
}
}
}
If you want to associate the MCP server with all repos, add the following to your VS Code User Settings JSON:
"mcp": {
"servers": {
"peacock-mcp": {
"command": "npx",
// "command": "node",
"args": [
"-y",
"@johnpapa/peacock-mcp"
// "/Users/papa/_git/peacock-mcp/dist/index.js"
// "_git/peacock-mcp/dist/index.js"
],
"env": {}
}
}
}
"chat.mcp.discovery.enabled": true,
VS Code Manual Installation
Note: For quick installation, click the install buttons at the top of this README.
Using VS Code Settings
To manually install the Peacock MCP server in VS Code, follow these steps:
- Open VS Code Settings (JSON) by pressing
Cmd+Shift+P
(macOS) orCtrl+Shift+P
(Windows/Linux) and searching for "Preferences: Open User Settings (JSON)" - Add the following JSON to your settings file:
{
"mcp": {
"servers": {
"peacock-mcp": {
"command": "npx",
"args": ["-y", "@johnpapa/peacock-mcp"],
"env": {}
}
}
},
"chat.mcp.discovery.enabled": true
}
Using CLI Commands
For VS Code Stable:
code --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'
For VS Code Insiders:
code-insiders --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'
Installing via Smithery
To install Peacock MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @johnpapa/peacock-mcp --client claude
Run the MCP Server Locally with MCP Inspector
If you'd like to run MCP Inspector locally to test the server, follow these steps:
-
Clone this repository:
git clone https://github.com/johnpapa/peacock-mcp
-
Install the required dependencies and build the project.
npm install npm run build
-
(Optional) To try out the server using MCP Inspector run the following command:
# Start the MCP Inspector npx @modelcontextprotocol/inspector node build/index.js
Visit the MCP Inspector URL shown in the console in your browser. Change
Arguments
todist/index.js
and selectConnect
. SelectList Tools
to see the available tools.
Using Tools in GitHub Copilot
-
Now that the mcp server is discoverable, open GitHub Copilot and select the
Agent
mode (notChat
orEdits
). -
Select the "refresh" button in the Copilot chat text field to refresh the server list.
-
Select the "🛠️" button to see all the possible tools, including the ones from this repo.
-
Put a question in the chat that would naturally invoke one of the tools, for example:
How do I set my VS Code accent colors?
Note: If you see "Sorry, the response was filtered by the Responsible AI Service. Please rephrase your prompt and try again.", try running it again or rephrasing the prompt.
相关推荐
I find academic articles and books for research and literature reviews.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Confidential guide on numerology and astrology, based of GG33 Public information
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Reviews

user_KOFBpv98
Peacock-MCP by johnpapa is a must-have for any developer working with multiple projects in Visual Studio Code. It's intuitive and beautifully designed, making it easy to manage and distinguish between projects efficiently. I highly recommend checking it out at https://github.com/johnpapa/peacock-mcp for a more organized development experience!