cadlens-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEBHOOK_PORT | No | Port for the in-process webhook receiver. | 0 |
| CADLENS_API_KEY | Yes | API key created in the Cadlens dashboard. | |
| CADLENS_API_BASE | No | Base URL for the Cadlens API. Set to http://localhost:3001/v1 for local dev. | https://api.cadlens.co/v1 |
| REQUEST_TIMEOUT_MS | No | Per-HTTP-request timeout for Cadlens calls in milliseconds. | 30000 |
| WEBHOOK_PUBLIC_URL | No | Tunnel URL (ngrok/cloudflared) to let Cadlens hit the local receiver. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cadlens_parse_fileA | Parse a local CAD file (DWG/DXF/DWF/DWFx/DGN-V7/PDF, max 100 MB). Polls until the job completes or 5 minutes elapse. Returns a summary including the preview image URL. Use cadlens_get_result with the returned job_id to fetch detailed entity data. |
| cadlens_parse_urlA | Download a CAD file from a URL (max 100 MB) and parse it. Same output as cadlens_parse_file. |
| cadlens_get_jobA | Check the status of a CAD parse job. Returns PENDING, PROCESSING, COMPLETED, or FAILED. |
| cadlens_get_resultA | Fetch the parsed result of a completed CAD job. Use mode='summary' (default) for an overview, 'entities_by_type' or 'entities_on_layer' for filtered detail, or 'full' for the complete vector JSON (can be very large — only use when explicitly needed). |
| cadlens_refresh_image_urlA | Re-fetch the presigned preview-image URL for a completed job. Cheaper than re-fetching the full result. The URL is valid for 3600 seconds. |
| cadlens_list_jobsA | List the 100 most recent CAD parse jobs for the configured API key, newest first. |
| cadlens_delete_jobA | Delete a job and its uploaded file and preview image from CADLens storage. Irreversible. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a distinct purpose: two parse variants clearly separated by input source (local file vs URL), plus status checking, result retrieval, image refresh, listing, and deletion. There is no functional overlap between any tools.
All tools follow the consistent pattern 'cadlens_<verb>_<object>' with snake_case (e.g., parse_file, get_result, delete_job). The naming is uniform, predictable, and clearly indicates both the action and the resource.
Seven tools is an ideal size for a CAD parsing service. Each tool covers a necessary part of the workflow without redundancy or bloat, making the toolset well-scoped and easy to navigate.
The toolset covers the full lifecycle of a parse job: creation (from file or URL), status polling, result retrieval with multiple detail modes, preview image refresh, job listing, and deletion. No critical operations are missing.