CadPlot MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CADPLOT_CONFIG | Yes | Path to the configuration YAML file. Set to $PWD\config.yaml before running. | |
| CADPLOT_PIPE_NAME | No | Named pipe used by the Python client and AutoCAD plugin. Must be the same on both sides and match [A-Za-z0-9._-]{1,128}. Only needed when running multiple AutoCAD versions. | cadplot-mcp |
| CADPLOT_AUTOCAD_PROGID | No | COM ProgID for AutoCAD, e.g. AutoCAD.Application.20.1 for 2016 or AutoCAD.Application.25.0 for 2025. Refuses ambiguous/foreign ProgIDs. | |
| CADPLOT_ENABLE_PUBLISH | No | Set to 1 to enable publish commands. Must be set before starting AutoCAD. | 0 |
| CADPLOT_WORKSPACE_ROOT | No | Trusted workspace root that must match workspace_root in the configuration file. Set before launching AutoCAD for staged-job validation. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_environmentA | Validate configuration, allowed roots, and the read-only AutoCAD COM connection. |
| get_autocad_plugin_statusA | Check the installed AutoCAD plug-in through its read-only local named-pipe command. |
| scan_drawingsA | List DWG files under an explicitly allowed project root without opening them. |
| inspect_drawingA | Inspect one explicit allowed DWG/DWT read-only: layouts, plot settings, and frames. |
| inventory_office_resourcesA | Inventory exact frame/layout/page-setup/plot resource names; never approves or writes. |
| create_publish_planA | Inspect one DWG and return a deterministic dry-run plan; never modifies or plots it. |
| create_batch_publish_plansC | Inspect a restartable page of DWGs; one drawing failure does not stop the batch. |
| preview_publish_planA | Validate a ready dry-run plan with AutoCAD; never edits, saves, or plots the DWG. |
| stage_publish_jobA | Revalidate an approved plan and copy its DWG into an isolated workspace; never plots. |
| stage_publish_batchA | Stage up to 20 explicit DWG/plan-ID approvals; never plots or edits originals. |
| audit_publish_outputsA | Inspect expected PDFs and return hashes/statuses; never modifies the job or outputs. |
| validate_staged_jobA | Cross-check a staged manifest with the local plug-in; never queues or plots the job. |
| queue_publish_jobA | Queue an exact approved staged plan for PDF publishing; may create output PDFs. |
| cancel_publish_jobA | Durably cancel one exact pending job; never interrupts a running AutoCAD plot. |
| get_publish_job_statusA | Read a queued publish job state; never edits drawings or output files. |
| get_publish_batch_statusA | Read up to 20 live job states and one final queue-capacity sample; never writes. |
| read_publish_receiptA | Read persistent terminal publish evidence after AutoCAD restarts; never writes files. |
| create_publish_operations_reportA | Summarize staged jobs as a restartable page and suggest safe next actions; never writes. |
| queue_publish_batchA | Queue up to 20 approvals; capacity-full items are deferred for an exact retry. |
| match_paper_profileB | Match a frame's paper-size label to a configured office paper profile. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agadraphy/cadplot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server