batfish-q-mcp

v0.2.0
io.github.martimy/batfish-q-mcp Checked 3 hours ago Published 20 days ago

An MCP server exposing Batfish tools so AI assistants can query network configs in plain language.

Values you need

VariableWhat it is
BATFISH_SERVERoptional Host of the Batfish server (default 127.0.0.1)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add batfish-q-mcp -- uvx batfish-q-mcp==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "batfish-q-mcp": {
      "args": [
        "batfish-q-mcp==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "batfish-q-mcp": {
      "args": [
        "batfish-q-mcp==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "batfish-q-mcp": {
      "args": [
        "batfish-q-mcp==0.2.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.batfish-q-mcp]
command = "uvx"
args = ["batfish-q-mcp==0.2.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: batfish_find_questions, batfish_list_questions, batfish_get_question, batfish_list_snapshots, batfish_delete_snapshot, batfish_upload_snapshot, batfish_run_question, batfish_list_assertions, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json