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 個工具