Affixio MCP
OfficialThis local stdio MCP server lets agents create and verify signed action attestations and gate privileged tool calls via local policy.
attest_action: Record an action with optional outcome, agent, policy, context hash, and summary; returns a signed yes/no ACTION attestation with proof.
verify_action: Verify an ACTION attestation and return
valid: true/falsewith a reason.gate_tool_call: Evaluate a privileged tool call against local allowlist, amount cap, and blocked-pattern policy; returns signed allow/deny before execution.
Privacy/local-first: Raw tool args and context are not stored; only SHA-256 digests are kept, and proving runs locally/offline.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Affixio MCP attest that I deployed the production release"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Affixio MCP
Hosted AffixIO verification server
For OAuth access to proof verification, permission checks, revocation status and Merkle audit evidence, connect to https://www.affix-io.com/mcp/. See the hosted install guide and directory profile. The hosted service and the local stdio package below have different tools and authentication requirements.
Local stdio MCP server that wraps the affixio SDK. It gives agents a signed yes or no record that an action happened on the host.
The SDK stays as it is: install with npm i affixio. This package only adds a local MCP front end for catalog listings and platform wraps.
Run it with npx @affixio/mcp@0.1.0. PII never leaves the host: tool arguments are hashed, never stored, and proving runs offline on the machine.
Related MCP server: hive-mcp-spire
Install
npm i -g @affixio/mcp@0.1.0
affixio-mcpOr without installing:
npx -y @affixio/mcp@0.1.0Check it works:
affixio-mcp probeClient config
Claude Desktop config file, Examples dir has ready files:
{
"mcpServers": {
"affixio": {
"command": "npx",
"args": ["-y", "@affixio/mcp@0.1.0"],
"env": {
"AFFIX_API_KEY": "local_operator",
"AFFIX_MCP_HOME": "${HOME}/.affix-mcp"
}
}
}
}Cursor uses the same mcpServers shape. Copy examples/claude-desktop-mcp.json or examples/cursor-mcp.json.
Tools
Only three tools ship. No identity, age, KYC, MRZ, passport, licence, vehicle, admin, OAuth, or cloud passthrough. Those stay on the Hub MCP.
attest_action: action plus optional outcome, context hash, policy id. Returns a signed action attestation with timestamp, action id, ML-DSA-65 signature, and proof id.
verify_action: attestation or receipt in, valid true or false plus reason out.
gate_tool_call: tool name plus args hash or summary plus policy in, allow or deny plus signed decision out. Call before privileged agent tool calls.
gate_evidence_action: require an explicit agent, resource, jurisdiction, purpose and operation policy before an evidence-backed action. Returns signed allow or deny evidence with request/result/citation digests only. See evidence-bound actions.
For a QM deployment template that keeps policies and the service identity under operator control, see QM integration.
Env config
AFFIX_API_KEY: licence key, defaults to local_operator for offline use
AFFIX_API_BASE: override API base, unset means SDK default
AFFIX_MCP_HOME: state dir, defaults to ~/.affix-mcp
AFFIX_MCP_AGENT_ID: default agent id
AFFIX_MCP_ALLOWED_TOOLS: comma list, empty means any tool may attest
AFFIX_MCP_MAX_AMOUNT: optional numeric cap, denies above it
AFFIX_MCP_CURRENCY: currency code, default GBP
AFFIX_MCP_BLOCKED_PATTERNS: comma list, default sk_live_, AKIA, PRIVATE KEY
Security
Local first. Proving runs offline via the affixio SDK in HMAC mode, signed ML-DSA-65. Gate decisions are fail closed: unknown tools, over-limit amounts, blocked arg patterns, and malformed proofs all deny. Raw tool args never persist; the record keeps a sha256 digest only.
Dev
npm install
npm test
npm run probeLicense
Apache-2.0. See LICENSE.
Grok Build plugin
This repository can be installed from the xAI Plugin Marketplace as AffixIO Tool Gate. It runs as a local stdio MCP server and exposes only these three tools:
gate_tool_call: evaluates one named tool call against the configured local allowlist, amount cap, and blocked patterns, then returns an allow or deny result before the caller executes the tool.attest_action: creates a local action attestation.verify_action: verifies an attestation supplied by the caller.
Data handling and boundaries
The plugin has no hooks, background tasks, browser automation, account access, or automatic agent enrolment. It does not read shell history, SSH keys, project .env files, or other credentials. The gate stores a SHA-256 digest of supplied tool arguments in its decision record rather than raw arguments.
By default, all proof and decision state is stored locally in ~/.affix-mcp. The local SDK may make a licence heartbeat to https://api.affix-io.com; it does not send raw tool arguments for this gate. An operator may explicitly set AFFIX_API_BASE to select a different AffixIO endpoint and should assess that endpoint before use. The MCP process needs Node.js 20+ and downloads the version-pinned public npm package @affixio/mcp@0.1.0 when first launched through npx.
Grok Build example
Configure a narrow policy before starting Grok Build:
export AFFIX_MCP_ALLOWED_TOOLS="calendar.create,github.create_issue"
export AFFIX_MCP_MAX_AMOUNT="0"
export AFFIX_MCP_BLOCKED_PATTERNS="sk_live_,AKIA,PRIVATE KEY"Ask gate_tool_call before a privileged tool call. If it returns deny, do not run that call. A Grok Build workflow remains responsible for enforcing the result: the MCP server cannot prevent an unrelated tool from running on its own.
Available Tools
3 toolsattest_actionA
Record a local action and return a signed yes-or-no ACTION attestation. PII stays on the host.
Inputs: action (required), outcome, agent_id, policy_id, +2 more.
gate_tool_callB
Policy gate for one privileged agent tool call. Returns allow or deny plus a signed decision.
Inputs: tool (required), args, amount, agent_id, +3 more.
verify_actionC
Verify a local ACTION attestation and return valid true or false with a reason.
Inputs: proof, envelope, circuit_id, attestation.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct stage in the attestation workflow: gating a tool call, recording an action, and verifying an attestation. There is no ambiguity between them, as the verb and noun clearly separate purposes.
All three tool names follow a consistent verb_noun pattern: gate_tool_call, attest_action, verify_action. This makes the naming predictable and easy to reason about.
With only three tools, the server is tightly scoped to its attestation/gating purpose without unnecessary bloat. Each tool serves a necessary role in the workflow.
The tool set covers the full lifecycle of attestation: gating a call, creating an attestation, and verifying it. No obvious gaps exist for the stated domain.
Maintenance
Related MCP Connectors
Post-quantum, tamper-evident receipts for agent actions. Ed25519 + ML-DSA-65, offline verify.
Pre-action attestation perimeter for AI agents — 8 primitives, signed C18 receipt per call.
Attestation infrastructure for the agentic economy: signed, independently verifiable verdicts.
Authorize AI agent tool calls before they run: policy-as-code, human approval, signed receipts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to sign and verify actions with ML-DSA-65 digital signatures, providing tamper-proof receipts that can be verified offline without any secrets.MIT
- AlicenseNot gradedqualityCmaintenanceProvides tools to sign and verify post-quantum attestations of AI agent actions (mint, trajectory, coherence) using ML-DSA-65 signatures, with offline verification always free.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to verify proposed actions through federated adversarial consensus among multiple LLMs, providing Ed25519-signed attestations to prevent hallucinations, unverified counterparties, and compliance risks before execution.2MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to run side-effecting actions like tool calls, file writes, and payments only when each exact set of arguments is covered by a signed, scoped, single-use permit verified server-side, with high-risk actions requiring human sign-off and every allow/deny recorded in a tamper-evident hash-chained ledger.4-