Skip to main content
Glama

a2a-iq-mcp — 8-Dimension A2A v1.0.1 & MCP Agent IQ Benchmark Suite

a2a-iq-mcp is a zero-API-key, zero-dependency, deterministic IQ & Security Conformance Benchmark MCP Server (Python 3.10+ stdlib only) for testing any LLM or autonomous agent's real-world A2A v1.0.1 + MCP 2026-07-28 engineering IQ (60–160 scale, Mean = 100, SD = 15).

Install in 1 click (.mcpb), uvx, or Docker, then paste a single prompt into Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, CrewAI, LangGraph, or FastA2A to generate a cryptographic SHA-256 Scorecard Receipt, Shields.io Badge, and 8-Dimension Dark-Mode SVG Radar Certificate:

Run a full A2A IQ test on yourself using a2a-iq-mcp and show my scorecard!

Quick Install (0 API Keys, 0 External Dependencies)

Option 1 — 1-Click Offline .mcpb Bundle (Claude Desktop)

Download a2a-iq-mcp.mcpb from the v1.0.0 Release and drag it into Claude Desktop -> Settings -> Extensions. Boots offline in <50ms with 0 environment variables.

Option 2 — 0.3s Instant Run via uvx (.whl)

uvx --from https://github.com/khoap1220-hue/a2a-iq-mcp/releases/download/v1.0.0/a2a_iq_mcp-1.0.0-py3-none-any.whl a2a-iq-mcp selftest

Option 3 — Claude Code CLI (claude mcp add)

claude mcp add a2a-iq-mcp -- uvx --from https://github.com/khoap1220-hue/a2a-iq-mcp/releases/download/v1.0.0/a2a_iq_mcp-1.0.0-py3-none-any.whl a2a-iq-mcp-server

Option 4 — Cursor / Windsurf / Claude Desktop JSON Config

{
  "mcpServers": {
    "a2a-iq-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/khoap1220-hue/a2a-iq-mcp/releases/download/v1.0.0/a2a_iq_mcp-1.0.0-py3-none-any.whl",
        "a2a-iq-mcp-server"
      ]
    }
  }
}

Option 5 — Docker (python:3.12-slim, Non-Root)

docker build -t a2a-iq-mcp .
docker run -i --rm a2a-iq-mcp

Related MCP server: mcp-security-suite

What It Measures: The 8 A2A & MCP Cognitive/Security Dimensions

Every iq_start_session call mints an HMAC-SHA256 challenge token with dynamically parameterized ports, minor-unit amounts, key IDs, timestamps, and trap payloads (8 scenarios in quick mode, 24 scenarios in full mode). The evaluated LLM sees only the scenarios — never the grading rubric.

ID

Dimension

Weight

Real-World Failure Traps Tested

D1_PROTOCOL_DISCOVERY

A2A v1.0.1 Discovery & Binding

12.5%

/.well-known/agent-card.json supportedInterfaces selection, agent/getAuthenticatedExtendedCard auth gating, and v0.3 <-> v1.0 split-brain url drift.

D2_CRYPTO_JCS_JWKS

RFC 8785 JCS & JWKS Provenance

13.5%

-0.0 normalization, UTF-16 code-unit key sorting (U+1F680 surrogate vs U+E000 BMP), a2aproject/A2A#2122 empty-array JCS preservation, alg:none downgrade, and 169.254.169.254 SSRF jwks_uri spoofing.

D3_ADVERSARIAL_IMMUNITY

MCP Tool-Poisoning & Rug-Pulls

14.0%

5-layer hidden <IMPORTANT> prompt injection, Unicode Tag (U+E0000..U+E007F) & Bidi (U+202E) smuggling, and readOnlyHint: true destructive rug-pulls.

D4_STATE_MACHINE_RECOVERY

Multi-Hop Task FSM & Idempotency

12.0%

Terminal COMPLETED -> WORKING immutability, JSON-RPC -32602 vs -32001 vs HTTP 503 recovery, and preserving messageId / Idempotency-Key across HTTP 504 timeouts.

D5_SCOPE_ATTENUATION

3-Hop OAuth/JWT Attenuation

12.0%

RFC 8693 least-privilege token exchange (a2a:artifacts.read vs root a2a:admin), stripping ambient Authorization/Cookie headers, and strict aud + subtask SLA TTL bounds.

D6_ECONOMIC_X402_SAFETY

Exact Minor-Unit x402 Math

12.5%

Zero-float integer minor units across USDC (6-dec), JPY (0-dec), and KWD (3-dec), basis-point fee floor math, negative slippage traps, and over-cap HTTP 402 payee guards.

D7_SCHEMA_PRECISION

JSON Schema 2020-12 Precision

11.0%

Synthesizing closed payloads under additionalProperties: false, discriminated oneOf branches, uniqueItems: true, and JSON Pointer violation triage.

D8_BYZANTINE_CONSENSUS

Byzantine Multi-Agent Consensus

12.5%

Reconciling 3 conflicting peers (EdDSA-signed fresh vs stale replay vs unsigned prompt-poisoned), 2-of-3 safety quorum halts, and SHA-256 audit hash-chain verification.

Calibrated A2A IQ Tier Ladder (60–160)

Tier

IQ Range

Percentile

Operational Readiness Verdict

S+ Sovereign Architect

145 – 160

99.87%

Autonomous multi-hop A2A v1.0.1 + x402 production authority

S Senior Agent

130 – 144

97.72%

Production A2A & MCP delegation with cryptographic guardrails

A Production Ready

115 – 129

84.13%

Safe for supervised production tool-calling and single-hop A2A

B Assisted

100 – 114

50.00%

Requires deterministic middleware guardrails (mcp-tool-guard) before external I/O

C Fragile

60 – 99

<50.00%

Vulnerable to JCS drift, tool poisoning, scope leaks, or x402 float bugs


6 Built-In Read-Only MCP Tools

All 6 tools set readOnlyHint: true and destructiveHint: false, requiring 0 environment variables on startup:

  1. iq_start_session(mode="quick" | "full", seed_tag=...) — Generates an HMAC-signed session_token and 8 (quick) or 24 (full) parameterized scenarios without exposing the answer key.

  2. iq_submit_answers(session_token, model_name, answers) — Deterministically grades answers onto 60–160 IQ, returning radar scores, diagnostics, SHA-256 Scorecard Receipt, and Shields.io badge Markdown.

  3. iq_probe_live_a2a_agent(target_url, strict_v1=True) — Actively audits any public HTTPS A2A agent's /.well-known/agent-card.json + /.well-known/jwks.json (protected by a strict SSRF DNS-pinning guard blocking loopback/RFC1918/link-local/CGNAT IPs) and outputs a Live Endpoint Readiness Score (0–100).

  4. iq_audit_mcp_toolset_quality(tools_json) — Audits any MCP server's tools/list JSON (0–100) for schema completeness, deceptive readOnlyHint annotations, token bloat, and 5-layer prompt injection.

  5. iq_render_scorecard_svg(model_name, iq_score, tier, dimension_scores) — Generates a self-contained 840x320 dark-mode SVG Radar & IQ Certificate.

  6. iq_reference_tiers() — Returns the complete 8-dimension weights, protocol baselines, and IQ calibration curve.


CLI Usage (a2a-iq-mcp)

# Run deterministic selftest (Sovereign Reference IQ 155 vs Fragile Baseline IQ 72)
a2a-iq-mcp selftest --json

# Probe any live HTTPS A2A v1.0.1 node's Well-Known AgentCard & Ed25519 JWKS
a2a-iq-mcp probe https://khoaphan.dev --json

# Render a standalone 840x320 dark-mode SVG IQ certificate
a2a-iq-mcp render-svg --model "Claude 4.5 Sonnet" --iq 155 --out scorecard.svg

Sibling Official Anthropic MCP Servers & A2A Security Ecosystem

a2a-iq-mcp is part of an open-source suite of 8 Official Anthropic MCP Registry servers and zero-dependency A2A v1.0.1 security tooling maintained by Khoa Phan (khoaphan.dev):

Server / Package

Registry ID / Repo

Focus

a2a-iq-mcp

io.github.khoap1220-hue/a2a-iq-mcp

8-Dimension A2A v1.0.1 & MCP Agent IQ Benchmark (60–160 IQ, 0 deps)

mcp-tool-guard

io.github.khoap1220-hue/mcp-tool-guard

Runtime guardrails: 5-layer tool-poisoning scan, JCS/JWKS verifier, x402 cap & 11-CVE lockfile SCA

anythingllm-mcp

io.github.khoap1220-hue/anythingllm-mcp

AnythingLLM workspaces, RAG chat, vector search & workspace ACLs

caido-mcp

io.github.khoap1220-hue/caido-mcp

Caido HTTP security proxy & GraphQL traffic auditing

wakatime-mcp

io.github.khoap1220-hue/wakatime-mcp

Developer coding telemetry, language breakdowns & project analytics

shopnex-mcp

io.github.khoap1220-hue/shopnex-mcp

Headless e-commerce catalog, order & fulfillment automation

trefle-mcp

io.github.khoap1220-hue/trefle-mcp

Botanical taxonomy & scientific plant dataset queries

blender-mcp-suite

io.github.khoap1220-hue/blender-mcp-suite

Deterministic 3D scene assembly & asset validation

Need custom A2A v1.0.1 multi-agent architecture, cryptographic JCS/JWKS hardening, x402 settlement guardrails, or enterprise MCP server engineering? We operate a transparent A2A engineering workflow strictly via asynchronous written channels (GitHub Issues/PRs and email — Code-First PoCs and automated test suites upfront): khoaphan.dev/services.

License

MIT © Khoa Phan

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to run scope-checked probes of MCP endpoints, analyze tool definitions for poisoning and dangerous capabilities, detect definition drift, and generate reproducible evidence bundles and bounty-ready reports.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to test MCP servers for specification compliance across transport, lifecycle, tools, resources, prompts, error handling, schema validation, and security, with A–F grading and support for HTTP and stdio targets.
      2
      611 npm
      2
      MIT