i3X-MCP-Server
Bridges Claude (or any MCP client) to manufacturing data via the i3X standard, enabling natural language queries about equipment status, hierarchy, and historical trends.
README
i3x-mcp
A bridge that lets Claude (and any other MCP client) talk to your manufacturing data through the i3X standard — so you can ask plain-English questions about your plant and get real answers.
"What equipment is on the production line?" "What's the current state of pump-101?" "Show me the temperature trend for tank-201 over the last hour." "What feeds into the assembly line?"
Install (5 minutes, no coding required)
1. Install Node.js (if you don't already have it)
Open a terminal and run:
node --version
If you see a version number ≥ 18 (e.g. v20.0.0), you're set. If not, download and install from nodejs.org — pick the "LTS" version.
2. Open Claude Desktop's config file
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
If the file doesn't exist, create it.
3. Add the i3x server
If the file is empty, paste this whole thing:
{
"mcpServers": {
"i3x": {
"command": "npx",
"args": ["-y", "i3x-mcp@latest"]
}
}
}
If the file already has stuff in it, add only the "i3x": { ... } block inside mcpServers (and add the mcpServers block if missing). Mind the commas between JSON keys — that's the #1 reason Claude Desktop reports an invalid config.
4. Restart Claude Desktop
Fully quit (⌘Q on Mac, right-click tray → Quit on Windows) and reopen. The first time you use it, npx downloads i3x-mcp from npm — takes 10-20 seconds.
5. Tell Claude which i3X server to talk to
Start a new chat and say:
"Use the i3x
connecttool with baseUrlhttps://api.i3x.dev/v1"
(That's the public CESMII demo server. For your own deployment, substitute your URL.)
Claude will verify the connection and confirm. From there you can ask normal questions:
"What equipment is at the top of the hierarchy?" "Find anything with 'pump' in the name." "What's the current value of pump-101 and its components?" "Get the last hour of history for pump-101-state, averaged every 5 minutes."
Connecting to a private / authenticated server
If your i3X server requires authentication:
"Connect i3x to
https://i3x.mycompany.com/v1with authSchemebearerand tokeneyJhbGc..."
Supported auth schemes:
none(default)bearer— usesAuthorization: Bearer <token>apikey— uses a custom header (defaultX-API-Key, override with theapiKeyHeaderargument)
Connections live for the duration of a Claude Desktop session. To switch servers mid-session, just call connect again.
Persisting connection info via environment variables
If you'd rather not type the connect command each time, pre-set the connection in your Claude Desktop config:
{
"mcpServers": {
"i3x": {
"command": "npx",
"args": ["-y", "i3x-mcp@latest"],
"env": {
"I3X_BASE_URL": "https://i3x.mycompany.com/v1",
"I3X_AUTH_SCHEME": "bearer",
"I3X_TOKEN": "eyJhbGc..."
}
}
}
}
What Claude can do
| Tool | What it does |
|---|---|
connect |
Point the server at an i3X instance. Validates against /info. |
connection_status |
Show current baseUrl, auth, and catalog state. |
server_info |
Capabilities of the connected i3X server (query/update/subscribe). |
search_objects |
Find equipment by name (fuzzy/substring). The main "where is X" tool. |
list_root_objects |
Top of the equipment hierarchy. |
refresh_catalog |
Re-fetch the object list after new equipment is added. |
get_object |
Detailed info on one or more objects (type, parent, relationships). |
read_current_value |
Latest value + quality + timestamp, with engineering units when known. |
get_history |
Time-range history with optional avg/min/max/count aggregation and bucket (e.g. 5m). Accepts relative times like "last 1h". |
find_related |
Graph traversal. Returns related objects grouped by relationship. |
describe_type |
ObjectType schema + per-field units (helps Claude interpret raw values). |
watch_values |
Bounded live-data window. Internally manages an i3X subscription. |
Writes (update_value, write_history) are off by default. See "Enabling writes" below.
Time inputs
Anywhere a time is accepted (get_history), you can use:
- RFC 3339:
2026-06-12T10:00:00Z - Relative:
1h,30m,7d,last 30m - Keywords:
now,today,yesterday
For startTime, a bare duration means "that long ago." For endTime, the default is now.
Enabling writes (advanced)
Setpoint writes can affect live equipment. Writes are off by default. To enable them, modify your Claude Desktop config to pass --enable-writes:
"args": ["-y", "i3x-mcp@latest", "--enable-writes"]
This exposes update_value and write_history. Both are marked as destructive — Claude will request explicit confirmation before invoking them.
Tuning (environment variables)
| Env var | Default | Purpose |
|---|---|---|
I3X_BASE_URL |
unset | Optional pre-set baseUrl. If unset, use the connect tool from chat. |
I3X_AUTH_SCHEME |
none |
none, bearer, or apikey. |
I3X_TOKEN |
— | Required when I3X_AUTH_SCHEME is bearer or apikey. |
I3X_APIKEY_HEADER |
X-API-Key |
Header name used when I3X_AUTH_SCHEME=apikey. |
I3X_WATCH_MAX_SEC |
300 |
Hard cap on watch_values duration. |
I3X_RAW_HISTORY_MAX_POINTS |
500 |
Cap on raw VQT points returned per element by get_history. |
Troubleshooting
Claude Desktop says "MCP i3x: Server disconnected"
- Check the
claude_desktop_config.jsonis valid JSON (commas, braces). - Confirm Node.js 18+ is installed and
nodeis on your PATH. - Open the developer logs in Claude Desktop's "Settings → Developer" panel for details.
Tools return "Not connected to an i3X server"
- Call the
connecttool: "Connect i3x to https://..." - Or set
I3X_BASE_URLin the config'senvblock and restart Desktop.
Connection fails on connect
- The error message will say what failed (e.g. DNS, 401 Unauthorized). Re-check the baseUrl and auth.
- The
baseUrlmust include the version path, e.g.https://api.i3x.dev/v1.
For developers
Run from source
git clone <this-repo> i3x-mcp
cd i3x-mcp
npm install
npm run build
Point Claude Desktop at the local build:
{
"mcpServers": {
"i3x": {
"command": "node",
"args": ["/absolute/path/to/i3x-mcp/dist/index.js"]
}
}
}
Project layout
src/
config.ts # env + CLI parsing
connection.ts # connection lifecycle (connect / disconnect / state)
i3x-client.ts # HTTP client + i3X types
catalog.ts # cached object/type index + fuzzy search (fuse.js)
time.ts # relative time parsing
aggregation.ts # raw/avg/min/max/count bucketing
units.ts # unit extraction + value enrichment
tools.ts # all MCP tool registrations
index.ts # entry point
Smoke test
node smoke-test.mjs
Spawns the server, walks through connect → search_objects → get_history against the public demo.
Publishing to npm
You'll need an npm account with publish rights to i3x-mcp. Then:
# Patch release (0.1.0 → 0.1.1):
npm run release:patch
# Minor release (0.1.0 → 0.2.0):
npm run release:minor
# Major release (0.1.0 → 1.0.0):
npm run release:major
Each script:
- Bumps
versioninpackage.json. - Creates a git commit and tag.
- Runs
prepublishOnly(which builds viatsc). - Publishes to the public npm registry.
Push the tag after with git push --follow-tags.
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.