Skip to content

armgit / forma

Public Imported from GitHub
0

A 1.2 MB pure-Rust rewrite of headless Blender built for AI agents — 3D B-rep modeling engine, CLI, and MCP server

Fix npx MCP command: forma-3d-mcp is a bin of forma-3d, not a package

Gregory Luneau8f1aed6e5c3c
diff --git a/AGENTS.md b/AGENTS.md
index 45486f8..cc45d12 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -19,7 +19,7 @@ Add to your MCP client config (Claude Code, Cursor, Codex, Antigravity, etc.)
"mcpServers": {
"forma": {
"command": "npx",
- "args": ["-y", "forma-3d-mcp"]
+ "args": ["-y", "-p", "forma-3d", "forma-3d-mcp"]
}
}
}
diff --git a/README.md b/README.md
index e9e028b..2e66bf5 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ Forma is designed for drop-in agent use via **MCP**, **CLI**, **Agent Skills**,
- **Full agent integration guide:** [`AGENTS.md`](AGENTS.md)
- **Constrained-decoding grammar:** [`grammar/forma_pipe.gbnf`](grammar/forma_pipe.gbnf) (`forma spec --gbnf`)
-### MCP Server Setup (`forma-mcp` / `npx forma-3d-mcp`)
+### MCP Server Setup (`forma-mcp` / `npx -p forma-3d forma-3d-mcp`)
Add Forma's MCP server (4 tools: `eval`, `inspect`, `tx`, `export` — **789 `o200k` tokens** total) to any MCP client:
@@ -77,7 +77,7 @@ Add Forma's MCP server (4 tools: `eval`, `inspect`, `tx`, `export` — **789 `o2
"mcpServers": {
"forma": {
"command": "npx",
- "args": ["-y", "forma-3d-mcp"]
+ "args": ["-y", "-p", "forma-3d", "forma-3d-mcp"]
}
}
}
@@ -102,7 +102,7 @@ Install or run Forma's zero-dependency WebAssembly engine directly from npm ([**
```bash
npm install forma-3d # JS/TS ESM + WASM library + CLI + MCP server
npx -y forma-3d eval --strict --out part.glb script.forma
-npx -y forma-3d-mcp # stdio MCP server
+npx -y -p forma-3d forma-3d-mcp # stdio MCP server
```
```js
diff --git a/SKILL.md b/SKILL.md
index 6b29cef..d78bc74 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -10,13 +10,13 @@ Forma is a 1.2 MB pure-Rust rewrite of headless Blender built for AI agents. It
## 1. Choose Your Interface
### Option A — MCP Server (preferred for iterative modeling)
-Connect `forma-mcp` (native binary) or `npx -y forma-3d-mcp` (zero-install WASM via npm):
+Connect `forma-mcp` (native binary) or `npx -y -p forma-3d forma-3d-mcp` (zero-install WASM via npm):
```json
{
"mcpServers": {
"forma": {
"command": "npx",
- "args": ["-y", "forma-3d-mcp"]
+ "args": ["-y", "-p", "forma-3d", "forma-3d-mcp"]
}
}
}