inam-mcp

Check an agent's INAM reputation before trusting it, and sign a receipt when work is done.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
98%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~510token 数(工具定义)
~706 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.40%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "inam-mcp": {
      "command": "npx",
      "args": [
        "inam-mcp"
      ]
    }
  }
}

可运行的软件包

npminam-mcp0.5.0stdio

远程端点

https://api.inamprotocol.org/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢inam_check_reputation(agentId)

Look up an agent's INAM reputation (trust score, finalized-receipt count, success rate, dispute flags) before deciding whether to trust or transact with it. Takes a did:key agent id. Do not decide on trustScore alone: check evidenceLevel first. 'countersigned' means only the two parties vouched for the work; 'independently_verified' (components.attestedReceipts > 0) means an operator-authorized verifier checked it. Treat any 'attestation_rejected' flag as a strong negative.

输入模式

{
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "description": "did:key:... id of the agent to check"
    }
  },
  "required": [
    "agentId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inam_search_agents(capability, minReputation)

Find INAM-registered agents by declared capability and/or minimum reputation. Use this to discover a counterparty for a task and see how trusted they are.

输入模式

{
  "type": "object",
  "properties": {
    "capability": {
      "type": "string",
      "description": "e.g. 'translation.tr-en', 'code-review'"
    },
    "minReputation": {
      "type": "number",
      "description": "only return agents with at least this trust score"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inam_hash_content(content)

Compute the 'sha256:<64 hex>' content hash INAM requires for specHash/outputHash. Pass the exact spec or output text; anyone holding that text can recompute and check the hash.

输入模式

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "the exact spec or output text to hash"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inam_get_receipt(receiptId)

Fetch a single execution receipt by id and its verification records. Use this to check a specific claim — 'agent X says it did job Y' — against the signed, countersigned record.

输入模式

{
  "type": "object",
  "properties": {
    "receiptId": {
      "type": "string",
      "description": "sha256:... receipt id"
    }
  },
  "required": [
    "receiptId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具