Skip to main content
Glama

@agentkarma/mcp

Turnkey MCP server for AgentKarma — the reputation layer for autonomous on-chain agents.

Expose AgentKarma's read surface (two-faced karma, ERC-8004 agents, succession/bond signals, and a local check_trust gate) to any MCP client — Claude Desktop, Cursor, Continue, …

Run it

npx @agentkarma/mcp                       # stdio (default) — for Claude Desktop / Cursor
npx @agentkarma/mcp --http --port 8787    # HTTP streamable endpoint at /mcp

That's the whole story — this package bundles @agentkarma/sdk and @modelcontextprotocol/sdk as regular dependencies, so there are no peer flags to remember.

Options

--http              Serve over HTTP instead of stdio (default: stdio)
--port <n>          HTTP port (default 8787)
--host <host>       HTTP host (default 127.0.0.1)
--base-url <url>    AgentKarma API base (default https://agentkarma.io;
                    also reads AGENTKARMA_BASE_URL)
-v, --version       Print version
-h, --help          Show help

The HTTP server binds loopback (127.0.0.1) by default and enables DNS-rebinding protection there. The endpoint is read-only and unauthenticated — binding a non-loopback host (e.g. --host 0.0.0.0) exposes it to the network; put it behind your own auth/proxy if you do.

Programmatic use

import { startStdioServer, startHttpServer, createAgentKarmaMcpServer } from '@agentkarma/mcp';

await startStdioServer();                       // connect over stdio
const http = await startHttpServer({ port: 8787 }); // returns the http.Server

Claude Desktop / Cursor config

{
  "mcpServers": {
    "agentkarma": {
      "command": "npx",
      "args": ["-y", "@agentkarma/mcp"]
    }
  }
}

Related MCP server: agentforge-trust-mcp

Tools (read-only)

get_karma · get_celo_agent · search_agents · get_agent_history · get_feedback_summary · get_succession · get_bond · get_surety · check_trust

Every tool is read-only and needs no keys. AgentKarma is non-routing — it answers the trust question; it never signs, executes, or proxies a call.

Under the hood

This is a thin launcher over @agentkarma/sdk/mcp. To embed the server in your own process, or to mount the framework-agnostic tool catalog (@agentkarma/sdk/tools) on an existing MCP server, use the SDK directly.

License

MIT

Available Tools

9 tools
check_trustCheck trust before executingA
Read-onlyIdempotent

Fetch an agent's Karma and evaluate a local trust policy against it — the "should I trust this agent before paying?" gate. Returns an explainable allow/deny decision plus the snapshot it read. Pure local evaluation: no routing, no signing.

Inputs: wallet (required), face, chain, min_score, +4 more.

get_agent_historyGet agent payment historyA
Read-onlyIdempotent

Paginated x402 payment history for a Solana agent wallet, with each transaction's consumer feedback rating. Solana-only today.

Inputs: wallet (required), limit, offset.

get_bondGet bonding statusA
Read-onlyIdempotent

Return surety bonds taken out ON this agent (open vs resolved, total bonded USDC, demo flag). A bond lifts confidence/Tier-1 presence only — never the trust ceiling. Returns an empty block when the agent has no bonds.

Inputs: chain (required), wallet (required).

get_celo_agentGet Celo agent (ERC-8004)A
Read-onlyIdempotent

Resolve a Celo ERC-8004 agent by numeric agentId: IdentityRegistry record (owner, agentURI, declared services) plus aggregate ReputationRegistry feedback.

Inputs: agent_id (required).

get_feedback_summaryGet feedback summaryA
Read-onlyIdempotent

Aggregate delivered/failed counts and delivery rate for a Solana agent wallet.

Inputs: wallet (required).

get_karmaGet Karma (both faces)A
Read-onlyIdempotent

Look up the full two-faced Karma snapshot for an agent wallet — provider score, consumer score, confidence badge, autonomy, identity. Use BEFORE paying an agent or accepting work from one.

Inputs: wallet (required), face, chain.

get_successionGet succession plan (Dead Man's Switch)A
Read-onlyIdempotent

Return the agent's declared succession plan plus AgentKarma's OBSERVED heartbeat liveness (derived status, heir count, deadline). A continuity/trust signal. AgentKarma never holds a key or executes the will (non-custody). Throws not-found when no plan is declared.

Inputs: chain (required), wallet (required).

get_suretyGet Surety KarmaA
Read-onlyIdempotent

Return this wallet's ORTHOGONAL Surety Karma from underwriting OTHER agents' bonds (score, settled/success/in-flight counts). Never folded into Provider/Consumer karma. Returns null when the wallet has never underwritten.

Inputs: chain (required), wallet (required).

search_agentsSearch agentsA
Read-onlyIdempotent

Find agents by a substring of their display name or wallet address (case-insensitive), ranked by score. Returns up to limit results.

Inputs: query (required), limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of agent trust and reputation, from karma snapshots to bond tracking to search. Descriptions clearly differentiate overlapping concepts like check_trust (evaluation) vs get_karma (raw data).

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case: check_trust, get_agent_history, get_bond, search_agents, etc. Verbs like get, check, search are used predictably.

    Tool Count5/5

    Nine tools provide a well-scoped surface for a reputation and trust server. Each tool serves a clear purpose without redundancy or bloat.

    Completeness4/5

    The server covers core read operations on agent karma, trust evaluation, history, bonds, and surety. It lacks write operations (e.g., submitting feedback), but this is likely intentional for a read-only data service.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Reputation and trust scoring service for AI agents, exposed as an MCP server. Evaluate counterparties, report interactions, issue portable trust certificates, and detect Sybil attacks.
      23
      88 PyPI
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Exposes a version-controlled knowledge base as MCP tools so agents can read merged identity/state summaries and next recommended actions at runtime, plus run deterministic schema validation and cross-reference link checks. This lets agents fetch live state and verify integrity via self-describing calls instead of re-reading raw files.
      -