Skip to main content

AxonFlow Public MCP Connector

The public MCP connector is a remote MCP server that an MCP client adds directly. You do not need an AxonFlow deployment, policies or agents first. It offers four read-only tools. They review an MCP or agent setup, mask personal data and secrets in text, check whether an agent action would be allowed, and list the rule sets AxonFlow can check against.

Every answer is advisory. It is a check against AxonFlow's built-in rules, not an enforcement decision. To enforce policy on every agent call as it happens, use the AxonFlow plugin or SDK.

Availability

The connector ships in platform v11.6.0 and is turned on per deployment. It is not yet enabled on AxonFlow Hosted: https://mcp.getaxonflow.com/mcp does not answer yet, and policy-pack add-ons cannot be bought yet.

What it is​

PropertyValue
Addresshttps://mcp.getaxonflow.com/mcp
TransportMCP Streamable HTTP
Sign-inOAuth 2.1 with PKCE, through the AxonFlow Hosted portal
Toolsreview_agent_setup, redact_sensitive_text, check_action, describe_policy_sets
AccountA Hosted organization. Your first connection creates one if you have none

The connector is the same MCP server the AxonFlow plugins use, on its own address. That address lists only the four connector tools. It accepts only connector access tokens; a plugin's Basic credential does not work there. Plugins and SDKs keep using https://try.getaxonflow.com/api/v1/mcp-server (see AxonFlow Hosted Service).

Add it to Claude and other clients​

Add the connector as a remote MCP server with the address https://mcp.getaxonflow.com/mcp. Your client then does the rest:

  1. Its first request gets 401 with a WWW-Authenticate: Bearer resource_metadata="…" challenge.
  2. It reads the protected resource metadata, which names the AxonFlow Hosted portal as the authorization server and mcp:tools as the scope.
  3. It registers itself and opens the portal's sign-in page in your browser (see Sign-in and organization).

What each client needs from the server:

ClientHow it registersNotes
Claude (claude.ai)Client ID Metadata DocumentAdd it as a custom connector with the address above
Codex CLIDynamic client registrationSigns in through a loopback redirect on your machine
Other MCP clientsDynamic client registrationThe client must support OAuth 2.1 with PKCE S256. If it sends resource, the value must be https://mcp.getaxonflow.com/mcp

A client may register itself only with a redirect address on the portal's allowlist, or with a loopback redirect (http://127.0.0.1, http://localhost or http://[::1], any port) for an app on your own machine. The sign-in page warns you when an app registered itself, so continue only if you started the connection from your own assistant.

Sign-in and organization​

The Hosted portal is the OAuth 2.1 authorization server. It supports the authorization-code flow with PKCE S256 only, for public clients (no client secret). It binds tokens to the connector address (RFC 8707) and returns iss on every authorization response (RFC 9207).

  1. Email. Enter your email address on the portal's page. The portal emails you an eight-digit, one-time code. If you already have a portal session, this step is skipped for that session's organization.
  2. Code. Enter the code on the same page. The code is valid for 10 minutes. Five wrong codes end the sign-in, and you start again.
  3. Organization. The portal looks up every Hosted organization where your address is an active, verified member, in any role:
    • None: a new Hosted organization is created with you as its owner. Your first connection is your sign-up.
    • One: the connection uses that organization.
    • Several: you choose the organization the connection should use.
  4. Consent. The page names the app and where you will be sent back. Allow creates the connection; Deny stops it.

The connection is a linked client of your organization, one per client family (Claude, ChatGPT, Cursor, other). An app that registers itself with a loopback redirect uses the "other" slot. It counts toward the organization's limit of ten linked clients. An owner can revoke it under linked clients in the Hosted portal, and revocation takes effect at the next request.

TokenLifetime
Authorization code60 seconds, one use
Access token1 hour
Refresh token30 days, replaced on every use
Refresh-token family90 days, then sign in again

A refresh token used twice ends its whole family, apart from a 60-second grace window for the token just replaced. The portal also offers token revocation (RFC 7009). Every request to the connector re-checks the token, the connection, the organization's registration and your membership.

The four tools​

All four are marked read-only, non-destructive, idempotent and closed-world. None of them runs, installs, fetches or connects to anything named in its input, and none calls a third party. Every result ends with a line saying it is advisory. Every successful result carries a decision_id and the ruleset_version.

review_agent_setup​

Reviews an MCP client configuration (an mcpServers JSON block), a Claude Code settings.json permissions block, or a list of tool definitions. It looks for:

  • secrets written into the configuration, or carried in a URL;
  • instructions hidden in tool descriptions;
  • dangerous commands on a server's command line;
  • packages launched without a pinned version;
  • remote servers reached over plain HTTP;
  • filesystem servers given the whole disk or a whole home directory;
  • permission rules that allow every command or tool, and command or file-write permissions with no ask rule;
  • tool names that say they can change things or run commands;
  • the same server name declared twice.
InputTypeLimit
config (required)JSON text64 KB
formatauto, mcp_json, claude_settings or tool_listdefault auto, which detects it

It returns findings, most severe first, each with a severity (high, medium or low), rule_id, path (the JSON path), finding, why and fix. It also returns counts by severity. Secret values are never repeated back. If the findings do not fit in one result, the most severe ones are kept and findings_not_shown counts the rest. No findings means these rules found nothing. It does not mean the setup is safe.

redact_sensitive_text​

Replaces values it recognises with typed placeholders such as [EMAIL] or [API_KEY], and returns the masked text with counts by category.

InputTypeLimit
text (required)string16 KB
categoriesa non-empty list of pii, financial, secretsdefault all three
  • pii: email addresses, phone numbers, US SSNs, Indian Aadhaar and PAN, Singapore NRIC, Indonesian NIK, passport numbers, dates of birth and IP addresses.
  • financial: card numbers, IBANs and bank accounts.
  • secrets: secrets written as an assignment (password=, api_key=, token=, connection strings) or in a well-known format: GitHub, AWS, OpenAI, Anthropic, Slack and Stripe keys, JWTs, bearer tokens and PEM private keys.

Matching is by pattern and checksum. It can miss values in other formats or languages, and it can mask text that only looks like one of these values. Review the result before you share it. If a value cannot be masked reliably, the tool returns cannot_mask and no masked text at all.

check_action​

Checks one agent action (a shell command, SQL statement, prompt or tool input). It returns the decision AxonFlow's built-in rules would make: allow, block, redact or require_approval. The rules cover SQL injection, dangerous commands, prompt injection, secrets and personal data.

InputTypeLimit
action (required)string64 KB (8 KB for a policy-pack check)
toolthe tool that would run it, for example Bash or sql.query128 bytes
policy_setbaseline, or a policy pack your organization can usedefault baseline

The result gives the decision, the matched_policies (id, name, category, the action applied, the rule's own action and what decided it), a plain-language reason and what_would_change_it.

Your organization's recorded detection settings (SQL injection, PII and dangerous commands) decide the action for the categories they cover, as they do on the governed routes, and the result names the setting that decided. Without a recorded setting, each rule's own action stands.

check_action does not run the action, and it does not create an approval request. A require_approval answer says what would happen under enforcement. The answer is advisory, and it is not legal or regulatory advice.

The policy_set list in the tool's schema shows baseline plus the packs that you can use right now. For pack checks, see Policy-pack add-ons.

describe_policy_sets​

Lists the rule sets check_action can check against. For each one it gives what it covers, for a pack how many rules it has, which actions those rules can take, and whether you can use it on your plan (evaluable_on_your_plan, with the reason when you cannot). It also lists the commercial outcome modules, which the connector never evaluates. It evaluates nothing.

InputType
policy_setoptional: one rule set id. Default: all

What is stored​

The connector does not store or log the text you send, and it does not store the text it returns. Each call writes one audit record with:

  • your organization, the connection, and the signed-in member's email address;
  • the tool name;
  • the decision;
  • the ids of the rules that matched, or the refusal code;
  • counts (for example, values masked per category) and the latency;
  • for a pack check, the pack id and version.

A usage record (organization, connection, status, latency) is also written for each call.

The usage meter keeps a keyed HMAC fingerprint of each metered call, not the call itself. It uses the fingerprint to recognise an exact retry.

Free trial​

Every organization that connects gets a connector trial, with no card. The trial:

  • allows 200 metered connector calls a month by default;
  • admits only the connector's four tools, against the baseline rule set;
  • applies only while the organization has no paid Hosted plan.

On a paid plan, connector calls count against the plan's own monthly allowance instead. Reconnecting never restores or enlarges a trial.

These calls are not metered:

  • describe_policy_sets;
  • a check_action call that names a policy pack (a pack check uses the pack's own monthly limit);
  • a call refused for its arguments (missing, of the wrong type, oversized or unknown), because nothing was evaluated.

A review_agent_setup call whose config is not valid JSON is metered.

At the limit, the tool returns connector_trial_limit_reached with plan: "connector_trial", the monthly_allowance, and upgrade: "Hosted Starter". An organization owner can start Hosted Starter on the AxonFlow portal.

Limits and error codes​

A refusal is a tool result with isError: true. Its structured content carries an error code and a message. Meter and pack refusals also carry a limit_type equal to the code.

Tool results​

CodeMeaning
invalid_argumentsA required argument is missing or empty, an argument has the wrong type, an argument is not one the tool accepts, or a format, categories or policy_set value is not one the tool knows. For review_agent_setup, also a config that is not valid JSON
input_too_largeAn argument is longer than its limit (64 KB for config and action, 16 KB for text), or a configuration has too many values to review in one call. Split the input
output_too_largeThe result would be longer than 20,000 characters, even with the least severe findings left out. Split the input
cannot_maskA value in the text could not be masked reliably, so no masked text is returned
connector_unavailableThe check or usage metering is temporarily unavailable. Try again shortly
connector_trial_limit_reachedThis month's trial calls are used up
hosted_monthly_limit_reachedThis month's Hosted Starter allowance of governed checks is used up. It resets next month
connector_meter_unavailableUsage metering is temporarily unavailable. Try again shortly
hosted_event_id_conflictThe request's event ID (X-Axonflow-Event-ID or X-Request-ID) was already used for a different request
hosted_event_id_unverifiableThe event ID was recorded under an earlier meter key and cannot be checked as a retry. Send a new event ID
connector_pack_preview_onlyThe rule set can be described but not evaluated: its rules match decision facts an operator sets, not pasted text
connector_pack_not_offeredThis connector does not offer the rule set
connector_pack_addon_requiredThe rule set is a Hosted Starter add-on that your organization does not have, or the organization has no active Hosted Starter subscription
connector_pack_grant_requiredAn organization owner has not accepted the rule set's data-handling note
connector_pack_grant_outdatedThe rule set has changed since an owner accepted it. An owner must accept the current version
connector_pack_not_on_this_clientThe rule set is not evaluated through this client
connector_rateThe organization made more tool calls this minute than its plan allows, across all its connections: 25 on the trial, and the Hosted Starter burst limit on a paid plan (see Hosted Starter). Only tools/call counts. Answered with HTTP 429 and Retry-After: 60; the result carries per_minute_limit, retry_after_seconds: 60 and scope: "organization"
connector_pack_input_sizeThe action is longer than 8 KB, the limit for a pack check. The result carries max_input_bytes
connector_pack_rateMore than 10 checks a minute against one rule set. The result carries retry_after_seconds: 60 and per_minute_limit
connector_pack_evaluationsThis month's checks against the rule set are used up. The result carries monthly_limit and resets_at, the first instant of the next calendar month in UTC

The three pack caps answer only a caller the pack is admitted for; any other caller gets the admission refusal above. Each carries pack (the pack id and display name), pack_evaluations_remaining, and higher_usage_path: "paid_enterprise_poc". Its message ends with one sentence: running the pack on every agent call, or for more than two people, is an AxonFlow Enterprise deployment.

Pack admission refusals (connector_pack_not_offered, connector_pack_addon_required, connector_pack_grant_required, connector_pack_grant_outdated, connector_pack_not_on_this_client) carry an addon object (the pack id and display name); connector_pack_preview_only carries policy_set instead. Except for connector_pack_not_offered and connector_pack_not_on_this_client, they also carry an addon_url that points at the portal's pack page, when the deployment has one configured.

Connection and sign-in​

These answer the HTTP request before any tool runs:

HTTP statusCodeMeaning
401missing_credentialsNo access token. Sign in through the authorization server named in WWW-Authenticate
401invalid_tokenThe access token is expired, revoked or not valid for this address
429rate_limitedToo many requests a minute with one access token (200 by default). Every request counts, initialize and tools/list included. Retry after 60 seconds
503connector_unavailableThe connector is not configured on this deployment, or its authentication is temporarily unavailable
503hosted_entitlement_unavailableThe organization's plan or trial could not be checked. Try again shortly
503hosted_gate_unavailableHosted entitlement verification is temporarily unavailable. Try again shortly
503hosted_paid_launch_not_acceptedPaid Hosted workflows are not yet available on this deployment
402hosted_payment_requiredThe organization has neither a paid Hosted plan nor an active connector trial

Policy-pack add-ons​

A policy pack is a set of AxonFlow-authored rules that reference published regulator guidance. A pack is not issued, reviewed or endorsed by that regulator, and it is not a certification. Using one says nothing about whether a system meets any law or framework.

With a pack add-on, check_action checks one action at a time against that pack, advisory, as above. Packs never run on the governed runtime routes on Hosted. Running a pack on every agent call, or for more than two people, is an AxonFlow Enterprise deployment.

Price and packs​

Each pack is an add-on to Hosted Starter. Packs are not yet on sale on AxonFlow Hosted; when a deployment offers them, the portal's pack page shows the price. Hosted Starter includes no pack. The trial cannot use packs.

Pack idNameWhat it recognisesRulesActionsOn the connector
mas-featMAS FEAT-referenced rule setWhat an action is about: credit scoring, investment advice, underwriting, algorithmic trading, anti-money-laundering checks, AI customer service and fraud detection. It matches topics, not identifiers7require_approval, logAdd-on, with a short data-handling note
rbiRBI FREE-AI-referenced rule setIndian identifiers (UPI id, mobile number, GSTIN, passport, voter id, driving licence, PIN code) and five lending and credit decision topics. The rules are pattern-based and can match other values: the UPI rule also matches many email addresses12block, require_approval, warn, logAdd-on, with a data-handling note
sebiSEBI AI/ML-referenced rule setIndian bank and demat account identifiers and six securities-market topics, including high-value trades and cross-border transfers8require_approval, warn, logAdd-on, with a data-handling note
kr-ai-governanceKorean AI governance rule set (preview)Six controls for high-impact AI decisions that an operator activates from typed decision facts6block, require_approval, logPreview only: described, never evaluated

Each pack with an add-on allows 250 checks per organization per calendar month. These do not count against the trial or the Hosted Starter allowance. The other caps are 8 KB per check, one action per call, and 10 checks a minute per organization per pack. A pack result carries the pack version and document digest, and pack_evaluations_remaining. Matched values are never repeated back.

A pack check runs only when all of these hold on that call:

  1. The deployment offers the pack.
  2. The organization's Hosted Starter subscription is active and paid through a future date.
  3. The organization has an active add-on for the pack, paid through a future date.
  4. An owner has accepted the data-handling note for the current version of the pack.
  5. The client is not ChatGPT.
  6. The action is within 8 KB.
  7. The minute limit and the monthly limit allow it.

Otherwise the tool returns the refusal for the first condition that failed (see Limits and error codes), and nothing is evaluated.

Adding and cancelling a pack​

When a deployment offers packs:

An organization owner manages packs on the portal's Connector rule sets page (/hosted/connector-packs), signed in as an owner. The page needs an active Hosted Starter subscription.

  • Add. Choose Add. The pack becomes a second item on your existing Hosted Starter subscription. The first partial month is invoiced at once, and the pack applies only once that invoice is paid. Repeated clicks add one item, not several.
  • Accept the note. An owner accepts the pack's data-handling note (Accept note). A payment alone never grants a pack; the add-on and the owner's acceptance are both required. When a pack changes, an owner must accept the current version before checks continue. An owner can also withdraw consent.
  • Cancel. Choose Cancel add-on. The pack stays usable until the end of the period already paid, then stops. There is no credit for the rest of that period, and no further charge for the pack.

Refunds, disputes and the base plan​

  • A full refund or a dispute of an invoice that paid only for pack add-ons ends those add-ons. The base plan is not affected.
  • A full refund or a dispute of a Hosted Starter invoice ends the base plan, and ends the add-ons that invoice also paid for.
  • Pack checks need an active Hosted Starter subscription, so when the base plan ends, pack checks stop at the next call.

Data-handling note for rbi and sebi​

The owner accepts this note before an rbi or sebi check runs. describe_policy_sets returns it as data_handling:

The action text is processed once, in the United States (AWS us-east-1), and is not stored or logged. The audit record keeps the rule set id and version, rule ids and counts only.

Matched values are never repeated back. A finding names the rule and gives a typed placeholder.

AxonFlow does not decide whether you may send Indian personal data to a processor in the United States. That is your determination.

mas-feat has a shorter note, shown on the portal page: the action text is processed once and is not stored or logged. An owner accepts it the same way.