peacock-mcp
VS Code の Peacock 拡張機能用の MCP サーバー。コードエディターごとに世界を彩ります。このプロジェクトの主な目的は、MCP サーバーを使用して API を操作する方法を示すことです。
注: この MCP サーバーで使用されるすべてのデータは、公式の Peacock ドキュメントから取得されます。
🔧 機能
Peacock のドキュメントを取得する: Peacock の詳細情報を取得します。
Related MCP server: vscode-mcp-server
🧰 ツール
1. fetch_peacock_docs 🔍🦸♂️
説明: GitHubリポジトリからPeacock for VS Code拡張機能のドキュメントを取得し、ドキュメントに基づいて質問に答えます。
入力:
prompt(クエリ):Peacock に関する質問。
戻り値: あなたの答え!
🛠️ セットアップ
ここから VS Code 用の Peacock をインストールします。
VS Code Insiders で GitHub Copilot にホストされた MCP サーバーを実行する
注: Claude Desktop ですでに MCP サーバーが有効になっている場合は、VS Code 設定に
chat.mcp.discovery.enabled: trueを追加すると、既存の MCP サーバー リストが検出されます。
MCP サーバーを特定のリポジトリに関連付ける場合は、次の内容を含む.vscode/mcp.jsonファイルを作成します。
{
"inputs": [],
"servers": {
"peacock-mcp": {
"command": "npx",
// "command": "node",
"args": [
"-y",
"@johnpapa/peacock-mcp"
// "_git/peacock-mcp/dist/index.js"
],
"env": {}
}
}
}MCP サーバーをすべてのリポジトリに関連付ける場合は、VS Code ユーザー設定 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 の手動インストール
注: すばやくインストールするには、この README の上部にあるインストール ボタンをクリックしてください。
VS Code設定の使用
VS Code に Peacock MCP サーバーを手動でインストールするには、次の手順に従います。
Cmd+Shift+P(macOS) またはCtrl+Shift+P(Windows/Linux) を押して「設定: ユーザー設定 (JSON) を開く」を検索し、VS Code 設定 (JSON) を開きます。設定ファイルに次の JSON を追加します。
{
"mcp": {
"servers": {
"peacock-mcp": {
"command": "npx",
"args": ["-y", "@johnpapa/peacock-mcp"],
"env": {}
}
}
},
"chat.mcp.discovery.enabled": true
}CLIコマンドの使用
VS Code 安定版の場合:
code --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'VS Code Insider 向け:
code-insiders --add-mcp '{"name":"peacock-mcp","command":"npx","args":["-y","@johnpapa/peacock-mcp"],"env":{}}'Smithery経由でインストール
Smithery経由で Claude Desktop 用の Peacock MCP Server を自動的にインストールするには:
npx -y @smithery/cli install @johnpapa/peacock-mcp --client claudeMCP Inspector を使用して MCP サーバーをローカルで実行する
MCP Inspector をローカルで実行してサーバーをテストする場合は、次の手順に従います。
このリポジトリをクローンします:
git clone https://github.com/johnpapa/peacock-mcp必要な依存関係をインストールし、プロジェクトをビルドします。
npm install npm run build(オプション) MCP Inspector を使用してサーバーを試すには、次のコマンドを実行します。
# Start the MCP Inspector npx @modelcontextprotocol/inspector node build/index.jsブラウザのコンソールに表示されているMCP InspectorのURLにアクセスします。Arguments
Arguments``dist/index.jsに変更し、Connectを選択します。List Toolsを選択して、利用可能なツールを確認します。
GitHub Copilotのツールの使用
mcp サーバーが検出可能になったので、GitHub Copilot を開いて、
Agentモード (ChatやEditsはない) を選択します。Copilot チャット テキスト フィールドの「更新」ボタンを選択して、サーバー リストを更新します。
「🛠️」ボタンを選択すると、このリポジトリのツールも含め、使用可能なすべてのツールが表示されます。
チャットに、ツールの 1 つが自然に呼び出されるような質問を投稿します。たとえば、次のようになります。
How do I set my VS Code accent colors?注: 「申し訳ありません。応答は Responsible AI Service によってフィルター処理されました。プロンプトを言い換えて、もう一度お試しください。」と表示された場合は、もう一度実行するか、プロンプトを言い換えてください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityFmaintenanceMCP Server for running code snippet and show the result.1443242MIT
- AlicenseAqualityDmaintenanceMCP server to expose VS Code editing features to an LLM for AI coding9142388MIT
- AlicenseNot gradedqualityDmaintenanceA minimal WebSocket-based MCP server implementation that enables modern tool integrations with VSCode, Claude, and other applications.8ISC
- FlicenseNot gradedqualityCmaintenanceConverts VSCode into an MCP server that enables external clients to remotely execute VSCode internal commands, query workspace information, and interact with the editor through HTTP streaming. Built on the FastMCP framework with security controls and real-time monitoring.63
Related MCP Connectors
A basic MCP server to operate on the Postman API.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Official remote MCP server for Color Me Shop.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnpapa/peacock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server