Cato MCP CMA logo

Cato MCP CMA

Organization
catonetworks

This repository provides a local mcp-server for Cato Network's public GraphQL API

Publishercatonetworks
Repositorycato-mcp-server
LanguageTypeScript
Forks
2
Stars
26
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Cato MCP CMA exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    26 stars and 2 forks from the linked repository.

Cato MCP CMA

A Model Context Protocol (MCP) server implementation that integrates with Cato CMA Public API.

Overview

This server implements the Model Context Protocol to allow AI assistants to interact with Cato's GraphQL API.
It provides tools that enable AI models to query and retrieve information from Cato systems in a standardized way.

The provided MCP server has been tested for compatibility with popular MCP clients (non-free tier) - such as Cursor and Claude Desktop using the Claude Sonnet 4 model, and is recommended for use with these clients.

The server is available as a docker image at ghcr.io/catonetworks/cato-mcp-server

Add the following to Claude-Desktop config file:\

MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "cato": {
      "command": "docker",
      "args": [
          "run",
          "--rm",
          "--pull",
          "always",
          "-i",
          "-e", "CATO_API_HOST=<your Cato API Host>",
          "-e", "CATO_ACCOUNT_ID=<your Cato Account ID>",
          "-e", "CATO_API_KEY=<your Cato API Key>",
          "ghcr.io/catonetworks/cato-mcp-server:latest"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Notes:

  • The --pull always option ensures that the AI Agent application (e.g. Claude-Desktop) uses cato-mcp-server's most updated version.
    The AI Agent application running cato-mcp-server might open a popup asking for permissions to access data from other apps.
    \
    • If you don't wish to allow this, you can remove the --pull always option, but then you will need to manually update the image when a new version is released by executing:
    bash
    docker pull ghcr.io/catonetworks/cato-mcp-server:latest

Configuration

The server requires the following environment variables:

properties
# The hostname of the Cato API (without protocol). e.g.: api.catonetworks.com
# For details about your Cato API hostname, please see: https://support.catonetworks.com/hc/en-us/articles/20564679978397-What-is-the-Cato-API
CATO_API_HOST: "api.catonetworks.com"
# The Cato account-id
CATO_ACCOUNT_ID: "1234567"
# The Cato API-KEY for authentication
CATO_API_KEY: "123abc"

Available Tools

CategoryToolDescription
Entity Lookupentity_lookupRetrieve a list of entities of a specific type (e.g., users, sites, services),with optional filtering (e.g., by name) and pagination support.
Sitessites_by_locationReturns site data enriched with geographic location and associated PoP connectivity information.
site_detailsRetrieves comprehensive site details including operational status, connectivity status, High Availability (HA) information, and device interface statuses.
site_typesProvides details for all configured sites, including connection methods (e.g., Socket, IPSEC, vSocket).
socket_versionsLists version information for all deployed Sockets, including site association.
wan_connectivityProvides real-time metrics for WAN links at each site, including traffic volume, packet loss, latency, and jitter, to assess link performance and health.
Users and Clientsuser_detailsProvides profile and status information for connected remote users, including device name, operating system, and connection status.
user_connection_detailsOffers session-specific data for connected remote users, such as uptime, connection duration, and associated PoP details.
user_software_versionsLists operating system and Cato Client version information for connected remote users.
Site Metricssite_network_healthRetrieves a summary of network health for sites over a specified time frame, identifying sites with poor network quality (high packet loss, latency, jitter).
top_site_bandwidth_consumersRanks sites by total traffic (bytesUpstream + bytesDownstream) in a given time frame for capacity planning and traffic analysis.
site_metrics_timeseriesRetrieves time-bucketed metrics data for sites, enabling trend analysis, peak detection, and traffic pattern identification.
site_metricsReturns aggregated metrics for sites (no timeseries data).
site_metrics_summaryProvides aggregated metrics analysis for sites grouped by various dimensions like site type, connection type, region, or interface role.
annotation_event_counterAnalyzes infrastructure change events and annotations to track stability and identify sites with frequent changes or issues.
User Metricstop_users_bandwidth_consumersRanks VPN-connected users by total traffic (bytesUpstream + bytesDownstream) in a given time frame for bandwidth monitoring, cost management, and identifying unusual usage patterns.
user_metrics_timeseriesRetrieves time-bucketed metrics data for VPN-connected users, enabling trend analysis and performance monitoring over time.
user_metricsReturns aggregated metrics for VPN-connected users (no timeseries data).

Development

Building from source:

yarn install
yarn build

Claude-Desktop configuration example:

add the following to: ~/Library/Application\ Support/Claude/claude_desktop_config.json

json
{
    "mcpServers": {
        "cato": {
            "command": "node",
            "args": ["/path/to/cato-mcp-cma/build/index.js"],
            "env": {
                "CATO_API_HOST": "api.catonetworks.com",
                "CATO_ACCOUNT_ID": "1234567",
                "CATO_API_KEY": "123abc",
                "CATO_LOG_LEVEL": "debug"
            },
            "disabled": false,
            "autoApprove": []
        }        
    }
}

Building the Docker image:

at the root of the project, run:

bash
docker build -t catonetworks/cato-mcp-server .

Claude-Desktop mcp-server configuration example:

add the following to: ~/Library/Application\ Support/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "cato": {
      "command": "docker",
      "args": [
          "run",
          "--rm",
          "-i",
          "-e", "CATO_API_HOST=api.catonetworks.com",
          "-e", "CATO_ACCOUNT_ID=<your Cato Account ID>",
          "-e", "CATO_API_KEY=<your Cato API Key>",
          "catonetworks/cato-mcp-server"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Installation

TypingMind
{
  "mcpServers": {
    "cato-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "CATO_API_HOST={{config.CATO_API_HOST}}",
        "-e",
        "CATO_ACCOUNT_ID={{config.CATO_ACCOUNT_ID}}",
        "-e",
        "CATO_API_KEY={{config.CATO_API_KEY}}",
        "ghcr.io/catonetworks/cato-mcp-server:latest"
      ],
      "env": {
        "CATO_API_HOST": "<CATO_API_HOST>",
        "CATO_ACCOUNT_ID": "<CATO_ACCOUNT_ID>",
        "CATO_API_KEY": "<CATO_API_KEY>"
      }
    }
  }
}

Use Cato MCP CMA MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Cato MCP CMA is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Cato MCP CMA as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Cato MCP CMA MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "cato-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cato-networks/mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Cato MCP CMA MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Cato MCP CMA MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cato MCP CMA to help me with this task?
Cato MCP CMA
Sure. I read it.
Here is what I found using Cato MCP CMA.

Frequently asked questions

What is the Cato MCP CMA MCP server used for?

Cato MCP CMA is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Cato MCP CMA MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Cato MCP CMA with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Cato MCP CMA MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Cato MCP CMA connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Cato MCP CMA MCP to TypingMind?

Cato MCP CMA runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Cato MCP CMA MCP provide in TypingMind?

Cato MCP CMA exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Cato MCP CMA MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Cato MCP CMA requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇