- ci.yml: ruff lint/format, Linux 3.11/3.12 tests + coverage, Windows mocked-COM leg, package build + clean-venv wheel smoke, Docker smoke, server.json schema validation - release.yml: tag -> test gate -> tag/version check -> build -> PyPI trusted publishing (OIDC) -> GitHub Release - pyproject: SPDX license, authors, keywords, classifiers, project URLs, autocad-mcp-pro console alias; version 1.4.0 - Dockerfile: ship engineering/ + version.py (image previously missed both -> engineering tools failed in containers); healthcheck imports engineering - server.json: MCP registry manifest (io.github.u-c4n/autocad-mcp, pypi package) - docs/RELEASE-DISTRIBUTION.md: one-time owner actions (PyPI trusted publisher, mcp-publisher login) + directory submissions runbook Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
897 B
Bash
28 lines
897 B
Bash
# AutoCAD MCP Pro — Environment Variables
|
|
|
|
# Backend selection: auto | com | ezdxf
|
|
AUTOCAD_MCP_BACKEND=auto
|
|
|
|
# Comma-separated list of allowed directories for file operations.
|
|
# Leave empty to allow all paths (not recommended for production).
|
|
# Example: ALLOWED_PATHS=C:\Drawings,D:\Projects\CAD
|
|
ALLOWED_PATHS=
|
|
|
|
# Maximum undo stack size (number of snapshots to keep)
|
|
MAX_UNDO_STACK=50
|
|
|
|
# Logging level: DEBUG | INFO | WARNING | ERROR
|
|
LOG_LEVEL=INFO
|
|
|
|
# Enable dangerous AutoCAD commands (ERASE ALL, QUIT, etc.)
|
|
# Set to true only if you trust all MCP clients
|
|
DANGEROUS_COMMANDS_ENABLED=false
|
|
|
|
# Exposed tool profile: full (default) | core | lean
|
|
# core hides raw escape hatches and long-tail tools; lean is a curated
|
|
# ~46-tool drafting/inspection core for clients with tight tool caps.
|
|
TOOL_PROFILE=full
|
|
|
|
# Opt-in 3D solids (COM backend only; ezdxf reports them as unsupported)
|
|
ENABLE_3D=false
|