Model Context Protocol (MCP) is an open protocol for connecting AI assistants to external tools and context providers. ContinuityOS ships an MCP stdio server. The authoritative tool inventory is the server's live tools/list response; do not pin documentation to a fixed tool count.
Use the product connector first:
cos connect --status
cos connect claude --dry-run
cos connect claude --yes
# Cursor uses the same managed flow:
cos connect cursor --dry-run
cos connect cursor --yesThe managed flow:
- resolves the exact ContinuityOS memory DB;
- previews the client config before writing;
- preserves unrelated config keys;
- records rollback state and backs up an existing config;
- detects config drift between preview and write;
- verifies MCP
initializeafter the write; - automatically rolls back if verification fails.
Use cos connect <client> --rollback to revert the last managed Claude/Cursor change when the config has not drifted since the write.
Hermes is guidance-only in v0.10; ContinuityOS does not silently edit its config format.
cos connect hermesThe command prints the exact hermes mcp add ... command for the resolved ContinuityOS server and DB.
Manual fallback:
hermes mcp add continuityos \
--command "python" \
--args "/path/to/mcp_bridge.py"Or add to config.yaml:
mcp_servers:
continuityos:
command: python
args:
- /path/to/mcp_bridge.py
enabled: trueAfter adding, restart Hermes or run /reset.
Recommended:
cos connect claude --dry-run
cos connect claude --yesManual fallback uses the mcpServers object in claude_desktop_config.json:
{
"mcpServers": {
"continuityos": {
"command": "python",
"args": ["/path/to/mcp_bridge.py"]
}
}
}Recommended:
cos connect cursor --dry-run
cos connect cursor --yesManual fallback for .cursor/mcp.json also uses mcpServers:
{
"mcpServers": {
"continuityos": {
"command": "python",
"args": ["/path/to/mcp_bridge.py"]
}
}
}cos connect generic-mcpContinuityOS prints a version-correct mcpServers snippet instead of guessing a client-specific config path.
Ask the running server:
initialize
-> tools/list
The tools/list response is the source of truth for the installed version. Core capabilities include durable memory/recall plus continuity operations such as checkpoint, handoff, doctor, frontier management and governance-related checks; exact names may evolve between releases.
mcp_bridge.py auto-detects the environment and launches the MCP server:
python mcp_bridge.pyThe bridge passes --db to point at the selected memory database.
Managed cos connect performs MCP initialization verification automatically after a config write.
For a manual setup, you can probe the bridge directly:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | \
python mcp_bridge.pyA successful response contains a JSON-RPC result object for request id 1.