Skip to main content
Glama
cadlens-co

cadlens-mcp

Official
by cadlens-co

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEBHOOK_PORTNoPort for the in-process webhook receiver.0
CADLENS_API_KEYYesAPI key created in the Cadlens dashboard.
CADLENS_API_BASENoBase URL for the Cadlens API. Set to http://localhost:3001/v1 for local dev.https://api.cadlens.co/v1
REQUEST_TIMEOUT_MSNoPer-HTTP-request timeout for Cadlens calls in milliseconds.30000
WEBHOOK_PUBLIC_URLNoTunnel 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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