31MCP tools
23 / 8Read / write tools
0Tools that delete data
JWTBearer token auth
What it does

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.

Example

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.

Connection details

Endpoint and authentication

Endpointhttps://mcp.onefirewall.com/mcp
TransportMCP over streamable HTTP. Opening the URL in a browser only shows the landing page.
AuthenticationAn API token (JWT) created in the OneFirewall console, sent as Authorization: Bearer <token>.
IdentityEvery call runs as the token's account, with its role and organisation.
StateStateless. The server keeps no sessions and stores no tokens.
API specapp.onefirewall.com/openapi.json
Setup

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"}'
Reference

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)

ToolWhat it doesAccessCost
lookup_indicatorEverything known about one indicator.Read—
get_ip_infoASN, ISP, country, city and hosting/proxy flags for an IPv4 address.Read32 CC
resolve_domainResolve a domain to its IPv4 addresses.Read32 CC
get_stix2STIX 2 objects for an indicator.Read20 CC

IPv4 rules (6)

ToolWhat it doesAccessCost
search_ip_rulesSearch rules by address, or poll recently changed rules.Read2 CC
get_ip_ruleFetch one IPv4 rule by GID.Read1 CC
get_ip_historyHow an IPv4 address or network's record changed over time.Read40 CC
report_ipsReport malicious or benign IPv4 addresses or networks for your organisation.Write—
set_ip_decisionSet your organisation's block/unblock decision and/or expiry on an IPv4 rule.Write—
edit_ip_event_noteReplace the note on an event you reported. Only its creator may edit it.Write—

Domains, URLs, file hashes and IPv6 (5)

ToolWhat it doesAccessCost
get_indicator_recordThreat record for a domain, URL, file hash or IPv6 address.Read32 CC
list_latest_indicatorsMost recently updated records of these types.Read12 CC
list_indicator_submissionsWhat your organisation submitted for an indicator.Read—
report_indicatorReport a malicious domain, URL, file hash or IPv6 address.Write—
set_indicator_decisionBlock or unblock such an indicator for your organisation.Write—

Blocklists (3)

ToolWhat it doesAccessCost
get_ipv4_blocklistIPv4 addresses scoring at or above a minimum score.Read320 CC
get_indicator_blocklistDomains, URLs or file hashes scoring at or above a minimum score.Read45 CC
get_consensus_feedIPv4 rules several organisations agree on, as full records.Read—

Connectors (2)

ToolWhat it doesAccessCost
list_connectorsYour active firewall connectors, with configuration and sync status.Read—
set_connector_runningPause or resume one connector.Write—

Dashboards (7)

ToolWhat it doesAccessCost
get_threat_overviewYour organisation's indicator and connector counters.Read—
get_defense_summaryRecently blocked attacks and actors, with a timeline.Read—
get_threat_updatesPlatform-wide threat landscape summary for a time window.Read—
get_traffic_timeseriesYour firewall traffic over time.Read—
get_traffic_top_valuesMost frequent values of one traffic field.Read—
get_malicious_trafficTraffic in your logs that matches known threats.Read—
get_recent_traffic_eventsLatest raw traffic events.Read—

Traffic ingestion (3)

ToolWhat it doesAccessCost
ingest_traffic_eventsSend firewall traffic events to be checked against threat intelligence.Write—
ingest_traffic_logsSend raw firewall log lines; OneFirewall parses and queues them.Write—
get_traffic_ingest_summarySummary of traffic ingested with a tag, based on its first 256 events.Read—

System (1)

ToolWhat it doesAccessCost
get_server_versionServer version and health check. Needs no token.Read—
Use cases

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.”

Before you start

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.

Give your AI assistant a threat intelligence tool.

Hosted by OneFirewall. Nothing to install or self-host.

Get an API token
FAQ

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.