From 17f611b44f5789f6065dbf0b4c0a5394205a9071 Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Tue, 27 Jan 2026 14:35:44 -0800 Subject: [PATCH] docs: add GitHub Copilot CLI installation instructions --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 8043b82..387fd0a 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,34 @@ The rest of this repo (including codebase) explains the now-deprecated MCP Serve See [More examples for advanced setup](./clients/README.md) for more details on how to set up the MCP server. +### Usage with GitHub Copilot CLI + +Use the Copilot CLI to interactively add the MCP server: + +```bash +/mcp add +``` + +Alternatively, create or edit the configuration file `~/.copilot/mcp-config.json` and add: + +```json +{ + "mcpServers": { + "mcp_foundry_server": { + "command": "uvx", + "args": [ + "--prerelease=allow", + "--from", + "git+https://github.com/azure-ai-foundry/mcp-foundry.git", + "run-azure-ai-foundry-mcp" + ] + } + } +} +``` + +For more information, see the [Copilot CLI documentation](https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli). + ## Setting the Environment Variables To securely pass information to the MCP server, such as API keys, endpoints, and other sensitive data, you can use environment variables. This is especially important for tools that require authentication or access to external services.