cadlens-mcp
v0.6.0Model Context Protocol server that wraps the CADLens REST API.
Values you need
| Variable | What it is | |
|---|---|---|
CADLENS_API_KEY | required secret | Your CADLens API key |
CADLENS_API_BASE | optional | API base URL (default: https://api.cadlens.co/v1) Default: https://api.cadlens.co/v1 |
WEBHOOK_PUBLIC_URL | optional | Public URL for webhook auto-registration (optional) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add cadlens-mcp -e 'CADLENS_API_KEY=<CADLENS_API_KEY>' -- npx -y --package=@cadlens/mcp-server@0.6.0 cadlens-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"cadlens-mcp": {
"args": [
"-y",
"--package=@cadlens/mcp-server@0.6.0",
"cadlens-mcp"
],
"command": "npx",
"env": {
"CADLENS_API_KEY": "<CADLENS_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"cadlens-mcp": {
"args": [
"-y",
"--package=@cadlens/mcp-server@0.6.0",
"cadlens-mcp"
],
"command": "npx",
"env": {
"CADLENS_API_KEY": "<CADLENS_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CADLENS_API_KEY",
"id": "cadlens-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"cadlens-mcp": {
"args": [
"-y",
"--package=@cadlens/mcp-server@0.6.0",
"cadlens-mcp"
],
"command": "npx",
"env": {
"CADLENS_API_KEY": "${input:cadlens-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.cadlens-mcp]
command = "npx"
args = ["-y", "--package=@cadlens/mcp-server@0.6.0", "cadlens-mcp"]
env = { "CADLENS_API_KEY" = "<CADLENS_API_KEY>" }For AI agents
- Ask the user for: CADLENS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cadlens_parse_file, cadlens_parse_url, cadlens_get_job, cadlens_get_result, cadlens_refresh_image_url, cadlens_list_jobs, cadlens_delete_job.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json