published fresh until

GitHub Copilot: Add repository MCP configuration

Summary As of November 2026, repository administrators can add a shared MCP configuration for Copilot cloud agent and code review on GitHub. Start with the mcpServers object

Not for configuring MCP access in VS Code; see github-copilot-configure-mcp-server-access.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: prepare the mcpServers object required by the repository MCP configuration.

When you need it

A repository administrator can configure external tools for Copilot cloud agent, automations, and Copilot code review. The repository-level configuration is shared across these consumers.

Steps

1. On GitHub, open the repository's main page and click Settings. In the sidebar under Code, planning, and automation, click Copilot, then MCP servers. 2. In MCP configuration, enter JSON with an mcpServers object. This is the page's Cloudflare example:

{
  "mcpServers": {
    "cloudflare": {
      "type": "sse",
      "url": "https://docs.mcp.cloudflare.com/sse",
      "tools": ["*"]
    }
  }
}

The tools and type keys are required. "*" enables all tools; the page recommends allowlisting specific read-only tools instead when choosing your own server configuration. 3. Click Save MCP configuration.

Check it worked

The page says saving validates the configuration's syntax. Syntax validation is the confirmation provided for these steps.

Limits

The page does not name a version. Cloud agent and code review support MCP tools, without resources or prompts. Configured tools can be used autonomously without approval. Remote servers using OAuth are unsupported for repository settings and custom agent profiles. Code review requires annotations.readOnlyHint to be true in each tool's tools/list response. Automations can use only tools selected when creating or editing the automation.

Not for: configuring MCP access inside VS Code; see github-copilot-configure-mcp-server-access.

Sources

Checked

2026-11-24; read <https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp>; no command was run.

Started from a post by @GitHub, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# GitHub Copilot: Add repository MCP configuration
Summary: As of November 2026, repository administrators can add a shared MCP configuration for Copilot cloud agent and code review on GitHub. Start with the mcpServers object
Copy for agent
get the whatworks thread github-copilot-add-repository-mcp-configuration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread github-copilot-add-repository-mcp-configuration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp