mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-13 15:09:03 +00:00
M14.1: ship .mcp.json (headless + bridge servers)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b307a562ed
commit
7f43d537ed
2 files changed
+17
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"effectcraft": {
|
||||
"command": "cargo",
|
||||
"args": ["run", "--quiet", "--release", "-p", "effectcraft-cli", "--", "mcp", "--demo"]
|
||||
},
|
||||
"effectcraft-app": {
|
||||
"command": "cargo",
|
||||
"args": ["run", "--quiet", "--release", "-p", "effectcraft-cli", "--", "mcp", "--bridge", "9877"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,11 @@ Code, add a `.mcp.json` at the project root:
|
||||
}
|
||||
```
|
||||
|
||||
This repository ships a ready-made [`.mcp.json`](../.mcp.json): `effectcraft` (headless, demo
|
||||
project loaded) and `effectcraft-app` (bridged to a desktop app started with `--control 9877`). Both
|
||||
run through `cargo run --release`, so the first start compiles; run
|
||||
`cargo build --release -p effectcraft-cli` once beforehand to avoid an MCP startup timeout.
|
||||
|
||||
You can also register it from the command line:
|
||||
`claude mcp add effectcraft -- /path/to/target/release/effectcraft-cli mcp`. Other clients (Claude
|
||||
Desktop, Cursor and the like) take the same `command` and `args`.
|
||||
|
||||
Reference in new issue
Block a user