{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "bomwiki-partmode--let-an-agent-edit-an-open-project",
 "repo": "BOMWiki/partmode",
 "repo_url": "https://github.com/BOMWiki/partmode",
 "repo_slug": "bomwiki-partmode",
 "title": "Let an approved MCP agent revise an open CAD project",
 "page_title": "How to let an approved MCP agent revise an open CAD project with Partmode",
 "summary": "Connect Codex to PartMode so the agent works on your open project after you approve it in the browser.",
 "who": "An engineer who wants an AI coding agent to propose and commit CAD changes while staying in control of approval.",
 "problem": "Agents editing CAD through opaque scripts are hard to review, and giving an agent direct access to a model is risky.",
 "outcome": "A browser-approved agent session where the agent inspects the current state, previews a change, and commits it against the matching revision.",
 "steps": [
  "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.",
  "Run `codex mcp add partmode --url https://partmode.com/mcp --bearer-token-env-var PARTMODE_AGENT_KEY`. (inferred, check the README)",
  "Start a new Codex session, read the PartMode Help resources, and call `cad_capabilities` before building a transaction.",
  "Sign in to PartMode in a browser tab and approve the project-scoped agent session when prompted.",
  "Review the detached preview in the browser, then accept or reject the commit, and revoke the key when finished."
 ],
 "agent_prompt": "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.",
 "agents": [
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "javascript",
 "requirements": [
  "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"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "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."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bomwiki-partmode/let-an-agent-edit-an-open-project/",
 "md": "https://dedupedai.com/use-cases/bomwiki-partmode/let-an-agent-edit-an-open-project/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bomwiki-partmode--let-an-agent-edit-an-open-project.json",
 "api_version": "v1"
}
