diff --git a/tools/modelcontextprotocol/README.md b/tools/modelcontextprotocol/README.md index 0ee999b5..d6c5a1cd 100644 --- a/tools/modelcontextprotocol/README.md +++ b/tools/modelcontextprotocol/README.md @@ -71,6 +71,27 @@ of if you're using Docker 3. Start Gemini CLI: `gemini`. 4. Go through the OAUTH flow: `/mcp auth stripe`. +### Usage with GitHub Copilot CLI + +You can add an MCP server interactively with `/mcp add`, or edit `~/.copilot/mcp-config.json` directly. See [here](https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli#add-an-mcp-server). + +``` +{ + "mcpServers": { + "stripe": { + "type": "local", + "command": "npx", + "args": [ + "-y", + "@stripe/mcp", + "--tools=all", + "--api-key=STRIPE_SECRET_KEY" + ] + } + } +} +``` + ## Available tools See the [Stripe MCP documentation](https://docs.stripe.com/mcp#tools) for a list of tools.