fix: correct Claude Code mcp command syntax with -- separator
Some checks are pending
Tests / test (macos-latest, 3.10) (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (ubuntu-latest, 3.10) (push) Waiting to run
Tests / test (ubuntu-latest, 3.11) (push) Waiting to run
Tests / test (ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (windows-latest, 3.10) (push) Waiting to run
Tests / test (windows-latest, 3.11) (push) Waiting to run
Tests / test (windows-latest, 3.12) (push) Waiting to run
Tests / security (push) Waiting to run
Bump version / Bump version and create changelog with commitizen (push) Waiting to run

Add proper -- separator in claude mcp add commands to separate MCP server name from command arguments
This commit is contained in:
Ryan Malloy 2025-09-06 10:35:52 -06:00
parent d4c1512271
commit 0ddde356e2

View File

@ -156,10 +156,10 @@ If you're using [Claude Code](https://claude.ai/code), you can connect to this M
```bash ```bash
# Connect to the PyPI Query MCP server # Connect to the PyPI Query MCP server
claude mcp add pypi-query uvx --from pypi-query-mcp-server pypi-query-mcp claude mcp add pypi-query -- uvx --from pypi-query-mcp-server pypi-query-mcp
# Or with custom environment variables # Or with custom environment variables
claude mcp add pypi-query uvx --from pypi-query-mcp-server pypi-query-mcp \ claude mcp add pypi-query -- uvx --from pypi-query-mcp-server pypi-query-mcp \
--env PYPI_INDEX_URL=https://pypi.org/pypi \ --env PYPI_INDEX_URL=https://pypi.org/pypi \
--env PYPI_CACHE_TTL=3600 \ --env PYPI_CACHE_TTL=3600 \
--env PYPI_LOG_LEVEL=INFO --env PYPI_LOG_LEVEL=INFO