...
Unimus 2.10.0 and newer has a built-in, read-only MCP server (69 tools) that AI clients can use to read Unimus data. It is enabled by default, but no client can connect without an MCP token.
Requirements
- Unimus 2.10.0 or newer
- An AI client that supports remote MCP servers over Streamable HTTP (for example Claude Code or OpenAI Codex)
1. Create an MCP token
- Go to User Management > MCP tokens (admin only).
- Create a token the AI client will use.
- Leave sensitive values such as device credentials hidden unless a workflow needs them.
- Copy the token.
2. Connect your AI client
Setting | Value |
|---|---|
URL | Unimus base URL, for example http://localhost:8085 |
Transport | Streamable HTTP |
Header |
|
Example for Claude Code (run this in a terminal, not inside a Claude Code session:):
| Code Block | ||
|---|---|---|
| ||
claude mcp add --transport http unimus http://localhost:8085 --header "Authorization: Bearer <token>" |
Add --scope user to make the server available in all projects. Without it, the server is added only for the current folder.
3. Verify the connection
- Run claude mcp list in a terminal, or /mcp inside Claude Code. The Unimus server should show as connected. Adding the server does not check the token, so a wrong token only shows up here (as a 401).
- Ask "How many devices does Unimus manage?" and compare the answer with the Unimus dashboard.
Disabling MCP
Add this to the Java startup parameters and restart Unimus:
| Code Block |
|---|
-Dunimus.core.ModelContextProtocol-disabled=true |