
dimitrovakulenko/dwg-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP による AI の DWG ファイル形式アクセス DWGファイルをClaude、ChatGPT、Codex、CursorなどのAIクライアントに接続します.
概要
MCP による AI の DWG および DXF ファイル形式のアクセス。 DWG と DXF ファイルを Claude, ChatGPT, Codex, Cursor などの MCP クライアントに接続します。 DWG MCPの特長 Server は DWG のデータにアクセスできるため、AI は図面の理解と理由を把握できます。 ソースファイルは読み取り専用のままです。サポートされているエンティティティティプロパティは、検査とレンダリングのメモリ内で変更できます。 お好みのMCPクライアントからDWG MCP Serverを使用します。 npm パッケージは、GitHub リリースから一致するネイティブビルドをダウンロードし、SHA-256 チェックサムを検証し、キャッシュを直接実行します。 Docker と別の Python のインストールは必要ありません。 インストーラーは、最新のネイティブリリースをダウンロードし、インストール前にSHA-256チェックサムを確認します。 インストール後、MCP クライアントをインストール実行可能にします。 macOS で ~/ を追加します.
概要(AI 翻訳)
MCP による AI の DWG および DXF ファイル形式のアクセス。
DWG と DXF ファイルを Claude, ChatGPT, Codex, Cursor などの MCP クライアントに接続します。 DWG MCPの特長 サーバーは、AI が理解できるように、DWG のデータへのアクセスを構造化し、 デッサンについての理由。 ソースファイルは読み取り専用のままです。サポートされているエンティティ プロパティは、検査とレンダリングのメモリ内で変更できます。
クイックスタート
お好みのMCPクライアントからDWG MCP Serverを使用します。 npm パッケージは、GitHub リリースから一致するネイティブビルドをダウンロードします。 まず、SHA-256チェックサムを検証し、それをキャッシュし、直接実行します。 Docker と別の Python のインストールは必要ありません。
ネイティブインストーラ
macOS Apple シリコン:
Windows x64 (PowerShell):
インストーラは、最新のネイティブリリースをダウンロードし、SHA-256を検証します。 インストール前のチェックサム。
インストール後、MCP クライアントをインストール実行可能にします。 macOSで
~/.local/bin を PATH] に最初に追加するか、または 報告された絶対パスを使用する
インストーラ:
MCP クライアント、AI エージェント、テストハーネスが MCP ルートをサポートしていない場合、設定
[DWG_MCP_ALLOWED_ROOTS] にアクセスできるフォルダへ。
コードx
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
DWG MCP Server
DWG and DXF file format access for AI via MCP.
Connect DWG and DXF files to Claude, ChatGPT, Codex, Cursor, and other MCP clients. DWG MCP Server provides structured access to DWG data so AI can understand and reason about drawings. Source files remain read-only; supported entity properties can be changed in memory for inspection and rendering.
Quick Start
Use DWG MCP Server from the MCP client of your choice. The npm package downloads the matching native build from GitHub Releases on first use, verifies its SHA-256 checksum, caches it, and runs it directly. Docker and a separate Python installation are not required.
Native installers
macOS Apple Silicon:
curl -fsSL https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.sh | sh
Windows x64 (PowerShell):
irm https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.ps1 | iex
Both installers download the latest native release and verify its SHA-256 checksum before installation.
After installing, point your MCP client at the installed executable. On macOS
add ~/.local/bin to PATH first, or use the absolute path reported by the
installer:
claude mcp add --scope user --transport stdio dwg-mcp -- dwg-mcp-server
If your MCP client, AI agent, or test harness does not support MCP roots, set
DWG_MCP_ALLOWED_ROOTS to the folders that should be accessible.
Codex
codex mcp add dwg-mcp \
--env DWG_MCP_ALLOWED_ROOTS="$HOME" \
-- npx -y @dmytro-prototypes/dwg-mcp-server
Codex does not currently provide MCP client roots to stdio MCP servers. Configure explicit allowed roots for the folders that contain your drawings.
Claude
claude mcp add --scope user --transport stdio dwg-mcp -- npx -y @dmytro-prototypes/dwg-mcp-server
Claude Code provides MCP roots, so no extra path variable is usually needed.
Cursor
{
"mcpServers": {
"dwg-mcp": {
"command": "npx",
"args": ["-y", "@dmytro-prototypes/dwg-mcp-server"]
}
}
}
Exposed Tools
| Tool | Purpose |
|---|---|
dwg.list_roots |
List folders available for DWG access. |
dwg.open_file |
Open a DWG or DXF from an available folder and return a documentId. |
dwg.close_file |
Close an opened document and release its worker process. |
dwg.list_types |
List the globally supported DWG types known to the backend. |
dwg.list_file_types |
List only the types that are present in a specific opened DWG. |
dwg.describe_type |
Describe a supported type, including readable and writable properties and its default projection. |
dwg.get_objects |
Fetch specific objects by handle, preserving the requested order and reporting missing handles. |
dwg.query_objects |
Query objects with filters, scopes, relation traversal, sorting, projection, and pagination. |
インストール
npx -y @dmytro-prototypes/dwg-mcp-server設定
{
"mcpServers": {
"dwg-mcp": {
"command": "npx",
"args": ["-y", "@dmytro-prototypes/dwg-mcp-server"]
}
}
}