Give your AI assistant crowd-sourced threat intelligence.
The OneFirewall MCP server connects Claude, Cursor, Windsurf, VS Code and any other Model Context Protocol client to the Alliance's threat intelligence. Your assistant can investigate IPs, domains, URLs and file hashes, set block decisions that your firewalls enforce, manage connectors and analyse your traffic. It runs as your own account, with your role and permissions.
Threat intelligence your assistant can act on
Members of the Alliance report malicious IPs, domains, URLs and file hashes, and OneFirewall scores each one from 1 to 1000 (the Crime Score). The Model Context Protocol lets an AI assistant call that data as tools. You ask in plain language; the assistant picks the tool, calls it with your token and answers with the result.
Investigate
Look up any indicator: score, history, geolocation, ASN, STIX 2 objects and what your organisation has already reported.
Enforce
Report indicators and set block or unblock decisions with an expiry. Connected firewalls apply them on their next sync.
Analyse
Send firewall events or raw log lines, find traffic that matches known threats and summarise what was blocked.
One question, three tool calls
# User
Is 203.0.113.45 hitting us? If it's bad, block it for 24 hours.
# Assistant calls
lookup_indicator {"indicator": "203.0.113.45"}
# Assistant calls
get_malicious_traffic {"ip": "203.0.113.45"}
# Assistant calls
set_ip_decision {"decision": "block", "expiry": "24h"}
# Assistant
Score and recent hits summarised; block set for 24 hours; firewalls enforce it on next sync.
Illustrative; argument names are simplified. Your client shows each call and, for write tools, can ask you to approve it first.
Endpoint and authentication
| Endpoint | https://mcp.onefirewall.com/mcp |
| Transport | MCP over streamable HTTP. Opening the URL in a browser only shows the landing page. |
| Authentication | An API token (JWT) created in the OneFirewall console, sent as Authorization: Bearer <token>. |
| Identity | Every call runs as the token's account, with its role and organisation. |
| State | Stateless. The server keeps no sessions and stores no tokens. |
| API spec | app.onefirewall.com/openapi.json |
Connect in two minutes
Create a token in the console, then add the server to your client. Replace YOUR_TOKEN with your token.
Claude Code
Add the server from the terminal, then run /mcp inside Claude Code to check the connection.
claude mcp add --transport http onefirewall \
https://mcp.onefirewall.com/mcp \
--header "Authorization: Bearer YOUR_TOKEN"
Claude Desktop, Cursor, Windsurf and other mcpServers clients
Add this entry to the client's MCP configuration file.
{
"mcpServers": {
"onefirewall": {
"type": "http",
"url": "https://mcp.onefirewall.com/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
VS Code
VS Code asks for the token once and stores it securely, so it never sits in the file.
// .vscode/mcp.json
{
"servers": {
"onefirewall": {
"type": "http",
"url": "https://mcp.onefirewall.com/mcp",
"headers": { "Authorization": "Bearer ${input:onefirewall-token}" }
}
},
"inputs": [
{ "id": "onefirewall-token", "type": "promptString", "password": true,
"description": "OneFirewall API token" }
]
}
curl (test your token)
Lists the available tools. A good way to confirm a token works before configuring a client.
curl -s https://mcp.onefirewall.com/mcp \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
The 31 tools
23 tools read data and 8 write it. None delete anything. CC is the Credit Coin cost per call where one applies.
Lookups (4)
| Tool | What it does | Access | Cost |
|---|---|---|---|
lookup_indicator | Everything known about one indicator. | Read | — |
get_ip_info | ASN, ISP, country, city and hosting/proxy flags for an IPv4 address. | Read | 32 CC |
resolve_domain | Resolve a domain to its IPv4 addresses. | Read | 32 CC |
get_stix2 | STIX 2 objects for an indicator. | Read | 20 CC |
IPv4 rules (6)
| Tool | What it does | Access | Cost |
|---|---|---|---|
search_ip_rules | Search rules by address, or poll recently changed rules. | Read | 2 CC |
get_ip_rule | Fetch one IPv4 rule by GID. | Read | 1 CC |
get_ip_history | How an IPv4 address or network's record changed over time. | Read | 40 CC |
report_ips | Report malicious or benign IPv4 addresses or networks for your organisation. | Write | — |
set_ip_decision | Set your organisation's block/unblock decision and/or expiry on an IPv4 rule. | Write | — |
edit_ip_event_note | Replace the note on an event you reported. Only its creator may edit it. | Write | — |
Domains, URLs, file hashes and IPv6 (5)
| Tool | What it does | Access | Cost |
|---|---|---|---|
get_indicator_record | Threat record for a domain, URL, file hash or IPv6 address. | Read | 32 CC |
list_latest_indicators | Most recently updated records of these types. | Read | 12 CC |
list_indicator_submissions | What your organisation submitted for an indicator. | Read | — |
report_indicator | Report a malicious domain, URL, file hash or IPv6 address. | Write | — |
set_indicator_decision | Block or unblock such an indicator for your organisation. | Write | — |
Blocklists (3)
| Tool | What it does | Access | Cost |
|---|---|---|---|
get_ipv4_blocklist | IPv4 addresses scoring at or above a minimum score. | Read | 320 CC |
get_indicator_blocklist | Domains, URLs or file hashes scoring at or above a minimum score. | Read | 45 CC |
get_consensus_feed | IPv4 rules several organisations agree on, as full records. | Read | — |
Connectors (2)
| Tool | What it does | Access | Cost |
|---|---|---|---|
list_connectors | Your active firewall connectors, with configuration and sync status. | Read | — |
set_connector_running | Pause or resume one connector. | Write | — |
Dashboards (7)
| Tool | What it does | Access | Cost |
|---|---|---|---|
get_threat_overview | Your organisation's indicator and connector counters. | Read | — |
get_defense_summary | Recently blocked attacks and actors, with a timeline. | Read | — |
get_threat_updates | Platform-wide threat landscape summary for a time window. | Read | — |
get_traffic_timeseries | Your firewall traffic over time. | Read | — |
get_traffic_top_values | Most frequent values of one traffic field. | Read | — |
get_malicious_traffic | Traffic in your logs that matches known threats. | Read | — |
get_recent_traffic_events | Latest raw traffic events. | Read | — |
Traffic ingestion (3)
| Tool | What it does | Access | Cost |
|---|---|---|---|
ingest_traffic_events | Send firewall traffic events to be checked against threat intelligence. | Write | — |
ingest_traffic_logs | Send raw firewall log lines; OneFirewall parses and queues them. | Write | — |
get_traffic_ingest_summary | Summary of traffic ingested with a tag, based on its first 256 events. | Read | — |
System (1)
| Tool | What it does | Access | Cost |
|---|---|---|---|
get_server_version | Server version and health check. Needs no token. | Read | — |
Things to ask once you're connected
“Is 203.0.113.45 hitting us? If it's bad, block it for 24 hours.”
“Is 198.51.100.23 malicious, and has anything in our network talked to it?”
“Here are 200 lines from our nginx access log. Find the attackers and report them.”
“Block this IP across all our firewalls for 24 hours, then unblock it automatically.”
“Which of our connectors are out of sync, and what did they block this week?”
“Summarise today's global threat landscape and our top attacking actors.”
“Give me the malicious domains scoring 400 or more for our DNS filter.”
Costs, permissions and guardrails
Credit Coins
Many lookups and feeds debit Credit Coins (CC) from your organisation; blocklists cost the most. When the balance runs out, calls return error 402. See OFA Coins.
Roles
Some tools are limited by role. The traffic dashboards, for example, need Super Admin or Member Admin. Calls your role can't make return 403.
No deletions
Deleting events or submissions, removing connectors and replacing connector configuration are deliberately left out. Every decision can be reversed.
Enforcement
Block decisions reach your firewalls through your connectors on their next sync.
MCP Server FAQ
What is the OneFirewall MCP server?
A hosted Model Context Protocol server at https://mcp.onefirewall.com/mcp. It gives AI assistants such as Claude, Cursor, Windsurf and VS Code access to OneFirewall's crowd-sourced threat intelligence through 31 tools.
Which AI assistants work with it?
Any client that supports MCP over streamable HTTP with a custom Authorization header, including Claude Code, Claude Desktop, Cursor, Windsurf and VS Code.
Can the assistant change anything?
Yes, within limits. Eight write tools can report indicators, set block or unblock decisions, edit your own event notes, pause or resume a connector and ingest traffic. No tool deletes data, and every decision can be reversed.
How is access controlled?
Each request carries an API token (JWT) from the OneFirewall console as a Bearer header. Calls run with that account's role and organisation. The server is stateless and stores no tokens.
Does it cost anything to use?
Many lookups and feeds debit Credit Coins from your organisation's balance, with the cost shown per tool. When the balance runs out, calls return error 402.
How do I check the connection?
In Claude Code, run /mcp. From a terminal, send a JSON-RPC tools/list request with curl. The get_server_version tool also works without a token.
