Skip to main content
Glama
Ahmedmuji

AutoCAD MCP Server

by Ahmedmuji

AutoCAD MCP Server for Claude Web (claude.ai)

Connect locally running AutoCAD 2014+ to Claude Web (claude.ai) via Model Context Protocol (MCP) and Cloudflare Tunnels.

Includes full source code for the 149-tool AutoCAD MCP Pro engine with dual COM API + ezdxf backend support.


πŸ—οΈ Architecture

   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  Claude Web           β”‚
   β”‚  (claude.ai)          β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚ Remote MCP (Streamable HTTP / SSE) over HTTPS
               β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚ Cloudflare Tunnel     β”‚ (https://<subdomain>.trycloudflare.com/mcp)
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚ Secure Encrypted Tunnel
               β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚ autocad-mcp Server    β”‚ (FastMCP 3.4.7 Server on 127.0.0.1:8000)
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚ PyWin32 COM API
               β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  AutoCAD 2014         β”‚ (Live AutoCAD Instance)
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Related MCP server: AutoCAD MCP Server

πŸš€ Quick Start

1. Requirements

  • Windows PC

  • AutoCAD 2014 (or newer 64-bit AutoCAD)

  • Python 3.11+ 64-bit

  • cloudflared.exe (Cloudflare Tunnel client)

2. Installation

Install dependencies:

pip install -r requirements.txt

3. Start AutoCAD MCP Server

Double-click start_autocad_mcp.bat or run:

set AUTOCAD_MCP_BACKEND=com
python server.py --transport http --host 127.0.0.1 --port 8000

4. Start Cloudflare Tunnel

Double-click start_cloudflare.bat or run:

cloudflared tunnel --url http://127.0.0.1:8000

This will output a temporary HTTPS URL (e.g. https://<subdomain>.trycloudflare.com).


πŸ”— Connecting to Claude Web (claude.ai)

  1. Open Claude Web.

  2. Go to Settings β†’ Connectors (or Remote MCP Connectors).

  3. Click Add Remote MCP Connector.

  4. Enter your endpoint URL:

    https://<your-subdomain>.trycloudflare.com/mcp
  5. Click Connect. Claude Web will connect and expose all 149 AutoCAD MCP tools!


πŸ› οΈ Testing

Run the test script to verify connection and tool listing:

python test_mcp.py http://127.0.0.1:8000/mcp

Or test via Cloudflare public endpoint:

python test_mcp.py https://<your-subdomain>.trycloudflare.com/mcp

πŸ”’ Security

  • Loopback Bind: The MCP server binds only to 127.0.0.1:8000.

  • Authentication: Optional Bearer token authentication via MCP_AUTH_TOKEN environment variable.


πŸ“„ License & Credits

Built with FastMCP and autocad-mcp-pro (by Umutcan Edizsalan).

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables users to control AutoCAD, GstarCAD, or ZWCAD through natural language via Claude Desktop. It provides tools for drawing geometric shapes, adding text and dimensions, and managing CAD files using the Windows COM interface.
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables programmatic control of AutoCAD through COM automation, allowing natural language commands to create structures, manage layers, and manipulate entities via MCP clients like Claude.
    58
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    Enables Claude to control AutoCADβ€”draw, edit, query, layers, blocks, annotations, screenshots, plot to PDFβ€”using plain language.
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Connects Claude AI to AutoCAD for architectural design, enabling natural language to execute 684 commands. Automates drawing creation and editing through the Model Context Protocol.
    21
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

View all MCP Connectors

Latest Blog Posts

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/Ahmedmuji/AutoCAD_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server