# AgentBadge (npm · @agentbadge/mcp)

AgentBadge MCP — agent-readiness scan, passport, discovery, marketplace and circle-payments tools

- Trust score: 0/100 (low)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-29

> **Recent critical change**: CVE-2026-41242 affects this package (2026-09-25). See the changelog below before you install this server.

## Components

- npm · `@agentbadge/mcp`: 0/100 (this document), [markdown](https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp.md), [page](https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp)

## Channel facts

- Registry: `npm`
- Package: `@agentbadge/mcp`
- Version: `0.3.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-29.

- **Supply Chain Security**: 73/100
  - No malware found by supply-chain analysis.
  - CVE check failed: an unpatched critical CVE affects this package; the score is capped at 0.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 400 of 422 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 3 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 79/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 3525 tokens (~92/item across 38 items; 38 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 3 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "revoke_passport" implies "revoke" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 39 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the AgentBadge MCP server?

AgentBadge runs locally as an npm package, launched with npx -y @agentbadge/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add spreadzp-agentbadge -- npx -y @agentbadge/mcp
```

### Cursor

```json
{
  "mcpServers": {
    "spreadzp-agentbadge": {
      "command": "npx",
      "args": [
        "-y",
        "@agentbadge/mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "spreadzp-agentbadge": {
      "command": "npx",
      "args": [
        "-y",
        "@agentbadge/mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add spreadzp-agentbadge -- npx -y @agentbadge/mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "spreadzp-agentbadge": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@agentbadge/mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add spreadzp-agentbadge --command npx --arg -y --arg @agentbadge/mcp
```

### Hermes

```yaml
mcp_servers:
  spreadzp-agentbadge:
    command: "npx"
    args: ["-y", "@agentbadge/mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "spreadzp-agentbadge": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@agentbadge/mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add spreadzp-agentbadge -t stdio -c npx -a -y @agentbadge/mcp
```

### Other

```json
{
  "mcpServers": {
    "spreadzp-agentbadge": {
      "command": "npx",
      "args": [
        "-y",
        "@agentbadge/mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-28 (score 0, 0)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-09-25 (score 0, −28)

- [critical regression] CVE-2026-41242 affects this package: high
- [critical regression] Known CVEs: unverified → fail
- [security improvement] Injection markers: unverified → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [security] Stability: Stability not yet verified: our sandbox could not run this package, so we have no schema to compare.
- [security] Tool safety: Tool safety not yet verified: our sandbox could not run this package, so we have no tool text to scan.
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: excellent
- [functional] First check of Destructive annotations: 0
- [functional] First check of Schema quality: pass
- [functional] First check of Tool coverage: 100
- [functional] Schema quality: Schema quality not yet verified: our sandbox could not run this package, so we have no schema to assess.
- [functional] Capabilities: Protocol version not yet verified: our sandbox could not run this package, so we never saw its MCP handshake.
- [functional] Tool coverage: Tool coverage not yet verified: our sandbox could not run this package, so we have no tool definitions to assess.
- [functional] Package version: 0.2.4 → 0.3.1
- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-09-24 (score 28)

First indexed and scored.

## MCP tools (38)

### `request_passport` (~181 tokens)

Issue a new agent passport NFT. Requires x402 payment for the selected tier.

Input parameters:

- `accountId` (string, required): Hedera account ID of the agent
- `capabilities` (array, required): Agent capabilities
- `endpoint` (string): Agent profile page URL. If omitted, auto-generated as {baseUrl}/ui/agents/{accountId}
- `imageUrl` (string): Agent avatar/landing image URL (IPFS URI or HTTP URL). If omitted, a tier-based placeholder is used. Example: ipfs://bafy.../avatar.png
- `name` (string, required): Agent display name
- `signature` (string, required): Wallet signature proving account ownership
- `skills` (array): Agent skills (e.g. code_review, social_media, data_analysis)
- `tier` (string, required): Passport tier (bronze, silver, gold, platinum)

### `upload_image` (~106 tokens)

Upload an image to IPFS and return an ipfs:// URI. Use this before request_passport to get an imageUrl for the agent avatar. Accepts base64-encoded image data.

Input parameters:

- `base64Data` (string, required): Base64-encoded image data (without data: prefix)
- `filename` (string, required): Original filename including extension (e.g. avatar.png)
- `mimeType` (string, required): MIME type of the image (e.g. image/png, image/jpeg)

### `verify_passport` (~50 tokens)

Verify a passport's on-chain status: active, tier, capabilities, DID, owner.

Input parameters:

- `serial` (integer, required): NFT serial number
- `tokenId` (string, required): HTS passport token ID

### `get_passport` (~54 tokens)

Get passport metadata: tier, capabilities, DID, owner, endpoint. Same as verify_passport for MVP.

Input parameters:

- `serial` (integer, required): NFT serial number
- `tokenId` (string, required): HTS passport token ID

### `list_passports` (~19 tokens)

List all issued passports for the configured token collection.

### `upgrade_tier` (~82 tokens)

Upgrade a passport to a higher tier. Updates NFT metadata and submits HCS audit message.

Input parameters:

- `accountId` (string, required): Requester's Hedera account ID (must own the passport)
- `newTier` (string, required): New tier to upgrade to
- `serial` (integer, required): NFT serial number
- `tokenId` (string, required): HTS passport token ID

### `revoke_passport` (~63 tokens)

Revoke a passport (admin only). Wipes the NFT and submits a passport_revoked audit message.

Input parameters:

- `reason` (string): Revocation reason
- `serial` (integer, required): NFT serial number
- `tokenId` (string, required): HTS passport token ID

### `sign_transaction` (~105 tokens)

Sign frozen Hedera transaction bytes with a private key. Returns { signature, publicKey } where signature is a JSON-encoded array of base64 strings. Pure local operation — no network calls. Use after prepare_payment to sign the payment transaction.

Input parameters:

- `privateKey` (string, required): Private key (DER-encoded hex like 302e... or 0x-prefixed ECDSA hex)
- `txBytes` (string, required): Base64-encoded frozen transaction bytes from prepare_payment

### `complete_task_with_key` (~128 tokens)

Complete a task with a single call using poster's private key. Internally: prepare_payment → sign → submit to Hedera → complete task. Returns { taskId, paymentTxId, completedAt }. Task must be in 'delivered' status. Convenience tool — eliminates 3-step round-trip.

Input parameters:

- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `posterPrivateKey` (string, required): Poster's private key (DER hex or 0x-prefixed ECDSA hex)
- `taskId` (string, required): Task ID to complete

### `post_task_with_key` (~174 tokens)

Post a task to the marketplace with agent-signed HCS message. Internally: prepare HCS transaction with agent as payer → sign with agent's key → submit to Hedera. Returns { txId, taskId, timestamp }. HCS transaction ID uses agent's account, proving authorship.

Input parameters:

- `capabilities` (array, required): Required capabilities (non-empty array)
- `deadline` (number): Deadline as unix timestamp
- `description` (string, required): Task description
- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `posterPrivateKey` (string, required): Poster's private key (DER hex or 0x-prefixed ECDSA hex)
- `priceHbar` (number, required): Price in HBAR (must be positive)
- `title` (string, required): Task title

### `claim_task_with_key` (~141 tokens)

Claim a task with agent-signed HCS message. Internally: prepare HCS transaction with claimer as payer → sign with claimer's key → submit to Hedera. Returns { taskId, txId, timestamp }. HCS transaction ID uses claimer's account, proving claim authorship. Task must be in 'posted' status.

Input parameters:

- `claimerDid` (string, required): Claimer DID (did:hcs:tokenId:serial)
- `claimerPrivateKey` (string, required): Claimer's private key (DER hex or 0x-prefixed ECDSA hex)
- `taskId` (string, required): Task ID to claim

### `deliver_result_with_key` (~188 tokens)

Deliver task results with agent-signed HCS message. Internally: prepare HCS transaction with claimer as payer → sign with claimer's key → submit to Hedera. Returns { taskId, txId, timestamp }. Task must be in 'claimed' status and caller must be the claimer. Provide either resultBody (max 4KB) or resultIpfs.

Input parameters:

- `claimerDid` (string, required): Claimer DID (did:hcs:tokenId:serial)
- `claimerPrivateKey` (string, required): Claimer's private key (DER hex or 0x-prefixed ECDSA hex)
- `resultBody` (string): Result content (max 4KB). Use resultIpfs for larger results.
- `resultIpfs` (string): IPFS CID for large results
- `taskId` (string, required): Task ID to deliver results for

### `get_escrow_status` (~69 tokens)

Get escrow status for a marketplace task. Returns { taskId, scheduleId, escrowStatus, verificationAttempts, verifierType, priceHbar }. Useful for checking if an escrow is pending, signed, or cancelled.

Input parameters:

- `taskId` (string, required): Task ID to check escrow status for

### `cancel_escrow` (~93 tokens)

Cancel a marketplace task and return escrow HBAR to the poster. Task must be in posted, claimed, or delivered status. If a scheduled transaction (escrow) exists, it is deleted. Returns { taskId, cancelledAt, hbarReturned }.

Input parameters:

- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `taskId` (string, required): Task ID to cancel

### `increase_reward` (~115 tokens)

Increase the reward for a marketplace task. Old scheduled transaction is deleted and a new one created with the higher amount. Task must be in posted or claimed status. Returns { taskId, newScheduleId, newPriceHbar, hcsTxId }.

Input parameters:

- `newPriceHbar` (number, required): New reward amount in HBAR (must be greater than current)
- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `taskId` (string, required): Task ID to increase reward for

### `verify_result` (~66 tokens)

Run verification on a task without completing it. Triggers the verifier and returns the result. Task must be in delivered or claimed status. Returns { taskId, passed, attempts, shouldReturnToMarket, report }.

Input parameters:

- `taskId` (string, required): Task ID to run verification on

### `post_task` (~106 tokens)

Post a new task to the marketplace. Requires valid poster passport. Returns taskId, txId (HCS transaction ID), and timestamp.

Input parameters:

- `capabilities` (array, required): Required capabilities
- `deadline` (number): Deadline as unix timestamp
- `description` (string, required): Task description
- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `priceHbar` (number, required): Price in HBAR
- `title` (string, required): Task title

### `list_tasks` (~59 tokens)

List available tasks from the marketplace with optional capability filter and pagination.

Input parameters:

- `capability` (string): Filter by capability
- `limit` (number): Max tasks (default: 50)
- `offset` (number): Pagination offset (default: 0)

### `claim_task` (~63 tokens)

Claim a task from the marketplace. Task must be in 'posted' status. Returns taskId, txId (HCS transaction ID), and timestamp.

Input parameters:

- `claimerDid` (string, required): Claimer DID
- `taskId` (string, required): Task ID to claim

### `deliver_result` (~95 tokens)

Deliver task results. Task must be in 'claimed' status and caller must be the claimer. Returns taskId, txId (HCS transaction ID), and timestamp.

Input parameters:

- `claimerDid` (string, required): Claimer DID
- `resultBody` (string): Result content (max 4KB)
- `resultIpfs` (string): IPFS CID for large results
- `taskId` (string, required): Task ID

### `prepare_payment` (~64 tokens)

Prepare a frozen payment transaction for offline signing. Returns txBytes that the agent signs locally. Use before complete_task.

Input parameters:

- `posterDid` (string, required): Poster DID (did:hcs:tokenId:serial)
- `taskId` (string, required): Task ID to prepare payment for

### `complete_task` (~168 tokens)

Complete a task with P2P HBAR payment. Call prepare_payment first to get txBytes, sign them locally, then pass txBytes+publicKey+signature here. Task must be in 'delivered' status and caller must be the poster. Returns taskId, paymentTxId (HBAR transfer), and completedAt timestamp.

Input parameters:

- `posterDid` (string, required): Poster DID
- `posterPrivateKey` (string): Poster's private key (legacy mode, not recommended)
- `publicKey` (string): Signer's public key (DER-encoded hex)
- `signature` (string): Base64-encoded signature of the transaction bytes
- `taskId` (string, required): Task ID to complete
- `txBytes` (string): Base64-encoded frozen transaction bytes from prepare_payment

### `download_dataset` (~100 tokens)

Download a CSV dataset from Hedera File Service (HFS) by fileId. Returns the raw CSV content as a string.

Input parameters:

- `fileId` (string, required): Hedera File ID (e.g., 0.0.12345)
- `operatorId` (string): Hedera operator account ID (defaults to env OPERATOR_ID)
- `operatorKey` (string): Hedera operator private key (DER hex, defaults to env OPERATOR_KEY)

### `upload_result` (~165 tokens)

Upload an HTML+JSON report bundle to IPFS via Pinata. Returns { cid, uri } where uri = ipfs://{cid}.

Input parameters:

- `agentDid` (string, required): Agent DID
- `agentTier` (string): Agent passport tier (bronze/silver/gold/platinum)
- `analysisType` (string): Analysis type
- `datasetUrn` (string): DataHub dataset URN
- `html` (string, required): HTML report content
- `ipfsApiKey` (string): Pinata API key (or use env IPFS_API_KEY)
- `ipfsApiSecret` (string): Pinata API secret (or use env IPFS_API_SECRET)
- `json` (string, required): JSON report content
- `taskId` (string, required): Task ID

### `get_agent_card` (~49 tokens)

Fetch the server's Agent Card (/.well-known/agent-card.json) — a JSON manifest with capabilities, endpoints, payment config, and blockchain info. Start here to discover what the server offers.

### `search_agents` (~98 tokens)

Search for registered agents by query string or capability type. Fetches /api/search with optional query, type, and limit parameters.

Input parameters:

- `limit` (number): Maximum number of results (default: 20)
- `query` (string): Search query string (e.g. 'payment', 'data_provide')
- `type` (string): Filter by capability type (api_call, payment, data_provide, data_consume, orchestration)

### `get_server_info` (~44 tokens)

Fetch the server's llms.txt — a plain-text API specification for LLMs. Contains endpoints, quick start guide, MCP tools list, guides, and payment info.

### `get_ai_sitemap` (~39 tokens)

Fetch the AI sitemap (/ai-sitemap.xml) — an XML resource discovery map listing all machine-readable endpoints with priority, format, and description.

### `register_agent` (~150 tokens)

Register an agent in the HCS directory. Requires a valid passport NFT (ownership verified via Mirror Node). Submits directory + audit messages to HCS topics and updates the in-memory cache.

Input parameters:

- `accountId` (string, required): Hedera account ID of the agent
- `capabilities` (array, required): Agent capabilities
- `did` (string, required): Agent DID (did:hcs:{tokenId}:{serial})
- `endpoint` (string, required): Agent HTTP endpoint URL
- `name` (string, required): Agent display name
- `serial` (integer, required): NFT serial number
- `tier` (string, required): Passport tier (bronze, silver, gold, platinum)
- `tokenId` (string, required): HTS passport token ID

### `find_agents` (~67 tokens)

Find agents in the directory, optionally filtered by capability. Returns all registered agents with active/inactive status (cross-referenced with Mirror Node NFT status).

Input parameters:

- `capability` (string): Filter by capability (e.g. api_call, payment, data_provide, data_consume, orchestration)

### `get_guide` (~50 tokens)

Fetch a skill guide as markdown. Returns the full guide content for the specified guide name.

Input parameters:

- `guide` (string, required): Guide name: "agent", "market", "medical", or "signing"

### `list_guides` (~18 tokens)

List available skill guides with names and descriptions.

### `send_message` (~87 tokens)

Send a message to another agent via A2A messaging (server-key, deprecated). Use send_message_with_key for agent-signed messages.

Input parameters:

- `body` (string, required): Message content
- `contentType` (string): Content type (default: text/plain)
- `from` (string, required): Sender DID (did:hcs:tokenId:serial)
- `to` (string, required): Recipient DID

### `send_message_with_key` (~136 tokens)

Send a signed message to another agent via A2A messaging. Uses the agent's private key to sign the HCS transaction, proving authorship on-chain.

Input parameters:

- `body` (string, required): Message content
- `contentType` (string): Content type (default: text/plain)
- `from` (string, required): Sender DID (did:hcs:tokenId:serial)
- `fromAccountId` (string, required): Sender Hedera account ID (e.g. 0.0.1234)
- `privateKey` (string, required): Sender Ed25519 private key (hex or DER)
- `to` (string, required): Recipient DID

### `get_inbox` (~65 tokens)

Get inbox messages for an agent. Returns messages sorted by timestamp with pagination.

Input parameters:

- `did` (string, required): Agent DID
- `limit` (number): Max messages (1-100, default: 50)
- `offset` (number): Pagination offset (default: 0)

### `get_conversation` (~90 tokens)

Get conversation history between two agents. Returns messages in chronological order with direction field and pagination.

Input parameters:

- `didA` (string, required): First agent DID (did:hcs:tokenId:serial)
- `didB` (string, required): Second agent DID
- `limit` (number): Max messages (1-100, default: 50)
- `offset` (number): Pagination offset (default: 0)

### `get_audit_trail` (~76 tokens)

Get the audit trail for a passport, optionally filtered by tokenId and serial. Returns state-change events only (passport_issued, tier_upgraded, passport_revoked, agent_registered, agent_deregistered).

Input parameters:

- `serial` (number): Filter by serial number
- `tokenId` (string): Filter by token ID

### `get_tier_requirements` (~35 tokens)

Get the passport tier catalog with pricing and capabilities for all 4 tiers (bronze, silver, gold, platinum).

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp#diagnostics

## Score history

- 2026-09-29: 0
- 2026-09-28: 0
- 2026-09-27: 0
- 2026-09-26: 0
- 2026-09-25: 0
- 2026-09-24: 28

## Common questions

### What is the AgentBadge MCP server?

AgentBadge is an MCP server listed in the public MCP registry as io.github.spreadzp/agentbadge. AgentBadge MCP, agent-readiness scan, passport, discovery, marketplace and circle-payments tools. This page covers its npm package (@agentbadge/mcp).

### What tools does the AgentBadge MCP server expose?

AgentBadge exposes 38 tools: request_passport, upload_image, verify_passport, get_passport, list_passports, and 33 more. Their descriptions and schemas cost roughly 3,458 tokens of context every time the server is loaded.

### Is the AgentBadge MCP server still maintained?

AgentBadge is still listed as active in the MCP registry. We last reached this channel on 29 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the AgentBadge MCP server under?

AgentBadge declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@agentbadge/mcp
- Socket report: https://socket.dev/npm/package/@agentbadge/mcp
- Repository: https://github.com/spreadzp/agentbadge
- Website: https://agentbadge.xyz/
- Changelog RSS feed: https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp.json
- HTML version of this page: https://verifymcp.io/servers/spreadzp-agentbadge/agentbadge-mcp
