lcm2m-caddis-mcp
Note: This server is deprecated and no longer works; use the official hosted MCP server at https://api.lcm2m.com/mcp instead.
This MCP server provides read-only access to the LCM2M Caddis VM2M API for LLM clients. It exposes tools to query industrial data such as equipment status, production metrics, and organizational structures.
Company & Org Units: fetch company details, org unit details/schedules/utilization, excessive downtime events, and the full org unit/equipment/device hierarchy tree.
Devices: list and get physical Caddis devices.
Equipment: list equipment, get details, utilization, schedules, production cycles, status logs, raw telemetry, shift history, and excessive downtime records.
Alarms: list enabled alarms with type definitions, history, and subscribers.
Tags: list/get cycle tags and tag groups.
Production Runs: list/get runs and associated cycles.
Status & Catalog: list active status reasons, manufacturers, models, and categories.
Batch: run up to 20
caddis_*tools in parallel viacaddis_batch.
All tools are read-only and return TOON-encoded responses for token efficiency.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lcm2m-caddis-mcplist alarms from last 24 hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lcm2m-caddis-mcp
This server is deprecated and no longer works. The legacy
username/password authentication it relied on has been retired, and this
package receives no further updates. Use the official hosted MCP server
instead: connect your assistant to https://api.lcm2m.com/mcp — there is
nothing to install and no credentials to configure; sign in through your
browser on first use. See the MCP Server page in the Caddis Systems
documentation for setup
instructions.
An MCP server that exposes the LCM2M Caddis VM2M API to LLM tools like Claude Desktop, Claude Code, and Cursor. Read-only wrappers over equipment, runs, cycles, telemetry, alarms, and more — served as TOON so LLM context stays cheap.
Requirements
An LCM2M account (username and password)
Node.js 25+ or Docker
Related MCP server: GitLab MCP Server
Use with an MCP client
The server speaks MCP over stdio and works with any MCP-compatible client —
Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot Chat), Zed,
Continue, Cline, Goose, and others. Configure your client to launch
npx -y @lcm2m/caddis-mcp with CADDIS_USERNAME and CADDIS_PASSWORD in its
env. Concrete examples for the two most common config styles follow.
Claude Code (CLI)
claude mcp add caddis \
--env CADDIS_USERNAME=you@example.com \
--env CADDIS_PASSWORD='your-password' \
-- npx -y @lcm2m/caddis-mcpClaude Desktop, Cursor, and similar (JSON config)
Most clients accept an mcpServers block in a JSON config file — for example
claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"caddis": {
"command": "npx",
"args": ["-y", "@lcm2m/caddis-mcp"],
"env": {
"CADDIS_USERNAME": "you@example.com",
"CADDIS_PASSWORD": "your-password"
}
}
}
}Other clients (Windsurf, VS Code, Zed, Continue, Cline, etc.) use similar formats — consult your client's MCP docs for the exact config path and schema. Restart the client after editing config.
Configuration
Variable | Default | Description |
| (required) | LCM2M account username/email |
| (required) | LCM2M account password |
| (auto) | Required if your user belongs to multiple companies |
|
| Max 429 retries per request |
|
| Max total wait budget per request |
Available tools
All tools are read-only and prefixed with caddis_. Each maps 1:1 to a VM2M
route; responses are TOON-encoded (a compact,
JSON-equivalent format mixing YAML-style nesting with CSV-style tables).
Company:
get_companyDevices:
list_devices,get_deviceEquipment:
list_equipment,get_equipment,get_equipment_utilization,get_equipment_schedule,get_equipment_cycles,get_equipment_statuslogs,get_equipment_telemetry,get_equipment_shift_history,list_equipment_excessive_downtimes,get_equipment_excessive_downtimeOrg units / tree:
get_org_unit,get_org_unit_schedule,list_org_unit_excessive_downtimes,get_treeAlarms:
list_alarmsTags:
list_tags,get_tag,list_tag_groups,get_tag_groupRuns:
list_runs,get_run,get_run_cyclesStatus reasons:
list_status_reasonsCatalog:
list_manufacturers,list_models,list_categories
Troubleshooting
Missing credentials—CADDIS_USERNAME/CADDIS_PASSWORDaren't reaching the child process. Withdocker run -e VAR,VARmust also be set in the parent shell.This user belongs to multiple companies…— setCADDIS_COMPANY_IDto one of the numeric IDs listed in the error.401 Unauthorized— bad creds. Test with:curl -X POST https://api.lcm2m.com/vm2m/sessions \ -H 'Content-Type: application/json' \ -d '{"username":"you@example.com","password":"...","company_id":1}'Persistent
429— raiseCADDIS_MAX_RETRY_WAIT_MSor back off the client's call rate.Blank Inspector page in Firefox — use Chrome/Brave/Edge, or
npx @modelcontextprotocol/inspector --cli ....
Alternative install
The MCP client examples above use npx. To run from Docker or a local clone
instead, build using one of the methods below and swap the command/args in
your client config.
Docker
git clone https://github.com/LCM2M/lcm2m-caddis-mcp.git
cd lcm2m-caddis-mcp
docker build --target runtime -t lcm2m-caddis-mcp .Command string:
docker run -i --rm -e CADDIS_USERNAME -e CADDIS_PASSWORD lcm2m-caddis-mcpLocal Node
git clone https://github.com/LCM2M/lcm2m-caddis-mcp.git
cd lcm2m-caddis-mcp
npm install
npm run buildCommand string: node /absolute/path/to/lcm2m-caddis-mcp/dist/index.js
How it works
Auth: first call hits
POST /vm2m/sessions→ JWT, cached and proactively refreshed 30s before expiry. 401 triggers a single re-login + retry. TheAuthorizationheader carries the raw JWT (noBearerprefix).Rate limiting: backend enforces 20 req/10s per endpoint and 60 req/10s per user. On 429, the client parses
Retry-After, applies ±20% jitter, and retries up toCADDIS_MAX_RETRIES(capped byCADDIS_MAX_RETRY_WAIT_MS).Response format: TOON — a token-efficient JSON dialect that mixes YAML-style nesting with CSV-style tables (~40% fewer tokens than JSON). The raw body is passed through, fenced as
```toon ... ```so the model sees an unambiguous format boundary.Errors: 4xx responses surface as
isError: truetool results so the LLM can see the backend error body and recover; 5xx rethrow.
Development
# Create .env.local with CADDIS_USERNAME and CADDIS_PASSWORD (gitignored).
npm install
npm run dev # MCP Inspector web UI + tsx
npm test # node --test via tsx
npm run build # tsc -> dist/
npm run typecheck
npm run lint # biome checknpm run dev opens the MCP Inspector in a Chromium browser (Firefox has
rendering issues). Edit source, click Restart, re-run the tool.
Project layout
src/
index.ts # MCP server entry (stdio)
config.ts # zod env config
client.ts # CaddisApiClient: login, retry, rate-limit
tools/
schemas.ts # shared zod helpers + runTool error wrapper
index.ts # tool registration
wrappers/ # 1:1 VM2M route wrappers
composite/ # higher-level multi-call toolsMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables browsing and querying Smartsheet data through read-only MCP tools, allowing MCP-compatible clients to explore sheets, reports, dashboards, and more.66MIT
- Flicense-qualityBmaintenanceEnables read-only access to GitLab projects, files, directories, and merge requests through MCP tools.
- Flicense-qualityDmaintenanceEnables read-only SQL querying and schema inspection across MSSQL, PostgreSQL, and MySQL databases via MCP tools.
- Flicense-qualityCmaintenanceA read-only MCP server exposing GPON access-network tools for inventory, status, configuration diff, and alarms, enabling a LangGraph agent to audit ONT provisioning against a golden baseline. It runs against a simulated network and enforces read-only constraints at multiple levels.
Related MCP Connectors
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only Dant3 MCP for public rooms, agents, jobs and provisional machine onboarding.
Provide seamless access to Appfolio Property Manager Reporting API through a standardized MCP serv…
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/LCM2M/lcm2m-caddis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server