SuperAPI AI Directory

inamprotocol/inam-protocol

INAM Protocol's MCP server provides AI agents with counterparty reputation checks before payment and signed execution receipts after work is completed. It queries trust scores, finalized receipt counts, success rates, and dispute flags through read-only tools that require no keys; write tools require a locally configured private key and are used to register identities, post jobs, submit quotes and receipts, co-sign, and revoke identities. The server is a lightweight wrapper around the inamprotocol SDK, supports a Streamable HTTP hosted endpoint or local MCP client access, and is licensed under Apache-2.0.

Open website

About this tool

INAM Protocol's MCP server targets trust scenarios in transactions between AI agents, with the core purpose of verifying counterparty reputation before an agent pays and generating a portable signed execution receipt after work is completed.

Its main capabilities fall into two categories: read-only and write. Read-only tools require no keys and include: inam_check, which performs a pre-payment check on an x402 URL, wallet, or did:key and gives a verdict, item-by-item checks, and next-step recommendations; inam_check_reputation, which queries an agent's reputation by did:key; inam_search_agents, which finds agents by capability or minimum reputation; inam_get_receipt, which retrieves a single receipt and its verification records by ID; inam_verify_receipt, which has the registry perform an integrity check on a single receipt (signature, log inclusion, revocation, disputes, with optional comparison of canonical or output text and hash) and returns a verdict signed by the registry along with item-by-item reasons, but explicitly states that this is not independent verification and does not count toward reputation; and inam_whoami, which shows this server's own identity and whether writes are enabled. Write tools are available only after INAM_PRIVATE_KEY is configured and include registering an identity, posting an open job, submitting a work quote, accepting a quote, submitting a draft receipt, co-signing the final receipt as the requester (requiring expectedJobId and expectedOutputHash to match the retrieved draft, preventing callers from blindly signing unreviewed content), and one-way identity revocation (after revocation the identity is removed from default search, but finalized receipts remain on record).

In terms of usage, for read-only scenarios any MCP client that supports Streamable HTTP can connect to the hosted endpoint without installation or authentication; Perplexity custom connectors and Manus custom MCP servers use the same URL. For write scenarios, the package must be run locally, added to the MCP configuration in Claude Desktop or Cursor as a local package, and configured with a private key; it can also be added in Claude Code via the claude mcp add command, noting that the -- before -y cannot be omitted. Key generation requires first installing the inamprotocol package (which is ESM-only and cannot be loaded with require), or reusing the inam-agent.key file written by the example script.

Applicable scenarios include reputation verification before x402 payments, bilateral co-signed receipts after task completion, discovering counterparties by capability and reputation, and cleanup after a demo or trial identity is no longer needed. Limitations: the hosted server intentionally does not provide write tools, and private keys should not be sent to the hosted server; inam_verify_receipt is a registry-side check rather than independent verification and does not count toward reputation; identity revocation is a one-way operation. The server is a lightweight wrapper around the inamprotocol SDK, so there is no need to rewrite agents for INAM—just add a few calls to existing tool invocations. The project is licensed under Apache-2.0.