Add host-specific MCP onramps for major chat clients
Ship first-class MCP setup examples for Claude Code, Codex, and OpenCode so new users can copy one exact command or config instead of translating the generic MCP template by hand. Reposition the docs to surface those host-specific examples before the generic config fallback, keep workspace-core as the recommended profile everywhere user-facing, and retain Claude Desktop/Cursor as secondary fallback examples. Bump the package and catalog to 3.11.0, mark the roadmap milestone done, and add docs-alignment coverage that pins the new examples to the canonical workspace-core server command and the expected OpenCode config shape. Validation: - uv lock - ./.venv/bin/pytest --no-cov tests/test_cli.py - UV_CACHE_DIR=.uv-cache make check - UV_CACHE_DIR=.uv-cache make dist-check
This commit is contained in:
parent
79a7d71d3b
commit
68d8e875e0
15 changed files with 211 additions and 28 deletions
20
examples/claude_code_mcp.md
Normal file
20
examples/claude_code_mcp.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Claude Code MCP Setup
|
||||
|
||||
Recommended profile: `workspace-core`.
|
||||
|
||||
Package without install:
|
||||
|
||||
```bash
|
||||
claude mcp add pyro -- uvx --from pyro-mcp pyro mcp serve --profile workspace-core
|
||||
claude mcp list
|
||||
```
|
||||
|
||||
Already installed:
|
||||
|
||||
```bash
|
||||
claude mcp add pyro -- pyro mcp serve --profile workspace-core
|
||||
claude mcp list
|
||||
```
|
||||
|
||||
Move to `workspace-full` only when the chat truly needs shells, services,
|
||||
snapshots, secrets, network policy, or disk tools.
|
||||
20
examples/codex_mcp.md
Normal file
20
examples/codex_mcp.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Codex MCP Setup
|
||||
|
||||
Recommended profile: `workspace-core`.
|
||||
|
||||
Package without install:
|
||||
|
||||
```bash
|
||||
codex mcp add pyro -- uvx --from pyro-mcp pyro mcp serve --profile workspace-core
|
||||
codex mcp list
|
||||
```
|
||||
|
||||
Already installed:
|
||||
|
||||
```bash
|
||||
codex mcp add pyro -- pyro mcp serve --profile workspace-core
|
||||
codex mcp list
|
||||
```
|
||||
|
||||
Move to `workspace-full` only when the chat truly needs shells, services,
|
||||
snapshots, secrets, network policy, or disk tools.
|
||||
|
|
@ -2,6 +2,15 @@
|
|||
|
||||
Recommended default for most chat hosts: `workspace-core`.
|
||||
|
||||
Use the host-specific examples first when they apply:
|
||||
|
||||
- Claude Code: [examples/claude_code_mcp.md](claude_code_mcp.md)
|
||||
- Codex: [examples/codex_mcp.md](codex_mcp.md)
|
||||
- OpenCode: [examples/opencode_mcp_config.json](opencode_mcp_config.json)
|
||||
|
||||
Use this generic config only when the host expects a plain `mcpServers` JSON
|
||||
shape.
|
||||
|
||||
`pyro-mcp` is intended to be exposed to LLM clients through the public `pyro` CLI.
|
||||
|
||||
Generic stdio MCP configuration using `uvx`:
|
||||
|
|
@ -42,7 +51,7 @@ Primary profile for most agents:
|
|||
|
||||
Use lifecycle tools only when the agent needs persistent VM state across multiple tool calls.
|
||||
|
||||
Concrete client-specific examples:
|
||||
Other generic-client examples:
|
||||
|
||||
- Claude Desktop: [examples/claude_desktop_mcp_config.json](claude_desktop_mcp_config.json)
|
||||
- Cursor: [examples/cursor_mcp_config.json](cursor_mcp_config.json)
|
||||
|
|
|
|||
9
examples/opencode_mcp_config.json
Normal file
9
examples/opencode_mcp_config.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"mcp": {
|
||||
"pyro": {
|
||||
"type": "local",
|
||||
"enabled": true,
|
||||
"command": ["uvx", "--from", "pyro-mcp", "pyro", "mcp", "serve", "--profile", "workspace-core"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue