Expand description
scone setup <client>: plug and play (gap-analysis P1). Zero
questions: detect the binary, write the config, say what happened.
Structs§
- Client
- A client scone can register itself with by editing a config file.
Enums§
- Shape
- How a client spells “here is a stdio MCP server”. The clients agree on the idea and disagree on every detail, so the shape is data.
Constants§
- CLIENTS
- Every client whose config layout we have verified. Adding one is a row here, not a new code path.
Functions§
- client_
by_ name - desktop_
config_ path - merged_
desktop_ config - Merge scone’s MCP server entry into a Claude Desktop config, preserving everything already there. Pure function, unit-tested.
- merged_
json_ config - Merge scone into any JSON-shaped client config, preserving everything already there (other servers, unrelated settings, user edits). Pure function, unit-tested against every shape.
- merged_
settings_ hooks - Merge scone’s hook wiring into a Claude Code settings.json, preserving everything else. Pure function, unit-tested.
- merged_
toml_ config - Merge scone into Codex CLI’s TOML config, preserving the rest of the file’s tables. Pure function, unit-tested.
- setup_
claude_ code - setup_
claude_ code_ hooks - Wire this project’s
.claude/settings.jsonto the scone hook handlers. - setup_
claude_ desktop - setup_
client - Register scone with any known client: read what is there, merge, write back. Never clobbers a config it cannot parse.