Files
BoosAPI/desktop/src-tauri/builtin-skills/dwg-mcp-server/SKILL.md
T
2026-06-26 14:28:13 +08:00

36 lines
1.2 KiB
Markdown

---
name: dwg-mcp-server
description: Inspect AutoCAD DWG files through DWG MCP Server. Use when users ask to open, inspect, query, summarize, or extract objects/properties from DWG drawings.
---
# DWG MCP Server Skill
Use this skill when a user wants to inspect AutoCAD DWG drawings with an AI agent.
Upstream project: https://github.com/dimitrovakulenko/dwg-mcp-server
## Setup
Install the MCP server in your MCP client or run it with npx:
```bash
npx -y @dmytro-prototypes/dwg-mcp-server
```
For clients without MCP roots, configure explicit allowed roots:
```bash
DWG_MCP_ALLOWED_ROOTS="$HOME" npx -y @dmytro-prototypes/dwg-mcp-server
```
## Workflow
1. Ask the user for the DWG file path and confirm it is under an allowed root.
2. Use `dwg.list_roots` to inspect accessible folders.
3. Use `dwg.open_file` to open the drawing and get a `documentId`.
4. Use `dwg.list_file_types`, `dwg.describe_type`, `dwg.get_objects`, and `dwg.query_objects` to inspect contents.
5. Summarize entities, layers, blocks, layouts, references, and notable properties.
6. Close the document with `dwg.close_file` when done.
This bundled skill is a BoosAPI Desktop wrapper around the upstream MCP server. It does not edit DWG files directly.