Page tree

Versions Compared

Key

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

...

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 Navigate to User Management > MCP tokens (admin only).
  2. Create a new MCP token the AI client will use.
  3. Leave sensitive values such as device credentials hidden unless a workflow needs them.
  4. Copy the token..
  5. Configure the token permissions according to the intended use case.

  6. Copy the generated token. You will need it when configuring the AI client.

2. Connect your AI client

Setting

Configure your AI client to connect to the Unimus MCP server using the following parameters:

Parameter

Value

URL

Unimus base URL (eg.,

for example

http://localhost:8085)

Transport

Streamable HTTP

HTTP Header

Authorization: Bearer <token>

Example for Claude Code

(run this

:

Run the following command 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.Replace <token> with the MCP token generated in the previous step.

By default, the MCP server configuration is available only in the current project. To make it available across all projects, add the --scope user parameter:

3. Verify the connection

After configuring the AI client, verify that it can connect to the Unimus MCP server.

In Claude Code, you can check the connection using either of the following methods:

  • Run claude mcp list in a terminal

    , or

    .

  • Run /mcp inside a Claude Code session.

The Unimus MCP server should

show as connected.

appear in the list of configured servers with a connected status.

Note: Adding the MCP server configuration does not

check

necessarily validate the authentication token

, so a wrong token only shows up here (as a 401).Ask "

. If the token is invalid or missing, the connection attempt will fail with an HTTP 401 Unauthorized response.

To verify that the AI client can retrieve data from Unimus, try asking a question such as:

How many devices does Unimus manage?

" and compare the answer

Compare the response with the device count displayed in the Unimus dashboard.

Disabling MCP

Add this to the Java startup parameters and restart Unimus:

Code Block
-Dunimus.core.ModelContextProtocol-disabled=true