Make repo-root chat startup native by letting MCP servers carry a default project source for workspace creation. When a chat host starts from a Git checkout, workspace_create can now omit seed_path and inherit the server startup source; explicit --project-path and clean-clone --repo-url/--repo-ref paths are supported as fallbacks. Add project startup resolution and materialization, surface origin_kind/origin_ref in workspace_seed, update chat-host docs and the repro/fix smoke to use project-aware workspace creation, and switch dist-check to uv run pyro so verification stays stable after uv reinstalls. Validated with uv lock, focused startup/server/CLI pytest coverage, UV_CACHE_DIR=.uv-cache make check, UV_CACHE_DIR=.uv-cache make dist-check, and real guest-backed smokes for both explicit project_path and bare repo-root auto-detection.
1.7 KiB
MCP Client Config Example
Default for most chat hosts in 4.x: workspace-core.
Use the host-specific examples first when they apply:
- Claude Code: examples/claude_code_mcp.md
- Codex: examples/codex_mcp.md
- OpenCode: examples/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:
{
"mcpServers": {
"pyro": {
"command": "uvx",
"args": ["--from", "pyro-mcp", "pyro", "mcp", "serve"]
}
}
}
If pyro-mcp is already installed locally, the same server can be configured with:
{
"mcpServers": {
"pyro": {
"command": "pyro",
"args": ["mcp", "serve"]
}
}
}
If the host does not preserve the server working directory and you want the
first workspace_create to start from a specific checkout, add
"--project-path", "/abs/path/to/repo" after "serve" in the same args list.
Profile progression:
workspace-core: the default and recommended first persistent chat profilevm-run: expose onlyvm_runworkspace-full: explicit advanced opt-in for shells, services, snapshots, secrets, network policy, and disk tools
Primary profile for most agents:
workspace-core
Use lifecycle tools only when the agent needs persistent VM state across multiple tool calls.
Other generic-client examples:
- Claude Desktop: examples/claude_desktop_mcp_config.json
- Cursor: examples/cursor_mcp_config.json