Skip to main content

luiccian-autocad-mcp

Model Context Protocol (MCP) server connecting Autodesk AutoCAD 2027 and Civil 3D with AI agents via AutoCAD AI Gateway.

PyPI version Python versions License

Exposes 89 tools across 10 domains (75 canonical actions and 14 legacy aliases) covering parametric batch drafting, layer control, entity inspection, layouts/PDF plotting, AutoLISP execution, and native Civil 3D surfaces and alignments.

Quick Start (uvx)

  1. In AutoCAD 2027 or Civil 3D 2027, load AutoCAD.Gateway.dll (NETLOAD or Autoloader .bundle) and run AI_START_SERVER.
  2. Add the server to your MCP client (claude_desktop_config.json or mcp_config.json):
{
  "mcpServers": {
    "autocad-mcp": {
      "command": "uvx",
      "args": ["luiccian-autocad-mcp"],
      "env": {
        "AUTOCAD_MCP_TOOL_MODE": "compound"
      }
    }
  }
}

Note: Leave AUTOCAD_GATEWAY_TOKEN and AUTOCAD_GATEWAY_PORT unset for zero-config auto-discovery via the Gateway {pid}.json session file. Only set AUTOCAD_GATEWAY_TOKEN if you pinned a custom token in AutoCAD using AI_SET_TOKEN.

Tool Loading Modes (AUTOCAD_MCP_TOOL_MODE)

Mode Tools Exposed Behavior
granular (default) 89 tools Exposes all 75 canonical tools and 14 legacy aliases directly.
compound 10 domain routers Exposes autocad_context through autocad_execution with action="help" schema introspection.
core 28 tools Exposes high-leverage standalone tools with zero aliases.
Local Development and Testing (`uv`)

Run directly from a cloned repository without publishing to PyPI:

cd AutoCAD.McpPython
uv run autocad-mcp

Client configuration pointing to a local checkout:

{
  "mcpServers": {
    "autocad-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "${workspaceFolder}/AutoCAD.McpPython",
        "run",
        "autocad-mcp"
      ],
      "env": {
        "AUTOCAD_MCP_TOOL_MODE": "compound"
      }
    }
  }
}

Run the test suite:

uv run --directory AutoCAD.McpPython --all-extras pytest

Metadata

Release files for luiccian-autocad-mcp 2.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luiccian-autocad-mcp 2.5.0
File Size Uploaded Provenance Actions
luiccian_autocad_mcp-2.5.0.tar.gz 143.2 kB Without provenance Details for luiccian_autocad_mcp-2.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luiccian-autocad-mcp 2.5.0
File Interpreter ABI Platform Actions
luiccian_autocad_mcp-2.5.0-py3-none-any.whl Python 3 none any Details for luiccian_autocad_mcp-2.5.0-py3-none-any.whl

Total release size: 193.3 kB

Release files / luiccian_autocad_mcp-2.5.0.tar.gz

Download URL luiccian_autocad_mcp-2.5.0.tar.gz
Size 143.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0169a5bbab25b2ff732bd14fccdc2c24034adb924839a660fa8043c9d532d2aa
BLAKE2b-256 checksum
How to use checksums
825f9a2a8676774a2e066db01b80a61faf5425c5d532f4438dababa6d2242220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / luiccian_autocad_mcp-2.5.0-py3-none-any.whl

Download URL luiccian_autocad_mcp-2.5.0-py3-none-any.whl
Size 50.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edd9f0a22d2177cd2f8e99bef46fd9f0e3ca7479ae2c6835f1ee3220496a6e67
BLAKE2b-256 checksum
How to use checksums
26a497e96a8db086a7bfdccb15e49eb0b395f964148780922760f5d8bd547a6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for luiccian-autocad-mcp 2.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page