Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. Go to User Management > MCP tokens (admin only).
  2. Create a token the AI client will use.
  3. Leave sensitive values such as device credentials hidden unless a workflow needs them.
  4. Copy the token.

2. Connect your AI client

Setting

Value

URL

Unimus base URL, for example http://localhost:8085

Transport

Streamable HTTP

Header

Authorization: Bearer <token>

Example for Claude Code (run this in a terminal, not inside a Claude Code session):

Code Block
languagebash
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