AI & MCP integrations

Available on: all plan levels

Firezone exposes Model Context Protocol (MCP) tools for AI assistants to read and manage an account. Each tool maps to a REST API operation and acts with the connected admin's identity and granted permissions.

Connection methods

MethodFirezone Cloud USFirezone Cloud EUSetup guide
ChatGPT & Codex directory OAuthSupportedNot supportedChatGPT & Codex
Claude directory OAuthSupportedNot supportedClaude
Codex with a direct MCP connectionSupportedSupportedCodex MCP setup
Claude Code with a direct MCP connectionSupportedSupportedClaude Code MCP setup
Other compatible MCP clientsSupportedSupportedUniversal MCP

Direct MCP connections also authenticate through OAuth. The US-only limitation applies to the directory integrations; the EU MCP server has its own OAuth authorization server.

Regional endpoints

RegionMCP serverOAuth authorization server
Firezone Cloud UShttps://rest-api.firezone.dev/mcphttps://app.firezone.dev
Firezone Cloud EUhttps://eu.rest-api.firezone.dev/mcphttps://eu.app.firezone.dev

The account, MCP endpoint, and authorization server must belong to the same region. OAuth tokens are bound to the exact regional MCP URL. A token for one region is not valid in the other.

OAuth

Connections require a Firezone admin. The authorization server handles sign-in and consent; the assistant receives access only to the permissions approved on the consent screen. When the client does not request scopes, the consent screen starts with read permissions selected.

PropertyValue
TransportStreamable HTTP
Grant typesAuthorization code and refresh token
PKCES256
Client identificationOAuth Client ID Metadata Documents (CIMD)
Token endpoint authenticationPublic clients (none) or private_key_jwt
Authorization server discovery/.well-known/oauth-authorization-server on the regional portal
Protected resource discovery/.well-known/oauth-protected-resource on the regional REST API host

Firezone does not provide dynamic client registration. A compatible MCP client supports CIMD and the authorization code flow with PKCE. REST API tokens cannot replace MCP OAuth tokens.

Permissions and supported operations

Scopes use the form entity:read or entity:write. For example, resources:read permits Resource lookups, while resources:write permits changes. Write implies read wherever an entity supports both levels.

EntityScope levelsSupported operations
accountreadView account details and limits.
actorsread, writeList, view, create, update, and delete Actors. Admin creation and deletion require the portal.
groupsread, writeList, view, create, update, and delete Groups; replace or update memberships.
external_identitiesread, writeList and view linked identities; unlink identities.
clientsread, writeList, view, update, delete, verify, and unverify Clients.
client_tokensread, writeList and view Client token records; create and revoke Client tokens.
sitesread, writeList, view, create, update, and delete Sites.
gatewaysread, writeList, view, create, rename, and delete Gateways. Creation with a token also requires gateway_tokens:write.
gateway_tokenswriteCreate, rotate, and revoke Gateway tokens.
resourcesread, writeList, view, create, update, and delete Resources; manage pool members.
policiesread, writeList, view, create, update, and delete Policies; inspect available posture fields.
auth_providersreadList and view authentication providers.
directoriesreadList and view directories.
posture_providersread, writeList and view posture providers and synced devices; rename, enable, disable, or delete providers.
logsreadRead change, session, flow, and API request logs.

Tools outside the granted scopes are omitted from tool discovery. Scope checks also apply when a tool is called directly. Scopes can restrict the admin's access, but cannot grant more access than the admin already has.

Tools include read-only and write annotations. Whether an assistant asks for confirmation depends on its host's approval settings; annotations do not replace Firezone permission checks.

The REST API reference defines the operations and their parameters.

Activity and credentials

Every tool call is a REST API request, appears in Logs → API Request Logs, and uses the REST API's rate limits.

Client and Gateway token creation returns a live credential to the assistant. Disconnecting the OAuth connection revokes its access, but does not revoke credentials created through it. Those credentials remain valid until revoked separately.

Connections appear under Your settings → Connected apps in the admin portal. Disconnecting a connection requires the assistant to sign in again before it can use Firezone.

Data and privacy

Firezone receives tool requests and returns their results. Firezone does not see or store conversations with the assistant. Tool results are shared with the AI provider and follow that provider's data terms. Firezone handles its own data as described in the privacy policy.


Need help? See all support options.