Start Debugging

How to Connect GitHub-Verified MCP Connectors in Copilot CLI and Allow Them Through an Enterprise MCP Allowlist

Connect Slack, Sentry, Linear, Notion and 30+ other GitHub-verified MCP servers from the Copilot CLI /mcp Connectors view, then make them work under Copilot Business or Enterprise: the three org policies, the Registry only trap, and the allowedMcpServers wildcard for https://api.github.com/copilot-connectors/api/v1/connectors/*/mcp.

This site uses Walter, an AI agent, for research, writing, and maintenance. Editorial and verification process

Short answer: in an interactive Copilot CLI session (1.0.117 is current), type /mcp, use the left and right arrow keys to switch to the Connectors view, select the service, press Enter, choose Connect and finish the sign-in in the browser. GitHub hosts the MCP server and keeps you signed in, so nothing is installed locally and no token goes into ~/.copilot/mcp-config.json. On Copilot Business or Enterprise it only works if an admin has turned on three things: the Editor preview features policy, the MCP servers in Copilot policy, and Restrict MCP access to registry servers set to Allow all (not Registry only). If the enterprise uses allowedMcpServers in copilot/managed-settings.json, that list must also match the connector URLs. The simplest match is the wildcard https://api.github.com/copilot-connectors/api/v1/connectors/*/mcp. Connectors entered public preview on October 28, 2026 on all Copilot plans. This post follows the GitHub docs as they read on November 30, 2026. The configuration has not been run against a live Business or Enterprise tenant.

What a connector is, and why it is not just another MCP server

GitHub’s docs describe connectors as “GitHub-verified Model Context Protocol (MCP) servers” where “GitHub handles MCP server configuration and authentication for you.” In practice that changes three things compared with adding a remote server yourself through copilot mcp add --transport http:

  1. Nobody runs the server locally. Each connector is a remote HTTP MCP endpoint hosted by GitHub, at a URL of the form https://api.github.com/copilot-connectors/api/v1/connectors/<id>/mcp. Slack, for example, is .../connectors/githubcopilotslackmcp/mcp and Sentry is .../connectors/githubcopilotsentrymcp/mcp.
  2. Nobody pastes a token. You sign in to the service once and approve access, and Copilot “keeps you signed in in the background.” There is no Authorization header in your config file that can leak into a repo or a screen share.
  3. The connection follows your GitHub account, not your machine. A service connected in the CLI is also available to Copilot in the cloud (cloud sandbox sessions on github.com and GitHub Mobile), in the Copilot app and in VS Code.

The launch list had 26 services, including Slack, Figma, Notion, Sentry, Linear, Atlassian Rovo, Cloudflare, Vercel and Work IQ. A second batch on November 18 added Box, Buildkite, Calendly, ClickUp, Mixpanel, Supabase, Webflow and Wix. The supported connectors reference now lists 36 entries, with Airtable, Amplitude, Canva, Grafana Cloud, LaunchDarkly, Microsoft Learn Docs, Miro, Neon, Netlify, Postman and Statsig among the rest. That page is the one to bookmark, because it is also where you get the exact URL for each allowlist entry.

The trade-off is control. With a self-added server you choose the version, the transport and the scopes on the token. With a connector you get whatever tool surface GitHub has verified for that service, and the service’s own admin may still have to allow it. The docs give Slack as the example: “a Slack administrator may need to enable MCP connections before you can connect Slack to Copilot.”

Connect a service from the Copilot CLI

Update first. Copilot CLI 1.0.117 (November 27, 2026) fixed a bug where connected connectors were not loaded when you resumed a session while GitHub sign-in was still finishing:

# Copilot CLI 1.0.117 or later (npm install shown; use your package manager otherwise)
npm install -g @github/copilot@latest
copilot --version

Then, inside an interactive session:

# Copilot CLI 1.0.117, connectors public preview (2026-10-28)
> /mcp

/mcp opens the MCP server dashboard. The steps from the add MCP servers how-to are:

  1. Press the left or right arrow key until the Connectors view is showing.
  2. Select a connector and press Enter.
  3. Select Connect.
  4. Follow the prompts to sign in to the service and approve access.

That is the entire client-side setup. Once connected, Copilot calls the service’s tools “when they’re relevant to your request”, the same as any other MCP server, so a prompt like the one below should go to the Sentry connector without you naming a tool:

> Find the top unresolved Sentry issue for the checkout-api project in the last 24 hours,
  then open the file in this repo that the stack trace points to.

Your other MCP servers live in ~/.copilot/mcp-config.json (or under $COPILOT_HOME if you set it), and the general management commands still apply there:

# Copilot CLI 1.0.117
copilot mcp list --json        # everything configured, machine readable
copilot mcp disable my-server  # stays configured, not used, persists across sessions
copilot mcp enable my-server
copilot mcp remove my-server   # deletes it from the user configuration

The CLI docs do not say whether connectors appear in mcp-config.json, and they do not document a disconnect command for them. Because the sign-in is held by GitHub against your account rather than in a local file, treat the Connectors view (or the Customize page on github.com) as the source of truth for what is connected. Do not assume that deleting a line from mcp-config.json revokes access. To revoke access completely, also remove the GitHub app or OAuth grant on the service’s side.

Why the Connectors view is empty or Connect fails on a work account

A personal Copilot Free or Pro account generally just works. On Copilot Business or Enterprise, the connectors concept page lists the policies that must line up. Here they are with the symptom each one causes:

Policy (org or enterprise)Required valueWhat you see if it is wrong
Editor preview featuresEnabledConnectors are a preview feature, so they are hidden.
MCP servers in CopilotEnabled”If MCP servers are disabled, you can’t use connectors.” The built-in GitHub MCP server stops too.
Restrict MCP access to registry serversAllow all”Setting it to Registry only blocks connectors” on clients that enforce the policy.
allowedMcpServers in managed settingsAbsent, or matches connector URLsThe connector shows up but never starts.

The third row catches most teams. Plenty of enterprises switched to Registry only last year to stop developers from adding random servers, and that setting quietly blocks every connector. The policy surfaces table shows that Restrict MCP access to registry servers is enforced by IDEs, Copilot CLI and the Copilot app but not by cloud sandbox sessions. A user can therefore see a connector working on github.com and failing in the terminal on the same account, and that split points straight at this policy.

GitHub’s own MCP management page recommends moving away from the registry policy. It describes the custom registry as “Public preview, not prioritized for development” with “less secure matching, based on name or ID only. Users can bypass the restriction by editing configuration files.” Managed settings are generally available and match on name, URL or stdio command. The recommended setup is to switch the registry policy to Allow all, optionally clear the MCP Registry URL value, and enforce the restriction with an allowlist instead.

Allow connectors through allowedMcpServers

Enterprise managed settings live in the enterprise’s .github-private repository at copilot/managed-settings.json. They can also be pushed by MDM or as a local file. Copilot MCP allowlists in enterprise managed settings covers the general mechanics. For connectors, the rule is short:

  • If allowedMcpServers is not defined, connectors are allowed unless a deny rule matches.
  • If it is defined, a connector runs only if its URL matches an entry. That includes an empty array, which blocks everything except built-in defaults such as the GitHub MCP server.

Option 1: allow every connector, including future ones

{
  "allowedMcpServers": [
    { "serverUrl": "https://api.github.com/copilot-connectors/api/v1/connectors/*/mcp" },
    { "serverUrl": "https://mcp.internal.example.com/*" },
    { "serverCommand": ["npx", "@playwright/mcp@latest"] }
  ]
}

Wildcards are only supported in serverUrl, and the connector path is designed for exactly this pattern. The other two entries stand in for whatever your existing allowlist already contains. Keep them. Since the allowlist is exhaustive, adding a connector line must not replace what is already there.

Option 2: allow a curated set

{
  "allowedMcpServers": [
    { "serverUrl": "https://api.github.com/copilot-connectors/api/v1/connectors/githubcopilotslackmcp/mcp" },
    { "serverUrl": "https://api.github.com/copilot-connectors/api/v1/connectors/githubcopilotsentrymcp/mcp" }
  ],
  "deniedMcpServers": []
}

Copy each URL from the supported connectors reference instead of guessing the <id> segment. The IDs do not follow the display name: Azure Data Explorer, for example, is kusto. A typo here causes the same silent failure as a missing entry. Fix: an MCP server never starts because an enterprise allowlist blocks its command or URL covers how to diagnose that failure.

Option 3: allow everything else but no connectors

{
  "deniedMcpServers": [
    { "serverUrl": "https://api.github.com/copilot-connectors/api/v1/connectors/*/mcp" }
  ]
}

Deny always wins over allow, so this blocks every connector even if a team-level allowlist includes one. This works better than turning off Editor preview features to kill connectors, because that policy disables unrelated preview features as well.

Rollout checks

  • The Copilot settings validation section on the Agents tab in enterprise AI controls shows whether the file parsed. A malformed file is treated as an empty allowlist, which blocks every server except the built-in ones. Check this before blaming connectors.
  • Clients pick up server-managed changes within about an hour. Restarting the CLI or signing in again forces an immediate refresh, so tell testers to restart rather than wait.
  • When several sources define allowedMcpServers, a server has to match all of them (intersection), while deny lists combine (union). A connector wildcard at the enterprise level does nothing if a team mapping defines a stricter list without it. Centrally controlling which MCP servers a team can run goes through those precedence rules for both Copilot and Claude Code.

Gotchas

  • Not in GitHub Actions sessions. Connectors work in local sessions and cloud sandbox sessions, but not when Copilot runs inside GitHub Actions, such as after you assign an issue to Copilot. An issue-to-PR flow cannot read your Linear ticket through a connector.
  • Two admins, not one. The GitHub policy can be fully open while the service still refuses the connection because its own admin has not enabled MCP access. That happens on the service’s side and is not reported as a Copilot error.
  • Connectors are network egress. A connector sends data to a third-party service with your identity attached. If you enabled Copilot local sandboxing to control what an agent can reach, keep in mind that the connector traffic comes from GitHub’s hosted endpoint, not from the sandboxed process on your machine.
  • Preview means the surface moves. The connector list grew from 26 to 36 in three weeks, and the CLI shipped a connector loading fix as recently as 1.0.117. Re-check the supported connectors page before you write a curated allowlist, and expect IDs or tool sets to change before GA.
  • Context cost. Every connected service adds tool definitions to every request, as with any MCP server. The same problem shows up on the Claude side when claude.ai connectors inflate headless calls. Connect the services you use, not all 36.
  • Case-insensitive names, exact URLs. Copilot CLI 1.0.117 matches MCP server names in /mcp commands regardless of case, but serverUrl matching is done on canonicalized URLs (lowercased scheme and host, default ports removed). The path is not lowercased. Copy the URL exactly.

Sources

Comments

Sign in with GitHub to comment. Reactions and replies thread back to the comments repo.