iqa-mcp
iqa-mcp exposes IQA attestation primitives as four stateless, offline MCP tools for intent addressing and AE-128 envelope parsing/verification.
Derive an intent/route shard from an authority string as SHA-256(authority) first 16 bytes in lowercase hex — deterministic and offline.
Structurally parse a 128-byte AE-128 envelope from hex without a key, failing closed on malformed input.
Verify an AE-128 envelope using a caller-supplied organ key with constant-time HMAC-SHA256 over the whole frame and an optional lease check; returns PASS/REJECT as a result.
Return the published AE128-VECTOR-1 conformance vector for byte-for-byte offline self-testing.
All tools are read-only, idempotent, stateless, and require no network, accounts, or key storage.
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., "@iqa-mcp run the published AE128-VECTOR-1 self-test and show the verification result"
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.
iqa-mcp
The IQA attestation primitives — derived intent addressing and AE-128 envelope verification — exposed as Model Context Protocol tools, so any MCP agent (Claude Desktop, Cline, your own client, an Uber-style MCP Gateway) can verify trust offline, fail-closed.
A thin, stateless wrapper around the published iqa-org 1.3.2 reference
implementation. No network. No accounts. No key storage. No state.
PyPI · iqa-mcp · Apache-2.0 Spec · draft-li-rttp-iqa-addressing — Independent Submission, in review Landing page · iqa.org/MCP/
Why
Agent platforms are converging on MCP as the tool-calling layer, at industrial scale. What none of them standardize is trust semantics: what intent is being addressed, and whether the counterparty holds standing — verifiable without a network call. These four tools make that layer native to any MCP agent.
Related MCP server: technocore
Install
Requires Python ≥ 3.11.
# from PyPI — installs the `iqa-mcp` console command
pip install iqa-mcp
# launcher equivalents — same `iqa-mcp` command, they fetch and wrap the Python package above
npm install -g iqa-mcp # or run once: npx iqa-mcp
cargo install iqa-mcp
# or run from source
pip install "iqa-org>=1.3.2" "mcp>=2"
python server.py # stdio transportAll three install paths end at the same iqa-mcp command; the MCP client configuration below works unchanged for any of them.
MCP client configuration (Claude Desktop / Cline style):
{
"mcpServers": {
"iqa": {
"command": "iqa-mcp"
}
}
}(From source, use "command": "python", "args": ["/path/to/server.py"]
instead.)
Tools
Tool | Input | Returns | Key needed |
| authority string |
| no |
| AE-128 frame hex | structural decode: version, lease, shard, organ, nonce, standing — fails closed on every layout rule | no |
| frame hex + organ key | full verification: constant-time HMAC-SHA256 over the whole 128-byte frame (attestation zeroed) + lease check. REJECT is a result, not an error | yes (caller-supplied) |
| — | the published AE128-VECTOR-1 (authority, test key, frame hex — see iqa-org) for byte-for-byte self-test | — |
Try it in thirty seconds
published_vector -> AE128-VECTOR-1: authority + test key + frame hex
parse_envelope(frame) -> standing radiant · nonce 1 · lease unexpired
verify_envelope(frame, key) -> PASS
flip one byte of standing -> REJECT (HMAC mismatch)That last line is the point: tampering is not detected by anyone watching — the frame simply stops verifying, offline, for any verifier, forever.
Self-test
# installed from PyPI — runs against the iqa-mcp console script
python -m test_mcp
# or from a source checkout — runs against ./server.py
python test_mcp.py
# [PASS] 1 · list_tools -> 4 tools
# [PASS] 2 · derive_route_shard -> 5c378581f92754d0bc88adaed84b7c5a
# [PASS] 3 · published_vector -> f3b2a1c4.pillar.example
# [PASS] 4 · parse_envelope -> standing radiant
# [PASS] 5 · verify_envelope -> [PASS] radiant · nonce 1
# [PASS] 6 · tampered frame -> REJECT (HMAC mismatch)
# [PASS] 7 · malformed hex -> REJECT
# ALL 7/7 PASSDesign invariants
Inherited from the schemes:
Zero-parser — fixed offsets, no TLV, no heap-shaped parsing.
Fail-closed — malformed input is a REJECT result, never a normalised partial answer.
Offline — verification needs the frame, the key, and a hash function. Nothing else.
Stateless — the server stores nothing; the organ key is passed per call by the client and never persisted.
What this is not
Stated plainly, because evidence tooling that oversells is just marketing:
Not real-time governance. Gateways and policy engines decide in the moment; this server proves after the fact. The two compose; neither replaces the other.
Not a delegation scheme. v1.3.x intentionally specifies no delegation semantics — see the draft's honest-boundary notes.
Not a key custodian. The organ key never touches this server's state; verification is caller-supplied, per call. Never pass a production organ key through a host you do not control — whoever sees the key holds the verification power.
Not a benchmark. The demos at iqa.org execute real WebCrypto in the browser; this server wraps the same published primitives.
Status
Published on PyPI: https://pypi.org/project/iqa-mcp/ — current version in the badge above.
Transport: stdio, plus a hosted streamable-HTTP endpoint at https://mcp.iqa.org/ (MCP server URL:
https://mcp.iqa.org/mcp— stateless, rate-limited, no session, no keys stored; landing page: https://mcp.iqa.org/). The tools are stateless, so hosting adds no custody.Underlying schemes:
iqa-org 1.3.2(PyPI / npm / crates.io — four registries, byte-exact vectors, offline self-test).Specification:
draft-li-rttp-iqa-addressing— Independent Submission, in review.
Sister repositories
iqa-org — the reference implementation (addressing, envelope, verification).
rttp — the addressing scheme: design notes and open questions.
Organization discussions — start-here map and cross-repo threads.
Public record
Everything this tool wraps is public and checkable — no asking us:
Landing page: https://iqa.org/MCP/
Public record, dated: https://iqa.org/brief/
Live demos — the audit chain this tool joins: https://iqa.org/demo/compare/ · https://iqa.org/demo/delegation/
Whitepaper: https://iqa.org/whitepaper/ (also at rttp.com/whitepaper)
Internet-Draft: draft-li-rttp-iqa-addressing — Independent Submission, in review
The library this server wraps: iqa-org 1.3.2 on PyPI — four registries, byte-exact vectors, offline self-test
Status update — revision -02 (2026-11-01)
The specification reference above is now:
draft-li-rttp-iqa-addressing— revision -02 (40 pp., 2026-11-01), Independent Submission, in review: https://datatracker.ietf.org/doc/draft-li-rttp-iqa-addressing/
Three -02 sections map directly onto these tools:
§6 — the trust lease.
verify_envelopeperforms its lease check against the verifier's own clock; deployments use 120 seconds, configurable. An expired lease is a REJECT result — fail-closed, in line with the section's normative rule that an expired answer MUST be refused.§8 — the closed refusal vocabulary with grant references. REJECT results are asked to surface the reason as one of the five closed-set values (
evidence_binding_mismatch,evidence_expired,authority_not_determined,authority_revoked,operation_not_permitted) plus a grant reference, so that agents across different MCP clients see the same refusal words for the same failure.The attestation envelope these tools parse and verify is specified as a normative wire format in §7 of the I-D;
parse_envelopeandverify_envelopeimplement exactly that layout (fixed offsets, HMAC over the whole frame with the attestation field zeroed).
Nothing about the tools, their inputs, or their self-test output changes; this is a specification-pointer update only.
License
Apache-2.0 — © RTTP & IQA Organization
Available Tools
4 toolsderive_route_shardARead-onlyIdempotent
Derive the ROUTE_SHARD / intent shard for an authority: SHA-256 of the exact authority string, first 16 bytes, lowercase hex. Deterministic, offline, action-independent (SPEC sec. 3). No lookup, no registry, no network call.
Inputs: authority (required). Returns: result
parse_envelopeARead-onlyIdempotent
Structural decode of one AE-128 attestation envelope (128 bytes, hex). No organ key needed. Fails closed on every layout rule of the companion draft sec. 2/sec. 4 -- malformed input is never normalised into a partial result.
Inputs: envelope_hex (required). Returns: result
published_vectorARead-onlyIdempotent
Return AE128-VECTOR-1, the published conformance vector (companion draft sec. 6): the example authority, the documented test organ key, the lease, and the full 128-byte frame as hex. Feed these into verify_envelope and you must get [PASS] -- byte for byte, offline.
Inputs: no named parameters. Returns: result
verify_envelopeARead-onlyIdempotent
Full AE-128 verification (companion draft sec. 4): constant-time HMAC-SHA256 over the whole 128-byte frame with the attestation field zeroed, plus the optional lease check. organ_key is the organ's shared test/deployment key (this server is stateless and stores nothing). REJECT is a result, not an error: a flipped byte anywhere breaks the MAC.
Inputs: organ_key (required), envelope_hex (required), now, check_lease. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools have largely distinct purposes: derive_route_shard computes a shard, parse_envelope does structural decoding, verify_envelope does cryptographic verification, and published_vector returns a test fixture. parse_envelope and verify_envelope both operate on the same 128-byte envelope, which could momentarily confuse an agent, but the descriptions clearly separate 'structural, no key' from 'HMAC verification with organ_key'.
Three tools follow a clean verb_noun snake_case pattern (derive_route_shard, parse_envelope, verify_envelope) with consistent imperative verbs. The fourth, published_vector, is a noun phrase rather than a verb_phrase, a minor deviation from the otherwise predictable convention.
Four tools is a tight, well-scoped surface for a narrow cryptographic verification domain (derive, parse, verify, plus a self-test vector). It leans slightly thin, but each tool clearly earns its place with no redundancy.
The surface covers the full verify-a-lifecycle: deriving the intent shard, decoding the envelope, verifying it, and a published conformance vector for offline self-testing. The main gap is the absence of an encode/build or key-generation counterpart, though that may be intentionally out of scope for a stateless verifier.
Maintenance
Related MCP Connectors
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Post-quantum, tamper-evident receipts for agent actions. Ed25519 + ML-DSA-65, offline verify.
Verifiable execution records for AI agents: signed receipts, tamper-evident archives and portable evidence bundles, exposed via MCP and REST, with paid verify and anchor calls settled over x402.
A paid remote MCP for HyperFrames, built to return verdicts, receipts, usage logs, and audit-ready J
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for sovereign AES-256-GCM backup encryption and decryption. Enables encrypting, decrypting, verifying, and scoring passphrases with zero network calls.MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for interacting with the Technocore agent protocol, including signed messaging, nonce management, DID verification, end-to-end encrypted communication, and untrusted data fencing.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to operate through a local, signed boundary that blocks prompt injection and secret leakage, verifies outputs, preserves cross-session memory, and provides offline-verifiable receipts. It also exposes 900+ MCP tools for discoverable agent actions.7MIT
- AlicenseAqualityBmaintenanceEnables action-bound authorization and verifiable evidence contracts for MCP tool execution, offering deterministic action planning, policy decisions, and one-use capability tokens tied to exact action envelopes.32Apache 2.0