Skip to content

Add multi-MCP server support to Copilot chat#715

Draft
Mikearaya wants to merge 16 commits into
masterfrom
copilot-multiple-mcp-server-support
Draft

Add multi-MCP server support to Copilot chat#715
Mikearaya wants to merge 16 commits into
masterfrom
copilot-multiple-mcp-server-support

Conversation

@Mikearaya

Copy link
Copy Markdown
Contributor

Copilot can now connect to additional MCP servers beyond the built-in Unchained one. Users can add, remove, and toggle external MCP servers from a new settings panel in the Copilot header — the engine handles all connections server-side, so there are no API keys or CORS issues on the frontend.

On the engine side, both Fastify and Express chat handlers now accept an optional mcpServers array in the request body. Tools from all connected servers are aggregated (prefixed with the server name when multiple are active), and resources are merged into the system prompt. The connection logic was extracted into a shared connectMCPServers helper to keep both handlers clean.

The built-in Unchained MCP server is always connected — extra servers just augment what's available to the AI.

@Mikearaya Mikearaya force-pushed the semantic-design-tokens branch from f02e1e1 to ee78c68 Compare June 26, 2026 15:21
Base automatically changed from semantic-design-tokens to master June 30, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant