Skip to content

Conversation

JonZeolla
Copy link
Contributor

Why:

Closes: #40682

What's being changed (if available, include any code snippets, screenshots, or gifs):

This changes the directory for copilot cli to be the same directory that /mcp add uses

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@Copilot Copilot AI review requested due to automatic review settings October 3, 2025 17:43
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation to correct the default directory location for MCP (Model Context Protocol) server configuration files in Copilot CLI from ~/.config to ~/.copilot, aligning it with the actual directory used by the /mcp add command.

  • Updates the directory path in the MCP server configuration documentation
  • Removes reference to the XDG_CONFIG_HOME environment variable override

@JonZeolla JonZeolla changed the title Update use-copilot-cli.md fix(docs): the copilot cli mcp configuration location Oct 3, 2025
@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Oct 3, 2025
Copy link
Contributor

github-actions bot commented Oct 3, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/how-tos/use-copilot-agents/use-copilot-cli.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@Sharra-writes
Copy link
Contributor

@JonZeolla Someone actually already opened a PR for this, and I just finished merging it. 😅 I'm going to close this and your issue for that reason, but the good news is that it's fixed and should show up in the docs within 24 hours!

@JonZeolla
Copy link
Contributor Author

JonZeolla commented Oct 4, 2025

Hi @Sharra-writes

Are you certain that #40561 is accurate? It left behind the env var which doesn't seem to be honored. I removed that here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Do not begin working on this issue until triaged by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The copilot cli MCP config file is documented as the wrong directory
2 participants