Labsco
PovedaAqui logo

SuzieQ

โ˜… 4

from PovedaAqui

Interact with the SuzieQ network observability platform via its REST API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

MCP Server for SuzieQ

smithery badge

This project provides a Model Context Protocol (MCP) server that allows language models and other MCP clients to interact with a SuzieQ network observability instance via its REST API.

Overview

The server exposes SuzieQ's commands as MCP tools:

  • run_suzieq_show: Access the 'show' command to query detailed network state tables
  • run_suzieq_summarize: Access the 'summarize' command to get aggregated statistics and summaries

These tools enable clients (like Claude Desktop) to query various network state tables (e.g., interfaces, BGP, routes) and apply filters, retrieving the results directly from your SuzieQ instance.

Using with Claude Desktop

Integrate the server with Claude Desktop for seamless use:

  1. Find Claude Desktop Config: Locate the claude_desktop_config.json file.

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Create the file and the Claude directory if they don't exist.
  2. Edit Config File: Add an entry for this server. Use the absolute path to main.py. The server loads secrets from .env, so they don't need to be in this config.

{
  "mcpServers": {
    "suzieq-server": {
      // Use 'uv' if it's in the system PATH Claude uses,
      // otherwise provide the full path to the uv executable.
      "command": "uv",
      "args": [
        "run",
        "python",
        // --- VERY IMPORTANT: Use the ABSOLUTE path below ---
        "/full/path/to/your/project/mcp-suzieq-server/main.py"
      ],
      // 'env' block is not needed here if .env is in the project directory above
      "workingDirectory": "/full/path/to/your/project/mcp-suzieq-server/" // Optional, but recommended
    }
    // Add other servers here if needed
  }
}
  • Replace /full/path/to/your/project/mcp-suzieq-server/main.py with the correct absolute path on your system.
  • Replace /full/path/to/your/project/mcp-suzieq-server/ with the absolute path to the directory containing main.py and .env. Setting workingDirectory helps ensure the .env file is found.
  • If uv isn't found by Claude, replace "uv" with its absolute path (find via which uv or where uv).
  • On Windows, you might need "env": { "PYTHONUTF8": "1" } if you encounter text encoding issues.
  1. Restart Claude Desktop: Completely close and reopen Claude Desktop.

  2. Verify: Look for the MCP tool indicator (hammer icon ๐Ÿ”จ) in Claude Desktop. Clicking it should show both the run_suzieq_show and run_suzieq_summarize tools.