Skip to main content

Model Context Protocol (MCP)

Zyphe ships a built-in Model Context Protocol server that lets AI agents and MCP-compatible clients (Claude Desktop, Claude Code, Cursor, and any other MCP host) both configure your organization (flows, forms, API keys) and operate on compliance cases (KYB files, AML screenings, KYC results, and the audit trail).

Instead of writing REST clients or learning the dashboard UI, you can ask your AI assistant "create a new KYC flow with a document verification step and a form", or "show me what happened to this KYB case and who did it". The agent calls the right MCP tools on your behalf.

info

The MCP server is exposed by the same Zyphe API server that handles REST traffic. There is no separate process or port to run.

Capabilities at a glance​

What a connection is offered depends on how it authenticates (see Authentication):

  • An Agent (MCP) token (zyphe_bot_…) gets the reviewer and configuration toolset below: 40 tools in eight groups. Fifteen of them work KYB cases, three dispose of AML screening hits, and two read a KYC case and the audit trail, so an agent can carry a review from open case to approval or escalation, and evidence what it did, not only configure the flows that produce them.
  • An API credential (sk_live_… / sk_test_…), or a client connected with OAuth, gets the public toolset: a handful of curated tools plus three meta-tools over the whole public API. See Service credentials.

The reviewer and configuration toolset:

  • KYB: read a KYB result and what the case is waiting for, request and review business-information clarifications, correct field values, add or remove UBOs and directors, request per-country documents, send UBO KYC invitations, set the screening strategy, approve, or escalate to human review.
  • AML: read a screening result, clear a false positive, or escalate to a human reviewer.
  • KYC: read a verification case as a decision summary.
  • Audit trail: read the organization's tamper-evident audit log.
  • Flows: list, create, read, update, delete flows; manage flow-level settings.
  • Flow steps: add, update, and delete steps inside a flow (DV, FORM, POA, KYB, KYB_DOCUMENTS, KYB_UBOS, KYB_DIRECTORS, SPID, PHONE, WALLET, LIVENESS, AUTO_ONE_CLICK_KYC, DOCUMENT_SELECTION, GEOLOCATION).
  • Forms: list, create, read, update, delete forms with their sections.
  • API keys: list, create, read, update, delete API keys (SECRET and PUBLISHABLE).

The KYB and AML write tools are guarded server-side. approve_kyb_result refuses while any clarification is open or any document-backed field is not a match, and clear_aml_result refuses on a high-confidence sanctions match, Critical overall risk, a result already under a human verdict, or a screening with no identity discriminators. The guard is deterministic and lives on the server, so it holds whatever the calling model decides.

Every tools/call is recorded as a readable audit row carrying the tool name, redacted arguments, the mapped action, and the target resource id. Protocol traffic (initialize, tools/list, ping) is not logged, and neither are the unauthenticated probes MCP clients make before completing authentication. See Auditing.

Every tool of the reviewer and configuration toolset accepts an optional sandbox: boolean flag, so one agent token can target either environment. The public toolset has no such flag: the credential's environment applies.

Authentication​

Every MCP connection acts as an agent: a non-human member of your organization with a role. Its permissions are evaluated by the same role-based access control policies that govern the REST API, so an agent can only do what its role allows. Agents are listed in the dashboard under Developers → Agents. See Agents and API credentials.

There are three ways to connect:

MethodCredentialToolsetEnvironment
OAuthIssued to the clientPublic toolsetChosen on the consent page
Agent (MCP) tokenzyphe_bot_…Reviewer and configuration toolsPer call, with the sandbox flag
API credentialsk_live_… / sk_test_…Public toolsetFixed by the prefix

Connect with OAuth​

Clients that support the MCP authorization specification (claude.ai and Claude Desktop connectors, MCP directories, zyphe login --oauth) connect with just the server URL, no pasted key:

  1. Discovery. A request to /mcp without a credential is answered 401 with a WWW-Authenticate: Bearer resource_metadata="…/.well-known/oauth-protected-resource/mcp" challenge. The protected-resource metadata (RFC 9728) names Zyphe's authorization server, described at /.well-known/oauth-authorization-server (RFC 8414).
  2. Registration. The client registers itself through dynamic client registration (RFC 7591, POST /oauth/register). Only public clients are supported.
  3. Consent. The client opens /oauth/authorize (authorization code with PKCE, S256 only), which sends you to the dashboard's consent page, Connect … to …, at /mcp/login. Signed in to the dashboard, choose the Role the connection gets (Developer, or Admin if you are an Admin) and the Environment (Sandbox (test data) or Production), then click Connect.
  4. Tokens. The client exchanges the code at POST /oauth/token and refreshes with rotation. Tokens can be revoked at POST /oauth/revoke, and introspected at POST /oauth/introspect, which also reports the organization and environment the connection works in.

Connecting creates an agent you own, named after the client, with the role and environment you chose: the connection can do what that role allows in that environment, and nothing more. You need to be allowed to create agents (an Admin or a Developer), and you can't hand out a role above your own. To disconnect the client, delete its agent from Developers → Agents.

Agent (MCP) token​

In the dashboard, open Developers, then Agents, click Create Agent and pick Access: Agent (MCP). Its token works on the MCP server only, with the reviewer and configuration toolset.

The plain-text token is returned only once at creation (or regeneration). It looks like:

zyphe_bot_<48 random alphanumeric characters>
Store the token securely

Tokens are SHA-256 hashed on the server, so Zyphe cannot retrieve a lost token. If you misplace one, regenerate it. Treat agent tokens like passwords: never commit them to source control, never paste them into chat logs.

Send it as a Bearer token on the Authorization header:

Authorization: Bearer zyphe_bot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Authentication failures​

Authentication failures are answered with 401 Unauthorized, the WWW-Authenticate challenge described in Connect with OAuth, and a JSON body:

SituationBody
No Authorization header at all{"error":"Missing Authorization header"}
A header that is not a well-formed Bearer credential{"error":"Invalid bot token"}
A well-formed Bearer credential whose agent token is unknown{"error":"Invalid bot token"}
An unknown, revoked or expired API credential or OAuth token{"error":"Invalid credential"}

If the agent's role does not allow the requested operation, the tool call returns an MCP error with code INVALID_REQUEST and message "Permission denied".

Unauthenticated probes are not audited

MCP clients routinely request /mcp without credentials while probing the endpoint before completing authentication. Those rejected probes write nothing to your audit trail, and neither does protocol chatter such as initialize, tools/list, or ping. Real tool invocations are audited, as readable per-call events. See Auditing.

Endpoint​

The MCP server is mounted on the same host and port as the Zyphe API:

POST {ZYPHE_API_BASE_URL}/mcp

It uses the Streamable HTTP transport from the MCP specification. Any MCP-compliant client that supports HTTP transport can connect to it.

Connecting a client​

With OAuth​

In a client that supports OAuth (for example a claude.ai or Claude Desktop custom connector), add a connector with the URL only:

https://api.zyphe.com/mcp

The client opens the consent page in your browser the first time it connects. In Claude Code:

claude mcp add --transport http zyphe https://api.zyphe.com/mcp

With a token​

For a client that does not support OAuth, or to use an Agent (MCP) token, pass the token in a header. In Claude Code:

claude mcp add --transport http zyphe https://api.zyphe.com/mcp \
--header "Authorization: Bearer zyphe_bot_YOUR_TOKEN_HERE"

In an mcp.json file (or the equivalent config UI of Cursor and other hosts):

{
"mcpServers": {
"zyphe": {
"type": "http",
"url": "https://api.zyphe.com/mcp",
"headers": {
"Authorization": "Bearer zyphe_bot_YOUR_TOKEN_HERE"
}
}
}
}

The same header works with an API credential (sk_live_… / sk_test_…), which gets the public toolset.

Generic / programmatic​

Any MCP client SDK (TypeScript, Python, etc.) that supports the streamable-HTTP transport can talk to /mcp. Point the transport at the URL and inject the Authorization header, or let the SDK run the OAuth flow.

Tool reference​

This section covers the reviewer and configuration toolset, served to Agent (MCP) tokens. All parameters use camelCase keys. Every tool also accepts an optional sandbox boolean (default false) to target the sandbox environment instead of production.

KYB​

Tools that work an existing KYB result. All of them take kybResultId, the UUID of the KYB result.

get_kyb_result​

Read-only. Get a KYB result by its ID, scoped to the agent's organization.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
sandboxbooleannoRead from the sandbox environment

get_pending_kyb_clarifications​

Read-only. List pending clarification requests for a KYB result. Required: kybResultId.

get_kyb_case_next_actions​

Read-only. What the KYB case is waiting for and who owes each item: blockers, unjudged screening matches, exceptions it needs, proposals awaiting an answer, what a run is out with, and the party holding it up. It is the same answer a human reviewer's case page shows, derived at read time, so it reflects the case as it stands now. Required: kybResultId.

send_kyb_clarification_request​

Write. Request business-information clarification from the client. Moves the KYB next action to Client.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
documentNamestringyesClarification request title shown to the client
fieldsstring[]yesBusiness detail keys to clarify: platform fields (companyName, …) or your organization's own questions as form.<name>
descriptionstringnoClarification instructions for the client

review_kyb_clarification_field​

Write. Approve one submitted clarification field, but only when the cross-check classified it as an exact, auto-correct, or fuzzy match against the document-collected value. Does not approve the KYB.

Required: kybResultId, documentRequestId, fieldKey.

approve_kyb_result​

Write. Guarded final KYB approval. Approves only when no clarifications remain open and every document-backed business-information verification field is an exact, auto-correct, or fuzzy match.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
reasonstringnoAudit reason for the agent approval

mark_kyb_for_admin_review​

Write. Escalate a KYB result to human review, with the reason it needs a person. Does not approve the KYB. Required: kybResultId, reason.

send_ubo_kyc_reminder​

Write. Send the KYC invitation or reminder email to a single UBO, identified by its zero-based index in uboDefinitions. For an un-onboarded UBO this sends the initial invitation.

Required: kybResultId, recipientIndex (integer, minimum 0).

edit_kyb_business_information​

Write. Directly correct one or more business-information field values as a reviewer edit. Each edited field is marked as a verification match and any pending clarification on it is auto-resolved. Allowed only while the KYB result is under review.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
updatesobject[]yesEach { fieldKey, value }. Keys include companyName, registrationNumber, country, address, city, postZipCode, businessActivity, incorporationDate, companyType, contactEmail
reasonstringyesReason for the correction, recorded in the activity log

add_kyb_ubos​

Write. Add one or more UBOs to an existing KYB result. A UBO with an email is sent a KYC invitation and must complete full KYC; a UBO without an email is screened by name only (AML) and is not notified. Allowed only while the KYB is under review.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
personsobject[]yesEach requires firstName, lastName, dateOfBirth, country, gender; email optional

remove_kyb_ubo​

Write. Remove a UBO by its stable personId. Any name-only AML screening for that UBO is removed too. Allowed only while the KYB is under review.

add_kyb_directors​

Write. Add one or more directors. Same email and name-only semantics as add_kyb_ubos. Allowed only while the KYB is under review.

remove_kyb_director​

Write. Remove a director by its stable personId. Any name-only AML screening for that director is removed too.

request_kyb_document​

Write. Request a specific on-demand per-country document by its catalog key, validated against the KYB's country, and notify the client. Creates a Standard document request for the client to upload.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
documentKeystringyesCatalog key of the on-demand document
descriptionstringnoInstructions shown to the client
recipientEmailstringnoRecipient override; defaults to the business contact email
subjectstringnoNotification email subject
bodystringnoNotification email body

set_kyb_screening_strategy​

Write. Change which population of natural persons this KYB must identify and screen before it can be approved. Does not approve the KYB.

FieldTypeRequiredDescription
kybResultIdstringyesUUID of the KYB result
strategystringyesubo (the default), directors, or uboAndDirectors
reasonstringyesWhy the default test is the wrong one for this business

Use it when beneficial ownership is the wrong test: a listed company with no natural person above the ownership threshold, where directors are the screenable population.

It is guarded: it accepts only a strategy the people already on file satisfy. Every strategy requires at least one screened person, so no sequence of calls can make an unidentified business approvable by an agent or by automatic completion. A human reviewer keeps their override either way. It emits its own KYB_SCREENING_STRATEGY_CHANGED audit entry carrying the previous and new strategy, the reason, and the UBO and director counts at that moment.

See Which population must be screened.

AML​

get_aml_result​

Read-only. Get an AML screening result by its ID: the scored entity hits, submitted identity, adverse media, moderation state, and flags.

Required: amlResultId.

clear_aml_result​

Write. Guarded false-positive clear, moderating the screening to Approved. A deterministic server-side guard refuses to clear a high-confidence sanctions match, a Critical overall risk, a result already under a human verdict, or a screening lacking identity discriminators.

FieldTypeRequiredDescription
amlResultIdstringyesUUID of the AML result
reasonstringnoAudit reason for the clear

escalate_aml_result​

Write. Escalate a screening to a human reviewer, moderating it to Escalated. Use it for genuine or ambiguous hits, and state in the reason if enhanced due diligence is recommended.

Required: amlResultId, reason.

Reading cases and evidence​

Two read-only tools let an agent understand a case before acting on it, and evidence what it did afterwards.

get_kyc_result​

Read-only. Get a KYC verification case (a flow result) as a decision summary: per-step statuses and failure reasons, document-verification scores, the manual-review outcome, AML screening flags, the risk score, assigned risk tags, and the review suggestion.

FieldTypeRequiredDescription
flowResultIdstringyesUUID of the flow result (the case)
sandboxbooleannoRead from the sandbox environment

The case's personal data is withheld by design, and for most of it there is no way to ask again: identity-document contents, submitted form answers, the IP address, and the wallet address are returned by no tool on this surface at all. Screened names are the one exception: read them with get_aml_result or get_kyb_result.

get_audit_trail​

Read-only. Read the organization's tamper-evident audit log, newest first. Every field is optional.

FieldTypeDescription
resourceTypestringPascalCase resource type, e.g. FlowResult, KybResult, AmlResult, Flow, ApiKey. An unrecognised value is rejected rather than silently matching nothing.
resourceIdstringUUID of the resource whose history you want
actionstringSCREAMING_SNAKE_CASE action, e.g. VIEWED, KYB_APPROVED, AML_RESULT_MODERATED. Rejected the same way an unrecognised resourceType is.
actorZidstringRestrict to one actor (a user email or an agent's zid)
createdAtFromstringOnly entries at or after this RFC 3339 timestamp
createdAtTostringOnly entries at or before this RFC 3339 timestamp
skipintegerEntries to skip (default 0)
takeintegerEntries to return (default 25, maximum 100)

Each entry carries its id, its position and hash in the chain, and the action's outcome. An agent sees its own earlier tool calls here, with their arguments, so a disposition can be evidenced rather than asserted.

The payload of an action taken outside the MCP surface is withheld (its top-level keys are named instead) because it can carry the case's personal data. Actor IP addresses and session ids are never returned, and end-user actor identifiers are masked.

An agent has the authority of its role, not of its agent mode

The Agent Mode on a flow step configures which tools Zyphe's own autonomous reviewer is handed for that flow. It is not an authorization control and no tool checks it. An agent with the Admin role calling approve_kyb_result does exactly what an Admin calling the REST approve endpoint does, on a flow at any agent mode. Scope your agents' roles accordingly.

Flows​

list_flows​

List flows for the agent's organization, with optional pagination, sorting, and filtering.

FieldTypeRequiredDescription
skipintegernoRecords to skip (default 0)
takeintegernoRecords to return (default 100)
sortstringnoSort field and direction, e.g. "createdAt:desc"
filterstringnoSemicolon-separated triples "field:operator:value" (e.g. "flow_type:eq:KYC")
sandboxbooleannoUse sandbox environment

create_flow​

Create a new flow. Required: name, slug, successUrl.

FieldTypeDescription
namestringDisplay name of the flow
slugstringURL-safe identifier (e.g. "kyc-flow")
successUrlstringRedirect URL on successful completion
failureUrlstringRedirect URL on failure (optional)
sandboxbooleanCreate in sandbox environment
webhookUrl is vestigial here

The published tool schema still advertises a webhookUrl parameter and lists it as required, but a flow no longer has one: the value is accepted and ignored. Configure destinations as organization webhook endpoints instead. If your MCP client validates against the advertised schema, pass any placeholder string: it has no effect.

update_flow​

Update an existing flow's metadata. Required: flowId, name, slug, successUrl. The same webhookUrl caveat applies.

get_flow​

Get a flow by its ID. Required: flowId.

delete_flow​

Soft-delete a flow by its ID. Required: flowId.

get_flow_settings​

Get the settings (branding, webhook options, notifications) for a flow. Required: flowId.

update_flow_settings​

Update the settings for a flow. Required: flowId. All other fields are optional and patch-style; only provided fields are changed.

FieldTypeDescription
webhookSecretstringLegacy HMAC secret. See the note below.
extendedWebhookbooleanInclude extended data in webhook payloads
publishedbooleanWhether the flow is publicly accessible
Webhook settings live on the endpoint now

Signing secrets and the extended-payload switch are properties of an organization webhook endpoint. webhookSecret here writes the legacy organization settings field, which the endpoint registry no longer signs with: rotate the organization secret through the webhooks API instead.

Flow steps​

create_flow_step​

Add a new step to a flow. Required: flowId, name, stepType, config, order.

FieldTypeDescription
flowIdstringUUID of the parent flow
namestringDisplay name of the step
stepTypestringOne of: DV, FORM, POA, KYB, KYB_DOCUMENTS, KYB_UBOS, KYB_DIRECTORS, SPID, PHONE, WALLET, LIVENESS, AUTO_ONE_CLICK_KYC, DOCUMENT_SELECTION, GEOLOCATION
configobjectStep configuration object (must contain a matching stepType discriminator)
orderintegerPosition of the step in the flow (0-based)
successUrlstringOverride success redirect URL for this step (optional)
failureUrlstringOverride failure redirect URL for this step (optional)
tip

Each step type has its own config schema. See the flow-step guides for the shape of each step's configuration, and KYB steps and configuration for the four KYB step types.

note

The tool's own description string still lists the pre-split step types. The three KYB satellite types are accepted: the description lags the enum.

update_flow_step​

Update a step's name, config, or redirect URLs. Required: flowId, stepId, config.

delete_flow_step​

Soft-delete a step from a flow. Required: flowId, stepId.

Forms​

list_forms​

List forms for the agent's organization, with optional pagination and sorting. Same pagination fields as list_flows (without filter).

create_form​

Create a new form. Required: name, sections.

FieldTypeDescription
namestringDisplay name of the form
sectionsarrayArray of FormSection objects

update_form​

Update a form's name and/or sections. Required: formId.

get_form​

Get a form by its ID. Required: formId.

delete_form​

Hard-delete a form by its ID. Required: formId.

API keys​

list_api_keys​

List API keys for the agent's organization.

create_api_key​

Create a new API key. Required: keyType. The plain-text key is returned once in the key field of the response, so store it immediately.

FieldTypeDescription
keyTypestringSECRET or PUBLISHABLE
namestringHuman-readable name (optional)
descriptionstringDescription (optional)
allowedOriginsarray of stringsAllowed CORS origins (optional)
optionsobjectAdditional options as a JSON object

get_api_key​

Get an API key by its ID. Required: apiKeyId.

update_api_key​

Update an API key's name, description, allowed origins, or options. Required: apiKeyId.

delete_api_key​

Soft-delete an API key by its ID. Required: apiKeyId.

Service credentials​

An API credential (sk_live_… for production, sk_test_… for sandbox), and a client connected with OAuth, get the public toolset instead of the tools above. It is built for an integrator's own agent: it never sees the API key tools, and it reaches your organization through the same organization API your server would call, with that API's checks, rate limit, idempotency, billing and audit row.

ToolWhat it does
verify_identityStarts verifying a person (KYC): returns a link to a verification flow for the person to open. Nothing is verified until they complete it
verify_businessStarts verifying a business (KYB): returns a link to a KYB flow for the company's representative
get_check_statusRead-only. Where a verification stands, by flowResultId, or by flowId and email for a link from the two tools above. Returns a decision summary without personal data
screen_sanctions_pepScreens a person or a company against sanctions, PEP and watch lists, now, and returns the raw matches, unscored and not stored. A production screen is billed
search_companyRead-only. Searches a country's company register by name or registration number, to confirm which company a verification is about
get_audit_trailRead-only. The organization's audit log, as described above
list_operationsLists the operations of the public API this credential may call, grouped by section
describe_operationDescribes one operation: its parameters, request body and response
call_operationCalls one operation through the organization API and returns its answer

The curated tools are listed only to a credential whose role may use them, and list_operations lists only the operations its role may call. The three meta-tools cover the whole public organization API without listing hundreds of tools a model would have to choose between.

The environment is the credential's: a sk_test_ credential (or an OAuth connection to sandbox) works in sandbox, a sk_live_ one in production, and no tool takes a sandbox argument. Like on the REST API, a service credential is for server-to-server use: a request carrying an Origin header is refused. See Agents and API credentials.

Sandbox vs production​

With an Agent (MCP) token, every tool takes an optional sandbox boolean. When true, the tool reads and writes against the sandbox dataset; when false or omitted, it operates on production data. A single agent token can drive both environments, which is useful for agents that build a flow in sandbox, validate it, and then promote it to production in one session. A case id from one environment does not resolve in the other.

With an API credential or an OAuth connection, the environment is fixed by the credential, as described in Service credentials.

Error handling​

MCP errors follow the standard MCP error model:

ConditionError codeNotes
Missing or malformed parametersINVALID_PARAMSReturned when JSON parsing or schema check fails
Unknown tool nameMETHOD_NOT_FOUNDTool not registered on this server
RBAC policy denialINVALID_REQUESTMessage: "Permission denied"
Unexpected backend / DB / RBAC errorINTERNAL_ERRORServer-side failure; check Zyphe logs

HTTP-level failures (401, 403) are returned before the MCP envelope and indicate problems with the credential, not with a specific tool call.

Auditing​

Every tool invocation writes a readable event to your organization's audit trail, naming the tool, its arguments, and its outcome. That is what makes an agent's work reviewable and lets get_audit_trail evidence a disposition rather than assert it.

Two things are deliberately not audited, because they are noise rather than activity:

  • MCP protocol chatter: initialize, tools/list, ping.
  • Unauthenticated requests to /mcp, which MCP clients make while probing the endpoint before completing authentication.

Some tools write their own domain events on top of the per-call event (approve_kyb_result writes a KYB approval, set_kyb_screening_strategy writes KYB_SCREENING_STRATEGY_CHANGED), so a reviewer sees the decision, not just the call. Public-toolset calls that act go through the organization API, whose own audit row records them under the agent.

Example session​

A typical agent conversation with the Zyphe MCP server might look like this (paraphrased; the agent translates intent into tool calls):

You: Create a sandbox flow called "Onboarding Test" with a document verification step.

Agent:

  1. calls create_flow with { name: "Onboarding Test", slug: "onboarding-test", successUrl: "...", sandbox: true }
  2. takes the returned flowId and calls create_flow_step with { flowId, name: "DV", stepType: "DV", config: { stepType: "DV", ... }, order: 0, sandbox: true }
  3. returns: "Created sandbox flow onboarding-test (id …) with one DV step at position 0."

A case-work session looks different, because the agent is disposing of real compliance work rather than configuring it:

You: Take a look at AML result … and clear it if it is obviously a false positive.

Agent:

  1. calls get_aml_result with { amlResultId: "…" } and reads the scored hits, submitted identity, and adverse media
  2. decides the hit is a common-name collision with no matching date of birth or nationality
  3. calls clear_aml_result with { amlResultId: "…", reason: "Name-only collision; DOB and nationality both mismatch the listed entity." }
  4. returns: "Cleared. Had the guard refused (high-confidence sanctions match, Critical risk, existing human verdict, or no identity discriminators), I would have escalated instead."

The agent's judgement is not what makes this safe. The server-side guard is: if the screening had been a high-confidence sanctions match, clear_aml_result would have refused the call regardless of what the model concluded, and the correct next step would have been escalate_aml_result.

Security notes​

  • The KYB and AML write tools carry deterministic server-side guards. approve_kyb_result and clear_aml_result refuse unsafe calls on the server, so the guarantee does not depend on the calling model's reasoning or on prompt wording.
  • Credentials authenticate at the request level; the MCP transport does not add a separate session layer.
  • All tool calls are subject to the same role-based access control policies that govern the REST API. An agent scoped to a specific role cannot escalate privileges through MCP, and an OAuth connection never gets a role above that of the person who approved it.
  • Token hashes are stored with SHA-256; plain-text tokens are never persisted.
  • Regenerating an agent's token instantly invalidates the previous one. Use this if you suspect leakage. Deleting the agent of an OAuth connection disconnects that client.
  • An agent has the authority of its role. A flow step's Agent Mode configures Zyphe's own autonomous reviewer; it is not an authorization boundary and no tool checks it. Give an agent the narrowest role that lets it do its job.
  • Personal data is withheld by design. Identity-document contents, submitted form answers, IP addresses, and wallet addresses are returned by no tool on this surface. Screened names come back only from get_aml_result and get_kyb_result, and the audit trail masks end-user actor identifiers and never returns actor IPs or session ids.
  • Every tool call is recorded in the audit trail. See Auditing.