What this is
The local Custory CLI can install Custory MCP configuration for:- Codex
- Claude
- Cursor
Why it matters
Coding agents often already know the product through the repository, docs, tests, or issue history. The safe pattern is:- Let the agent prepare a bounded, non-secret product brief from context it already has.
- Pass only that brief to Custory with
--briefor--stdin. - Let Custory create or update journey context inside the workspace you choose.
Install MCP for Codex
custory MCP server block and keeps a backup when it updates an existing config file.
Redacted generated block:
Install MCP for Claude
mcpServers entries are preserved. The CLI updates the custory entry.
Redacted generated entry:
Install MCP for Cursor
mcpServers entries are preserved. The CLI updates the custory entry.
Redacted generated entry:
Let the CLI detect the client
If only one supported client is clearly present, you can omit--client:
Workspace scoping
MCP installation is bound to one accessible workspace. If your account has access to one workspace, the CLI can use it automatically. If your account has multiple workspaces, pass--workspace with the workspace name, slug, or ID.
Use the slug or ID when workspace names are ambiguous.
Config safety
When the CLI updates MCP configuration:- existing non-Custory config is preserved
- the
custoryserver block or entry is replaced - existing config files receive a
.custory-backup-<timestamp>backup - writes are atomic
- config files are written with
0600permissions where supported
custory mcp uninstall revoke the tracked MCP credential when possible.
Verify the connection
Run:Uninstall
Run:Safe prompt pattern for coding agents
Use a prompt like this:Troubleshooting
If client configuration cannot be found, pass--client explicitly.
If verification fails, run: