Entry and prerequisites
Settings → MCPEnable steps
1
Turn on the switch
Enable MCP Service.
2
Confirm the port
Default is often 5555 (follow the UI); avoid port conflicts.
3
Permission sub-switches
As needed: read private notes, local writes, batch writes, replace-style writes, etc.
4
Pair
Copy the pairing command and run it in Terminal (below).
Pairing
- The URI is valid for about 5 minutes and is single-use
- You must confirm the device in the app
- Long-lived credentials live in Keychain / Credential Manager
Security notes
- Write commands default to dry-run; use
--applyto commit - Remote connections require TLS and certificate fingerprint constraints (see the CLI security model)
- Permissions and audit run in the app; the CLI does not read the database directly
Agent install snippets
Settings can copy MCP config snippets for Claude, Codex, etc., registeringstarcat mcp as an MCP server.
Related
- Skill
- Design background (advanced):
docs/3-设计/详细设计/34-StarcatCLI与外部MCP桥接设计.mdin the repo