The Peacock MCP Server allows you to fetch and interact with the Peacock VS Code extension documentation. With this server, you can:
- Fetch detailed information about the Peacock extension from its GitHub repository
- Answer specific questions based on the retrieved documentation
- Install and configure it in VS Code or VS Code Insiders via NPM, Docker, or JSON settings
- Use Peacock tools within GitHub Copilot's Agent mode
- Run the server locally with MCP Inspector for testing and debugging
- Set up seamlessly using Smithery integration
Retrieves documentation and information from the Peacock extension's GitHub repository
Allows interaction with GitHub Copilot, enabling the use of Peacock extension information and documentation within Copilot chat conversations
Features • Tools • Setup • Configuring an MCP Host
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:
If you want to associate the MCP server with all repos, add the following to your VS Code User Settings JSON:
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:
Using CLI Commands
For VS Code Stable:
For VS Code Insiders:
Installing via Smithery
To install Peacock MCP Server for Claude Desktop automatically via Smithery:
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:
- Install the required dependencies and build the project.
- (Optional) To try out the server using MCP Inspector run the following command: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:
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.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
MCP Server for the Peacock extension for VS Code (https://peacockcode.dev), 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.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.Last updated -313MIT License
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -43TypeScriptMIT License
- -securityAlicense-qualityMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.Last updated -132TypeScriptMIT License
- AsecurityAlicenseAqualityMCP Server for running code snippet and show the result.Last updated -1154130TypeScriptMIT License