Skip to main content
Glama
Safe MCP Server

Safe MCP Server

by 5ajaki

安全なMCPサーバー

Safe (旧 Gnosis Safe) スマート コントラクト ウォレットと対話するための MCP (Model Context Protocol) サーバー実装。

特徴

  • 任意のセーフアドレスのセーフトランザクションを照会する

  • マルチシグ取引の詳細を取得する

  • トランザクションデータをデコードする

  • 安全なAPI統合

Related MCP server: Hermes Blockchain Oracle

インストール

npm install

使用法

npm run build
npm start

構成は必要ありません。サーバーはデフォルトで Safe Transaction API メインネット エンドポイントを使用します。

利用可能なツール

安全なトランザクションを取得する

任意のSafeアドレスのすべてのトランザクションを取得します。Safeアドレスは、会話のコンテキストに基づいてLLMによって実行時に決定されます。

// Example tool call
getSafeTransactions({
  address: "0x123...", // Safe address determined by LLM
  limit: 100, // optional
  offset: 0, // optional
});

マルチシグトランザクションを取得する

特定のマルチシグトランザクションの詳細を取得します。

getMultisigTransaction({
  safeTxHash: "0x456...", // Transaction hash to query
});

トランザクションデータをデコードする

Safe API を使用してトランザクション データをデコードします。

decodeTransactionData({
  data: "0x789...", // Transaction data to decode
  to: "0xabc...", // Optional contract address
});

構成(オプション)

デフォルトでは、サーバーは Safe Transaction API メインネット エンドポイントを使用します。

https://safe-transaction-mainnet.safe.global/api/v1

別のエンドポイント (例: テストネット用) を使用する必要がある場合は、環境変数を使用して設定できます。

SAFE_API_URL=https://safe-transaction-goerli.safe.global/api/v1 npm start

発達

npm run dev

ライセンス

マサチューセッツ工科大学

Available Tools

3 tools
decodeTransactionDataC

Decode transaction data using Safe API

Inputs: data (required), to.

getMultisigTransactionC

Get details of a specific multisig transaction

Inputs: safeTxHash (required).

getSafeTransactionsC

Get all transactions for a Safe address

Inputs: address (required), limit, offset.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: decodeTransactionData handles data decoding, getMultisigTransaction retrieves a specific transaction, and getSafeTransactions lists all transactions for a Safe. There is no overlap in functionality, making tool selection straightforward.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with camelCase (e.g., decodeTransactionData, getMultisigTransaction). However, the verb 'get' is used for two tools while 'decode' is used for one, which is a minor deviation from perfect uniformity.

    Tool Count3/5

    With only 3 tools, the set feels thin for a Safe MCP server, as it lacks operations like creating or executing transactions, which are core to multisig workflows. The count is borderline for the apparent scope of Safe management.

    Completeness2/5

    The tool surface is significantly incomplete for Safe management, missing essential CRUD operations such as creating, proposing, or executing transactions. This will likely cause agent failures when trying to perform full lifecycle actions on Safes.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers