Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Note: This feature is currently in beta and is available only to early adopters.


Unimus 2.10.0 and newer includes a built-in Model Context Protocol (MCP) server that allows compatible AI clients to access Unimus data through MCP tools. The server exposes 69 read-only tools, allowing AI clients to retrieve and analyze information from Unimus without directly accessing network devices.

The MCP server is enabled by default. However, an MCP token is required to authenticate and establish a connection.

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):

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:

-Dunimus.core.ModelContextProtocol-disabled=true
  • No labels