The Axonius MCP Server - Beta - EA

This guide details how to integrate the Beta version of the Axonius Model Context Protocol (MCP) Server with your preferred AI agent (such as Claude, Augment, etc.). This integration enables AI-powered analysis, automation, and contextual querying directly against your cybersecurity asset inventory. It provides read-only capability.

🚧

Important

  • Ensure compliance with your organization's AI guidelines.
  • Axonius platform data will be fetched and processed by your AI tools.

Step 1: Create a Service Account enabled for the MCP server connection.

Note

The service account should be personal and not shared between people.

  1. From the top right corner of any page, click image.png. The System Settings page opens.

  2. In the Categories/Subcategories pane of the System Settings page, expand User and Role Management, and select Service Accounts.

  3. Click Add Service Account.

  4. Fill in the account details and select Allow Axonius MCP connection. If you do not see the Allow Axonius MCP connection option, contact Axonius your account team.

  5. Click Save.

Step 2: Add the Service Account Key and Secret

Follow these steps to set up the MCP Server on a macOS machine. This adds your service account API Key and API Secret to your Apple Keychain.

Step 1 - Run these methods in macOS Terminal after making these replacements:

  • Replace PASTE-KEY-HERE with the API Key for the service account.
  • Replace PASTE-SECRET-HERE with the API Secret for the service account.
security add-generic-password -a axonius -s mcp-api-key -w "PASTE-KEY-HERE"
security add-generic-password -a axonius -s mcp-api-secret -w "PASTE-SECRET-HERE"

Step 2 - Add the MCP JSON configuration to your AI client config file

For example, in Claude:

  1. Open Claude Desktop.
  2. Click your username, then Settings, then Developer.
  3. Click Edit Config. The configuration file is selected in the file system.
  4. Open your configuration JSON in an editor and add the following:
"axonius": {
    "command": "/bin/sh",
    "args": [
      "-c",
      "npx mcp-remote@latest https://{your_instance_url}.axonius.com/mcp --transport http-first --header \"api-key: $(security find-generic-password -a axonius -s mcp-api-key -w)\" --header \"api-secret: $(security find-generic-password -a axonius -s mcp-api-secret -w)\""
    ]
  }
  1. Quit and reopen Claude Desktop.

Once connected, you should be able to see your MCP in your AI client interface.

Using the MCP Server

Your AI agent can perform read-only operations. The following are some examples:

Tool NameFunctionTypical Use Case
AssetsGet information regarding your inventory.β€œGive me a list of all my critical CVEs” \ β€œHow many windows devices do I have?”
AdaptersInformation about your adapters.β€œWhat adapters are connected in my environment?”
DashboardsList your dashboards and get full details including the charts.β€œWhat dashboards do I have?”
EnforcementsList all enforcement actions and get details regarding a specific oneβ€œTell me about the Security Findings Risk Score enrichment”
QueriesList and run saved queriesβ€œShow me the definition of the 'Devices without EDR' query"
ReportsList configured reports and get details about a specific one"What's in the Weekly Security Report?"
Platform Users and RolesList all Axonius platform’s users and rolesβ€œGive me a list of all my Axonius admin users”
InfrastructureList all Axonius collector nodes and get the current discovery cycle statusβ€œIs a discovery cycle running right now?"
LogsList system activity logs with optional date filters and list all tags in the system.β€œWhat happened in the last 12 hours?"

Did this page help you?