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
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:
parent
d4c1512271
commit
0ddde356e2
@ -156,10 +156,10 @@ If you're using [Claude Code](https://claude.ai/code), you can connect to this M
|
||||
|
||||
```bash
|
||||
# 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
|
||||
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_CACHE_TTL=3600 \
|
||||
--env PYPI_LOG_LEVEL=INFO
|
||||
|
Loading…
x
Reference in New Issue
Block a user