Introducing native MCP support for AI Agents

Introducing native MCP support for AI Agents

Unimus 2.10.0 adds native MCP support, allowing AI Agents to access network data through Unimus and use Unimus' deterministic tools to interact with the network. In this article, we explain how the integration works, what Agents can do with it today, and where its boundaries lie.

Managing network configurations across thousands of devices with Unimus generates a lot of data. Each device contributes its configuration backups, change history, outputs and logs from Automations, and Compliance results. Finding relevant information and connecting the dots across a large network can take considerable time and effort.

This is where large language models (LLMs) can be genuinely helpful.

Imagine planning a large network-wide configuration change. You need to identify affected devices, inspect their configurations, determine the required changes and prepare Automation presets. You can let an AI assistant handle the initial investigation and suggest the required configuration changes, which you then review before deciding how to proceed. Alternatively, you can have an AI Agent review you work, correlate with data in Unimus, or perform large-scale audits and compliance lookups.

Starting with Unimus 2.10.0, native Model Context Protocol (MCP) support enables these, and many other workflows.


How MCP works in Unimus

If you have not run into it yet, MCP stands for Model Context Protocol. It is an open standard that allows AI Agents (their harnesses) to connect to external data sources and tools.

To understand how the pieces fit together, let's look at the components involved:

  • The AI model is the large language model (LLM) that performs the reasoning.
  • The Agent harness is the application that connects to the model, communicates with MCP servers, and executes the model's requested tool calls. Popular examples include Claude Code, OpenAI Codex, or Hermes.
  • The MCP server, built into Unimus, exposes Unimus' data and functionality through tools that the AI harness can use.

The following diagram illustrates how these components interact.

We are not adding an AI chat interface to the Unimus UI, nor does Unimus include its own AI model. Instead, you choose the AI model and harness that best fit your needs, budget, and security requirements. This gives you the flexibility to choose your preferred provider and switch models as their capabilities, pricing, and availability evolve.

The MCP server in Unimus 2.10.0 uses Streamable HTTP(S) and requires no separate installation or additional server components. To connect, your AI harness must support remote MCP servers over Streamable HTTP, and be configured with the Unimus MCP endpoint URL and an access token. The harness handles tool discovery automatically.

For detailed instructions on connecting an AI harness to Unimus, see our wiki.


Why not give the AI direct access to your devices?

Giving an AI model direct SSH access to production network devices introduces unnecessary complexity and risk. LLMs are non-deterministic by nature, and allowing them to interact directly with devices means relying on them to handle credentials, SSH session management, vendor-specific CLI syntax and behavior, command execution, and auditing. A single mistake in network configuration can mean an expensive multi-hour outage, so we don't want Agents to just randomly run commands on our infrastructure.

With MCP, Unimus handles device communication as usual and exposes selected data and functionality through structured tools. The agent harness interacts with Unimus rather than connecting directly to network devices.

This keeps device access and communication within Unimus, while allowing the AI to work with the network context it needs without having to manage the underlying device interactions.

Unimus becomes the AI’s data source for network context, and a deterministic execution layer for the Agents to interact with the network.


MCP does not replace the REST API

MCP is another interface to Unimus, shaped specifically for AI applications and Agents. The API is still the right tool for scripted integrations and traditional automation.

The two can also be combined. MCP tools in Unimus 2.10.0 are read-only, but an AI harness with a Unimus REST API token can perform write operations such as running Automation and Compliance presets, triggering backups, and managing inventory and credentials.

REST API tokens can be restricted to specific permissions. Grant the agent only the operations required for its workflow, following the security recommendations at the end of this article.


What the current MCP tools cover

Unimus 2.10.0 exposes 69 MCP tools. All of them are currently read-only, allowing Agents to retrieve, search, compare, and analyze Unimus data, but not modify configurations or trigger write operations.

Here is an overview of the available tools:

Area What the AI can read
Dashboard Dashboard metrics, job history, and runtime statistics
Devices Device details, variables, job history, backup flows, filters, and last job status
Tags Tags, tags per device, and per zone
Zones Zones, devices in each Zone, and thread-pool utilization metrics per zone
Backups Backups and their contents, configuration diffs, change history, filters, and backup flows
Config Search Saved searches, their details, and results
NMS sync NMS sync presets and their details
Automations Automation presets, targets, output groups, and advanced settings
Network scan Network scan presets, their details, and discovered addresses
Compliance Compliance presets, rules, conditions, results, and device compliance status
Schedules Schedules and schedules per task type
Credentials Device credentials and CLI mode-change passwords: list, details, binding status

MCP write tools are planned for a future release, with authorization enforced through MCP token permissions. We will also add an option to enforce explicit approval for any write tools through an elicitation flow.

For a complete list of available MCP tools, including their names, descriptions, and input parameters, see our wiki.


Practical use cases

The following examples demonstrate how Unimus MCP can support common network management workflows. The speed, quality, and reliability of results depend on the AI model and the harness, the size and complexity of the network, and how the task is formulated in the prompt.

Investigating an outage

"Users at the Eastside branch lost access to internal applications around 14:05 today. Identify the devices in that Zone in Unimus, examine their configuration changes during the preceding 24 hours, find all relevant Automation presets targeting those devices, and highlight changes that could explain the outage."
0:00
/
AI-assisted network troubleshooting with Unimus MCP

During an incident, one of the first questions to answer is whether anything changed recently. The AI can identify the relevant devices using Zones, tags and descriptions, then retrieve their change history and compare configuration backups. It can highlight changes that might explain the symptoms, such as a modified access list on the branch router rather than an unrelated banner update on an access switch.

This helps to quickly narrow the investigation, whether it points to a likely cause or shows that nothing relevant changed.

Planning a configuration change

"We're retiring VLAN 312 and its subnet, 10.44.12.0/24. Analyze the latest configuration backups across all devices managed by Unimus and identify every reference to this VLAN or subnet, including SVIs, allowed VLANs on trunks, access lists, static routes, DHCP helpers, and NAT rules. Create Automation presets containing the necessary removal commands and schedule them for execution."

A forgotten VLAN reference can leave behind a stale route, an orphaned access list entry, or a trunk still carrying a VLAN that no longer exists. The Agent can search configuration backups for references to the VLAN and subnet, including alternative representations such as subnet masks and wildcard masks. On larger networks, it can work from saved Config search results instead.

For each affected device, the Agent can prepare vendor-specific removal commands. With the appropriate REST API permissions, it can also create and schedule Automation presets to apply the changes, along with Compliance presets to verify that no references remain afterward.

You review the findings, commands, and Compliance rules before deployment, keeping the engineer in control while reducing the preparation work.

Turning a security audit into continuous Compliance

"Find every device in Unimus that still has Telnet or HTTP management enabled, SNMPv1 or v2c with a default community string, or local accounts other than our break-glass user. Create Automation presets to remediate these issues, and Compliance presets that will catch them in the future."

The Agent can check the latest configuration backups for these conditions and identify the affected devices. It can then prepare device-specific Automation presets with the necessary remediation commands and create Compliance presets for each check.

After you review and schedule the Automation presets in Unimus, they apply the required changes to affected devices. Once created, the Compliance presets verify that the issues have been addressed and catch any recurrence.


Correlating data from multiple systems

You can take AI-assisted network management even further by connecting your Agent to multiple MCP servers, allowing it to access and correlate data from other systems, such as monitoring, IPAM, inventory, or topology tools, alongside Unimus in a single conversation. For example, the Agent can correlate a monitoring alert with recent configuration changes or use topology data to examine devices along the path between two endpoints. It could also help plan a firmware upgrade sequence that preserves management access throughout the rollout.

In practice, what you can do depends mainly on how much of your data you make available to the AI and on the capabilities of the AI model and harness you use.


Security considerations

Connecting an AI Agent to your network configuration management and automation software requires careful consideration. As with any system accessing sensitive infrastructure data, AI integrations require careful control over authentication, authorization, and data exposure. Here's how Unimus addresses these aspects.

Authentication is token-based. The MCP client must provide a valid token to connect to Unimus.

Authorization is enforced by token permissions. Read operations are available, but sensitive data remain hidden unless the MCP token is explicitly permitted to access them. When creating a token, you can control access to device credentials, NMS sync credentials, NetXMS zone credentials, and Remote Core access keys individually.

MCP token creation

Unimus does not need to be exposed to the internet. If your Agent harness runs inside your network, it can connect to the MCP endpoint over your internal network.

Your Unimus data goes where the AI model runs. Every MCP tool result is passed to the AI model. With a cloud-hosted model, configuration backups, change history, device and preset details retrieved through MCP are sent to the model provider. A self-hosted model and harness can keep this data within your own environment. There are many inference providers today that provide models with Zero Data Retention, but you want to be careful about where you send your data - so please consider you security postures and policies.

MCP can be disabled entirely. If Agent access to Unimus is not approved in your environment, or you simply do not want use it, you can disable MCP across the instance by adding the following argument to the Unimus server Java startup parameters:

-Dnetcore.mcp.server.enabled=false

Practical recommendations

  • Enforce network isolation. Let the Agent harness reach Unimus, but block its direct access to device management interfaces. Unimus remains responsible for all device communication.
  • Use least privilege. Create MCP and REST API tokens with only the permissions each workflow requires.
  • Scope your prompts. When managing large networks, point the AI at a specific Unimus Zone, tag, or saved Config Search rather than asking it to check every device. You’ll get faster, more focused results and burn fewer tokens.
  • Verify AI-generated results. AI models are non-deterministic and can misinterpret requests, overlook relevant information, or reach incorrect conclusions. Treat AI-generated findings, recommendations, commands, and Compliance rules as proposals to validate, not authoritative answers.
  • Start read-only and introduce write operations gradually. Begin with investigative workflows, then move from analysis and recommendations to approved changes and execution.

How much autonomy you give your Agents(s) is ultimately your decision, depending on your risk tolerance and change management process. We recommend starting cautiously.


Final words

Our claim here is not that AI is undoubtedly the future of network management. We try to be more grounded than that. AI today can provide real value: helping network engineers identify patterns that might otherwise go unnoticed and get things done faster and more efficiently by making use of the functionality and structured, deterministic infrastructure data available in Unimus and the other systems they rely on.

Unimus 2.10.0 introduces this capability through 69 read-only MCP tools, with write tools planned for a future release. If you try the integration, we'd like to hear your feedback. Tell us which workflows you find useful, what capabilities you'd like to see next, or where you run into problems. You can share your thoughts on the forum or through our support channel.

Until next time, the Unimus Team.

←→