MCP HubMCP Hub
VikashLoomba

copilot-mcp

by: VikashLoomba

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

191created 17/02/2025
Visit
VSCode
Copilot

πŸ“Œ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 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

FeatureSupport
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:

{
  "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

PropertyTypeDescription
namestringDisplay name for the server
typestringServer type: "process" or "sse"
commandstringCommand to start the server (for process servers)
urlstringURL for SSE connection (for SSE servers)
authTokenstringAuthentication token (optional, for SSE servers)
enabledbooleanWhether the server is enabled

πŸš€ 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.

❓ 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

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