Skip to content

chore: migrate MCP config from .vscode/mcp.json to .mcp.json#822

Open
jamesadevine wants to merge 1 commit into
mainfrom
migrate-mcp-json
Open

chore: migrate MCP config from .vscode/mcp.json to .mcp.json#822
jamesadevine wants to merge 1 commit into
mainfrom
migrate-mcp-json

Conversation

@jamesadevine
Copy link
Copy Markdown
Collaborator

Per https://gh.io/copilotcli-mcpmigrate, Copilot CLI loads workspace MCP servers from .mcp.json at the repo root (not .vscode/mcp.json).

Changes

  • Rename .vscode/mcp.json.mcp.json
  • Switch the top-level key from servers to mcpServers (the format Copilot CLI expects)

Verification

Before:

> copilot mcp list --json
{ "mcpServers": {} }

After:

> copilot mcp list
Workspace servers:
  github-agentic-workflows (local)

> copilot mcp get github-agentic-workflows
github-agentic-workflows
  Type: local
  Command: gh aw mcp-server
  Tools: * (all)
  Source: Workspace (.mcp.json)

Per https://gh.io/copilotcli-mcpmigrate, Copilot CLI loads workspace MCP servers from .mcp.json at the repo root (not .vscode/mcp.json). Rename the file and switch the top-level key from `servers` to `mcpServers` so the github-agentic-workflows server is discovered by `copilot mcp list`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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