copilot-mcp
by: VikashLoomba
A powerful VSCode extension that enables MCP server usage in Copilot, giving it access to MCP tools, resources, and more.
πOverview
Purpose: To provide a powerful VSCode extension that acts as a Model Context Protocol (MCP) client, facilitating integration between MCP tool servers and GitHub Copilot Chat.
Overview: The Copilot MCP Client enables developers to leverage custom tools and context with GitHub Copilot, enhancing their coding experience through seamless connections to MCP servers. This extension supports a variety of server configurations and promotes the development of interoperable AI applications.
Key Features:
-
MCP Server Management: Effortlessly connect and manage multiple MCP servers with a user-friendly interface.
-
Copilot Integration: Allows direct access to MCP tools within GitHub Copilot Chat, enhancing productivity.
-
Tool Discovery: Automatically identifies and displays available tools from connected MCP servers, streamlining usage.
-
Server Health Monitoring: Provides real-time status updates on MCP servers, ensuring reliable performance.
-
Automatic Connection Management: Facilitates the smooth handling of server connections and reconnections, minimizing disruptions.
-
Tool Invocation Support: Fully supports invocation of MCP tools via Copilot Chat, maximizing utility.
-
Multiple Server Types: Accommodates both process-based and SSE servers for versatile application.
-
Configuration Migration: Streamlines the upgrade of server configurations to the latest formats automatically.
-
Server Configuration Command: Offers manual commands for updating legacy configurations.
Copilot MCP Client for VSCode
A powerful VSCode extension that acts as a Model Context Protocol (MCP) client, enabling seamless integration between MCP tool servers and GitHub Copilot Chat. Join the growing ecosystem of interoperable AI applications with flexible integration options.
π Table of Contents
- Features
- MCP Feature Support
- Installation
- Configuration
- Usage
- FAQ
- Requirements
- Benefits
- Contributing
- Author
- License
β¨ Features
- π§ MCP Server Management: Connect and manage multiple MCP servers through an intuitive UI.
- π Copilot Integration: Expose MCP tools directly to GitHub Copilot Chat participants.
- π― Tool Discovery: Automatically discover and surface available tools from connected MCP servers.
- β‘ Server Health Monitoring: Real-time monitoring of MCP server status and connections.
- π Automatic Connection Management: Seamless handling of MCP server connections and reconnections.
- π οΈ Tool Invocation Support: Full support for MCP tool invocation through Copilot Chat.
π― MCP Feature Support
Feature | Support |
---|---|
Tools | β Full support |
Resources | β Text resource support |
Prompts | β Full support (coming soon) |
Sampling | β³ Planned |
Roots | β³ Planned |
π¦ Installation
- Install the extension from the VSCode Marketplace.
- Configure your MCP servers through the extension settings.
- Start using GitHub Copilot Chat with your MCP tools!
π οΈ Configuration
You can configure your MCP servers in the UI or in VSCode settings:
{
"mcpManager.servers": [
{
"name": "Process-MCP-Server",
"type": "process",
"command": "start-server-command",
"enabled": true
},
{
"name": "SSE-MCP-Server",
"type": "sse",
"url": "https://your-sse-server.com/events",
"authToken": "your-optional-auth-token",
"enabled": true
}
]
}
Server Configuration Properties
Property | Type | Description |
---|---|---|
name | string | Display name for the server |
type | string | Server type: "process" or "sse" |
command | string | Command to start the server (for process servers) |
url | string | URL for SSE connection (for SSE servers) |
authToken | string | Authentication token (optional, for SSE servers) |
enabled | boolean | Whether the server is enabled |
π Usage
- Open the MCP Servers view from the VSCode activity bar.
- Add and configure your MCP servers.
- Enable/disable servers as needed.
- Use GitHub Copilot Chat with your connected MCP tools using the
@mcp
participant.
β FAQ
Why aren't my servers appearing in the server list?
This is typically caused by connection timeouts between the MCP SDK and your servers. To fix it, use absolute paths for your executables instead of relative paths.
Why doesn't tool calling work with Claude 3.7?
Tool calling limitations are imposed by the VSCode API and Copilot Chat. If you still face issues, try switching to Claude 3.5 or GPT-4o.
π Requirements
- VSCode
- GitHub Copilot Chat extension
- Compatible MCP servers
π Benefits
- Enable Copilot to use custom context and tools through MCP.
- Support local-first AI workflows.
- Flexible integration options for your development workflow.
π₯ Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
βοΈ Author
Vikash Loomba
- Website: automatalabs.io
- Github: @vikashloomba
π License
Copyright Β© 2024 Vikash Loomba.
This project is licensed under the GNU General Public License v3.0.
Part of the MCP Client Ecosystem - Enabling interoperable AI tools for developers βοΈ