firewalla-mcp
Exposes the Firewalla MSP API as tools for Claude Code and other MCP clients, enabling natural-language management of Firewalla boxes, alarms, rules, devices, flows, target lists, and trends with full read/write capabilities.
README
firewalla-mcp
A local MCP server exposing the Firewalla MSP API — boxes, alarms, rules, devices, flows, target lists, and trends — as tools for Claude Code and other MCP-compatible clients.
Full read/write: list and inspect your Firewalla boxes, alarms, devices, and flows, and create/pause/resume/delete firewall rules and target lists, all from natural-language requests to your AI assistant.
Prerequisites
- An MSP-managed Firewalla box, and an MSP API personal access token (Firewalla MSP dashboard → Settings → API)
uvinstalled (curl -LsSf https://astral.sh/uv/install.sh | sh)
Setup
git clone https://github.com/djuntgen/firewalla-mcp.git
cd firewalla-mcp
uv sync
The server reads two environment variables at startup:
| Variable | Description |
|---|---|
FIREWALLA_MSP_DOMAIN |
Your MSP domain, e.g. your-alias.firewalla.net |
FIREWALLA_TOKEN |
Your Firewalla MSP API personal access token |
Export them however fits your workflow — a .env file loaded by your shell, a secrets manager, or directly:
export FIREWALLA_MSP_DOMAIN="your-alias.firewalla.net"
export FIREWALLA_TOKEN="$(op read 'op://Vault/Firewalla PAT/password')" # example using 1Password CLI
Register with Claude Code
claude mcp add firewalla --env FIREWALLA_MSP_DOMAIN="your-alias.firewalla.net" --env FIREWALLA_TOKEN="your-token" -- uv run --project /path/to/firewalla-mcp firewalla-mcp
This registers the server at local scope (machine-specific, not committed to a shared .mcp.json).
Tools
One tool per Firewalla MSP API v2 operation:
| Category | Tools |
|---|---|
| Boxes | list_boxes, get_box |
| Devices | list_devices |
| Alarms | list_alarms, get_alarm, delete_alarm |
| Rules | list_rules, create_rule, pause_rule, resume_rule, delete_rule |
| Flows | list_flows |
| Target Lists | list_target_lists, get_target_list, create_target_list, update_target_list, delete_target_list |
| Trends | get_flow_trends, get_alarm_trends |
Full read/write — there is no server-side dry-run gate on writes. Rely on your MCP client's normal confirmation prompts before destructive actions (delete_rule, delete_target_list, delete_alarm).
Error handling
HTTP 4xx responses fail immediately. HTTP 5xx responses and connection errors are retried once (0.5s backoff) before failing, raising FirewallaAPIError(status_code, body).
Development
uv sync
uv run pytest -v
Tests are fully mocked (respx) — no real Firewalla API calls or credentials are needed to run the suite. See CONTRIBUTING.md.
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.