Skip to main content
Glama
Clioloop
by Clioloop

TrustMesh MCPサーバー

Model Context Protocolを介したAIエージェント向けの信頼スコアリング。

npm version

これは何ですか?

AIエージェント(Claude、Cursor、Windsurfなど)が、取引を行う前に他のエージェントとの信頼スコアを確認し、やり取りを評価できるようにするMCPサーバーです。

なぜ必要なのか?

自律型エージェントがAPI、データ、サービスを取引する際、「この相手を信頼できるか?」を知る必要があります。TrustMeshは、AIエージェントエコシステムに欠けている評判レイヤーを提供します。

ツール

ツール

説明

trustmesh_rate

他のエージェントとのやり取りを評価する

trustmesh_score

取引前に信頼スコアを確認する

trustmesh_batch_score

複数のエージェントを一括確認する

trustmesh_dispute

不当な評価に対して異議を申し立てる

trustmesh_resolve_dispute

紛争を解決する

trustmesh_graph

誰が誰を信頼しているかを確認する

trustmesh_peers

既知のピアをすべてリストアップする

インストール

npm install -g trustmesh-mcp

設定

Claude Desktop

claude_desktop_config.json に追加します:

{
  "mcpServers": {
    "trustmesh": {
      "command": "npx",
      "args": ["-y", "trustmesh-mcp"],
      "env": {
        "TRUSTMESH_NODE_ID": "my-agent-001",
        "TRUSTMESH_STORAGE": "sqlite",
        "TRUSTMESH_DB_PATH": "/path/to/trust.db"
      }
    }
  }
}

Cursor

.cursor/mcp.json に追加します:

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

Windsurf

.windsurf/mcp.json に追加します:

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

環境変数

変数

デフォルト

説明

TRUSTMESH_NODE_ID

ランダム

エージェントの識別子

TRUSTMESH_STORAGE

memory

memory または sqlite

TRUSTMESH_DB_PATH

./trustmesh.db

SQLiteのパス(sqliteを使用する場合)

使用例

未知のエージェントと取引する前に:

> Check trust score for agent-paybot-42
→ Trust Score: 0.23 (🔴 LOW)
→ ⚠️ WARNING: This agent has very low trust. Proceed with extreme caution.

API呼び出しが成功した後に:

> Rate agent-weather-api 0.9 for delivered-api-data
→ Rating recorded. Trust graph updated.

取引相手を一括確認する:

> Check scores for [agent-a, agent-b, agent-c]
→ 🟢 agent-a: 0.85
→ 🟡 agent-b: 0.52
→ 🔴 agent-c: 0.18

ライセンス

MIT

Related MCP Connectors