MCP server¶
The Zelos agent can serve its data and tools over the Model Context Protocol (MCP), so an AI assistant running on your computer, such as Claude Code, can search signals, read live and recorded data, work with notebooks, and manage extensions.
The server is off until you turn it on, and it only answers programs on the same computer as the agent.
Requirements¶
- A Team or Enterprise plan. On a desktop that is the signed-in account's plan; on a registered agent it is its organization's.
- A headless agent must be registered to an organization.
- The assistant runs on the same computer as the agent. The server does not answer other machines.
Gradual rollout
The MCP server is being rolled out to accounts in stages. If the assistant reports that MCP is not enabled for your account, contact [email protected].
Turn it on¶
MCP is a saved setting of each agent, off by default. Turn it on in any of three places:
- On a desktop: open Settings, go to Network, and turn on
MCP Server. The setting shows the server's address,
http://127.0.0.1:2300/mcpby default. - On any agent, from its own machine:
zelos agent settings set-mcp-enabled true. - On a connected remote agent, such as a headless one, from the app: choose Settings from the agent's menu in the sidebar and turn on MCP Server under MCP in the Agent Settings dialog.
The change takes effect immediately, with no restart and no change to a systemd unit or startup script. Turn it off the same way.
Access¶
Access decides which tools the assistant gets:
- Read (default): tools that only read. The assistant can search and read data, search the extension marketplace, list installed extensions and read their saved configuration, README and log, and run extension actions whose author declared them read-only.
- Read/Write: every tool. The assistant can also add annotations, work with notebooks, run any extension action, and install, update, reinstall, configure, start, stop, restart and uninstall extensions.
Notebooks need Read/Write even to read: opening a notebook installs the packages it lists and starts a Python kernel.
The extension tools reach this agent and every remote agent connected to it. Under Read, the assistant can read the saved configuration and log of every extension on each of them.
Read/Write changes extensions without asking
Under Read/Write, the assistant installs, uninstalls, configures, starts, stops and restarts extensions on this agent and on connected remote agents with no confirmation prompt. A started extension may drive connected hardware.
Set Access in the same three places: under the MCP Server switch in
Settings or the Agent Settings dialog, or with
zelos agent settings set-mcp-write true. It applies to the next tool call,
and turning MCP off sets it back to Read.
A call already running when access is lowered finishes. An assistant keeps its
tool list for up to five minutes, so reconnect it (/mcp in Claude Code) to
see tools that Read/Write adds.
Connect Claude Code¶
Run this once in a terminal:
Check the connection with claude mcp list, or type /mcp inside Claude Code.
The Zelos app must be running for the server to answer.
To share the server with everyone who works in a repository, add it with
--scope project. Claude Code writes a .mcp.json you can commit:
Any other MCP client that supports the streamable HTTP transport connects to the same address.
What the assistant can do¶
| Area | Tools | Access |
|---|---|---|
| Find data | signal_search, signal_list, event_list |
Read |
| Read data | signal_at_time, signal_summarize, signal_find_crossing, event_read, check |
Read |
| Annotate | annotation_create: adds a comment to the live timeline |
Read/Write |
| Zelos Cloud | cloud_list, cloud_notebook_read |
Read |
| Notebooks | notebook_read, notebook_get_output, notebook_inspect, notebook_create, notebook_edit, notebook_run_cells: read, create, edit and run notebooks |
Read/Write |
| Read extensions | extension_search, extension_list, extension_config_get, extension_readme, extension_logs: search the marketplace, list installed extensions, read a saved configuration, README or log |
Read |
| Manage extensions | extension_install, extension_uninstall, extension_reinstall, extension_update, extension_start, extension_stop, extension_restart, extension_configure |
Read/Write |
| Extension actions | ext_*, one per action. Each takes an agent, the computer it runs on, and the action's own arguments under params |
Read if its author declared it read-only, otherwise Read/Write |
Tools work on live data and on recorded traces. The Zelos Cloud tools list your organization's uploaded traces and published notebooks. Under Read, the agent checks an extension action's read-only declaration on every call, against the agent the call runs on, and refuses the call when it cannot confirm it.
Examples¶
Ask in plain language. The assistant picks the tools.
- "Which signals from the battery pack are streaming right now?"
- "Summarize pack voltage and current over the last five minutes."
- "When did motor temperature first go above 80 °C in the open trace, and what was the bus voltage at that moment?"
- "Check that every cell voltage stayed between 3.0 V and 4.2 V during the last run."
- "Add an annotation at the point where the fault flag was raised."
- "Create a notebook that plots speed against torque for this trace and run it."
- "Which extensions are installed, and what does the log of the stopped one say?"
Headless agents¶
A headless agent serves MCP once it is registered to an organization on a Team
or Enterprise plan in Zelos Cloud
(zelos agent register) and MCP is turned on: run
zelos agent settings set-mcp-enabled true on its machine, or use the Agent
Settings dialog in the app (see Turn it on).
To read live data over MCP it must keep some: set its store with
zelos agent settings set-store-type memory (or disk) and restart it. With
the default metadata store the read tools answer that no live data is
available.
The server answers only programs on the agent's own machine: add it to Claude Code there with the command in Connect Claude Code, using the agent's port if it is not 2300.
Turn it off for an organization¶
Owners can turn MCP off for the whole organization with MCP Enable under Controls on the Billing page in Zelos Cloud. Registered agents and desktop apps signed in to the organization apply the change within an hour. Each agent keeps its own setting, and serves again once the switch is back on.
An agent that cannot reach Zelos Cloud keeps its last answer, for the plan and
for this switch, for up to 30 days, restarts included. With no answer to go
by, a registered headless agent allows MCP, and a desktop app follows the
signed-in account's plan. zelos agent status on a registered agent's machine
shows the answer.
Troubleshooting¶
When the agent refuses a connection, Claude Code shows Failed to connect with the agent's reason. To ask the agent directly:
An answer about the request itself (data did not match) means the server is
on and admitting requests.
| The agent answers | What to do |
|---|---|
| MCP is turned off on this agent | Turn MCP on for that agent. See Turn it on. |
| The MCP server needs a Team or Enterprise plan | The signed-in account's organization is on the Free plan. |
| The MCP server needs an organization on a Team or Enterprise plan | The signed-in account is not in an organization yet. In the app, open Settings and choose Set up your organization. |
| MCP on this agent needs a Team or Enterprise plan | The agent's organization is on the Free plan. |
| the MCP server is not enabled for this account | The rollout has not reached your account yet. |
| MCP is turned off for this agent's organization in Zelos Cloud | An owner turned MCP Enable off on the Billing page. See Turn it off for an organization. |
| this agent is disabled or was removed in Zelos Cloud | Enable it on the Agents page, or register it again. Until then it also serves other computers data ingest only. |
| this agent is not registered | A headless agent serves MCP only once it is registered. See Headless agents. |
| this agent is still starting | The agent has not looked up its registration yet. Try again in a moment. |
| loopback clients only | The request came from another computer. Run the assistant on the agent's own machine. |
| Content-Type must be application/json | The client sent a request that is not JSON. Use an MCP client that supports the streamable HTTP transport. |
| MCP access on this agent is Read | The tool changes things or opens a notebook. Switch Access to Read/Write. |
| Nothing: connection refused | Start the Zelos app or the agent. |
A tool answers no live data sources available |
The agent keeps no live data. On a headless agent set a store: see Headless agents. |