Authorization notice. Partmode is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. A headless edit key can change a durable server project without a browser approval step, so keep it secret and revoke it as soon as it is no longer needed.
Who it is forA developer automating a repeatable parametric part family who needs an agent to commit changes with no person watching.
The problemBrowser approval blocks unattended batch work, so the project needs a server-side document with its own authority.
The outcomeA committed headless document that persists across session expiry and restarts, plus a STEP export produced by the headless path.
What you need first
- Node.js 22.13 or newer
- git and npm available in a terminal
- A PartMode account and a revocable agent key, only for hosted agent access
- Validation of dimensions, tolerances, and materials for any real manufacturing use
Steps
- Create an edit key from Agent access at https://partmode.com/account with an explicit, immutable headless grant.
- Store the key in the secret environment for your MCP client and connect it with
codex mcp add partmode --url https://partmode.com/mcp --bearer-token-env-var PARTMODE_AGENT_KEY. (inferred, check the README) - Call
cad_capabilitiesat the start of each session and use the headless STEP workflow for export. - Commit changes only against the current document revision, and confirm each committed record in the account.
- Plan account deletion as the only way to remove committed headless records, since there is no individual project-delete control yet.
Prompt for your agent
Using the headless PartMode edit key in the secret environment, call cad_capabilities, apply the change <change-description> to the server project <project-name>, and export the result as STEP. Report the committed revision and the STEP artifact name, and verify that the revision number increased by one after the commit.
Caveat. Live headless sessions are key-bound, expire within one hour, and do not survive a service restart, so only committed documents persist.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for BOMWiki/partmode and "Run unattended CAD edits on a durable headless project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer