From 94999a151beb9a5a2d56fa7c27cfa9b1eba96230 Mon Sep 17 00:00:00 2001 From: Keerthi Sreenivas Konjety Date: Sun, 24 Aug 2025 15:16:54 -0700 Subject: [PATCH] Add Amazon Q CLI setup instructions for fetch MCP server --- src/fetch/README.md | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/src/fetch/README.md b/src/fetch/README.md index 5324e50731..ef8b1d3a16 100644 --- a/src/fetch/README.md +++ b/src/fetch/README.md @@ -96,6 +96,66 @@ Add to your Claude settings: ``` +### Configure for Amazon Q CLI + +Configure your mcp servers at ~/.aws/amazonq/cli-agents/default.json +See full configuration settings here : https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-config-CLI.html +Make sure you have uvx installed + +
+Using uvx + +```json +{ + "mcpServers": { + "fetch": { + "command": "uvx", + "args": ["mcp-server-fetch"] + } + } +} +``` +
+ +
+Using docker + +```json +{ + "mcpServers": { + "fetch": { + "command": "docker", + "args": ["run", "-i", "--rm", "mcp/fetch"] + } + } +} +``` +
+ +
+Using pip installation + +```json +{ + "mcpServers": { + "fetch": { + "command": "python", + "args": ["-m", "mcp_server_fetch"] + } + } +} +``` +
+ +
+Troubleshooting fetch MCP setup with Q CLI + +If you run into os error 2, it could be because uvx is not setup or Q CLI is not able to find the correct uvx package path in your system. + +Make sure you have correctly setup uvx and its available globally in your system. See https://github.com/modelcontextprotocol/servers/issues/1065 for debug options +
+ + ### Configure for VS Code For quick installation, use one of the one-click install buttons below...