Skip to content

The copilot cli MCP config file is documented as the wrong directory #40682

@JonZeolla

Description

@JonZeolla

Code of Conduct

What article on docs.github.com is affected?

The copilot cli docs today say:

Details of your configured MCP servers are stored in the mcp-config.json file, which is located, by default, in the ~/.config directory. This location can be changed by setting the XDG_CONFIG_HOME environment variable.

However when I do this, copilot does not find the MCP server, and when I used /mcp add it put it in ~/.copilot/ instead

What part(s) of the article would you like to see updated?

Define the correct default and override logic for where to put the mcp config file for copilot cli

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions