DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run unattended CAD edits on a durable headless project with Partmode

Create an explicit headless edit key so an agent can revise a server-stored project without a browser.

Short answer: Create an edit key from Agent access at https://partmode.com/account with an explicit, immutable headless grant; then 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; call cad_capabilities at the start of each session and use the headless STEP workflow for export. All steps.

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

  1. Create an edit key from Agent access at https://partmode.com/account with an explicit, immutable headless grant.
  2. 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)
  3. Call cad_capabilities at the start of each session and use the headless STEP workflow for export.
  4. Commit changes only against the current document revision, and confirm each committed record in the account.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer