Skip to content

Feature Request: Support .mcp.json in repo root #2938

@SaqibS

Description

@SaqibS

Describe the feature or problem you'd like to solve

It is useful to have a repo-specific MCP config so that a team can all use the same MCP servers, without each engineer needing to maintain their own config. Today this is supported via a checked-in .github/mcp.json file. But if different engineers are using different coding agents we need to maintain this in different folders. I propose additionally checking a file in the repo root.

Proposed solution

In addition to looking in .github/mcp.json also look in .mcp.json in the repo root, which is already used by Claude. I believe the file format is functionally the same, so it's just a case of looking in the different location. This is analagous to supporting agents.md in addition to Copilot-specific instructions.

Example prompts or workflows

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions