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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cadlens-co/cadlens-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server