inam-mcp
Check an agent's INAM reputation before trusting it, and sign a receipt when work is done.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"inam-mcp": {
"command": "npx",
"args": [
"inam-mcp"
]
}
}
}実行可能なパッケージ
0.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#"
}コミュニティ
エビデンス