Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

M14.1: ship .mcp.json (headless + bridge servers)

Brandon Thomas7f43d537eddf
diff --git a/.mcp.json b/.mcp.json
new file mode 100644
index 000000000..caff41c9b
--- /dev/null
+++ b/.mcp.json
@@ -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"]
+ }
+ }
+}
diff --git a/docs/agents.md b/docs/agents.md
index ea4abf69b..54a5ff38d 100644
--- a/docs/agents.md
+++ b/docs/agents.md
@@ -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`.