Skip to content

A powerful VSCode extension that enables MCP server usage in Copilot, giving it access to MCP tools, resources, and more.

License

Notifications You must be signed in to change notification settings

VikashLoomba/copilot-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copilot MCP Client for VSCode

image

Version License: GPL v3 VSCode Extension MCP Client

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.

✨ 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
  • πŸ”„ Multiple Server Types: Support for both process-based and SSE (Server-Sent Events) servers
  • πŸ›‘οΈ Configuration Migration: Automatic migration of server configurations to the latest format
  • 🧩 Server Configuration Command: Manual migration command for updating older configurations

🎯 MCP Feature Support

Feature Support
Tools βœ… Full support
Resources βœ…* Text resource support
Prompts βœ…* Full support (coming soon)
Sampling ⏳ Planned
Roots ⏳ Planned

πŸ“¦ Installation

  1. Install the extension from the VSCode Marketplace
  2. Configure your MCP servers through the extension settings
  3. Start using GitHub Copilot Chat with your MCP tools!

πŸ› οΈ Configuration

You can configure your MCP servers in the UI or in VSCode settings.

In the UI, look for the "MCP Servers" button in the activity bar.

To configure your MCP servers 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
env object Environment variables for process servers (key-value pairs)

πŸš€ Usage

  1. Open the MCP Servers view from the VSCode activity bar
  2. Add and configure your MCP servers
  3. Enable/disable servers as needed
  4. Use GitHub Copilot Chat with your connected MCP tools using the @mcp participant
  5. View server status and tool availability in real-time

πŸ”— Requirements

  • VSCode
  • GitHub Copilot Chat extension
  • Compatible MCP servers (see Example Servers)

🌟 Benefits

  • Enable Copilot to use custom context and tools through MCP
  • Join the growing ecosystem of interoperable AI applications
  • 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

πŸ“ 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 ⭐️