Skip to main content
User guide

MCP

How to connect RST Index to AI ops assistants over MCP, covering the endpoint and protocol versions, client configuration, the tool list, permissions and typical workflows.

RST Index provides an MCP endpoint that any MCP client supporting Streamable HTTP can connect to, so AI ops assistants can search business entries, resolve which system an address belongs to and fill in details. Each tool matches a REST API endpoint.

Endpoint

ItemValue
AddressPOST {base_url}/mcp
TransportStreamable HTTP, stateless, each request returns application/json
Protocol versions2025-06-18, 2025-03-26, 2024-11-05
Methodsinitialize, tools/list, tools/call, ping
AuthenticationAuthorization: Bearer rstnav_xxxxxxxx. See API tokens and AI review

Client configuration

{
  "mcpServers": {
    "rst-index": {
      "type": "http",
      "url": "http://nav.corp.local:8080/mcp",
      "headers": { "Authorization": "Bearer rstnav_xxxxxxxx" }
    }
  }
}

Tools

Read-only tokens see and call only the first six tools. Read and write tokens can use them all.

ToolPermissionPurpose
get_environment_overviewreadOverview of the business environment: business zones (address ranges and domain rules), departments, applications and their APIs, company and department public entries (purpose, application, zone, visit count), and optionally recent asset facts. Call it first when starting to analyse an environment
search_linksreadSearch public entries by keyword, host or endpoint, application code, zone code or availability
resolve_endpointreadResolve an IP address, domain or port from a Zabbix host, WAF site, firewall rule or log to its business context: business zone, navigation entries, application and APIs, known facts and how many people bookmarked it
get_appreadApplication details, APIs, linked entries and facts by application code
list_discovered_endpointsreadAnonymous totals of endpoints bookmarked in staff personal navigation, for finding internal services not yet in public navigation or the asset register
list_fact_conflictsreadAsset facts on which sources disagree, each group with a suggested value and the reason. Enterprise
upsert_appenrichCreate or fill in an application. Applications maintained by people only have empty fields filled
upsert_app_apisenrichRegister application APIs, de-duplicated by method, base URL and path. APIs maintained by people are not changed
add_factsenrichWrite observed asset facts in bulk, up to 500 per call. Enterprise
set_link_enrichmentenrichFill in a public entry's purpose, type, application and business zone without overwriting conclusions made by people

Parameters follow the REST API. See REST API. Calling an Enterprise tool without an Enterprise licence returns isError: true with a message that an Enterprise licence is needed. Every call is recorded in the audit log and limited by the token's read scope.

Typical workflows

Asset enrichment (daily)

  1. Call get_environment_overview to get the existing business assets.
  2. Walk through Zabbix hosts, WAF sites and firewall DNAT rules, calling resolve_endpoint for each address.
    • Known addresses: write the platform details as facts with add_facts, and use set_link_enrichment to fill in purpose and application where needed.
    • Unknown addresses: infer the business system from access logs and WAF site names, register it with upsert_app and upsert_app_apis, then write endpoint facts.
  3. Call list_discovered_endpoints with uncovered_only=true to find services staff use that are missing from public navigation, and give admins a list of suggestions.

Alert analysis (real time)

When 10.10.1.5:8080 appears in an alert or attack event, resolve_endpoint returns its zone, application, the department's public entry, visit counts, known APIs and permitted firewall sources, so the AI can describe the impact in business terms.

Checking conflicts

list_fact_conflicts lists contradictory facts. The AI checks the source platform and writes the verified value with add_facts, or flags the wrong fact in its report for an admin to reject.

On this page