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

How to let an approved MCP agent revise an open CAD project with Partmode

Connect Codex to PartMode so the agent works on your open project after you approve it in the browser.

Short answer: Create a revocable key from Agent access at https://partmode.com/account and store it in the secret environment for your MCP client, not in a prompt or repository file; then run codex mcp add partmode --url https://partmode.com/mcp --bearer-token-env-var PARTMODE_AGENT_KEY; start a new Codex session, read the PartMode Help resources, and call cad_capabilities before building a transaction. 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. The agent key authenticates the agent, so store it only in the secret environment for your MCP client and revoke it when access is no longer needed.

Who it is forAn engineer who wants an AI coding agent to propose and commit CAD changes while staying in control of approval.

The problemAgents editing CAD through opaque scripts are hard to review, and giving an agent direct access to a model is risky.

The outcomeA browser-approved agent session where the agent inspects the current state, previews a change, and commits it against the matching revision.

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 a revocable key from Agent access at https://partmode.com/account and store it in the secret environment for your MCP client, not in a prompt or repository file.
  2. Run codex mcp add partmode --url https://partmode.com/mcp --bearer-token-env-var PARTMODE_AGENT_KEY. (inferred, check the README)
  3. Start a new Codex session, read the PartMode Help resources, and call cad_capabilities before building a transaction.
  4. Sign in to PartMode in a browser tab and approve the project-scoped agent session when prompted.
  5. Review the detached preview in the browser, then accept or reject the commit, and revoke the key when finished.

Prompt for your agent

Using the PartMode MCP server configured for this repository, call cad_capabilities, then inspect the open project at <project-name> and create a detached preview of the change <change-description>. Report the operations you proposed and the document revision they target, and verify that no commit happens until the person approves it in the browser.

Caveat. Browser-approved sessions use a relay that is not end-to-end encrypted, and the browser project itself is not stored on the relay.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for BOMWiki/partmode and "Let an approved MCP agent revise an open CAD 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