Safe MCP Server
安全 MCP 服务器
用于与 Safe(以前称为 Gnosis Safe)智能合约钱包交互的 MCP(模型上下文协议)服务器实现。
特征
查询任意 Safe 地址的 Safe 交易
获取多重签名交易详情
解码交易数据
安全的 API 集成
Related MCP server: Hermes Blockchain Oracle
安装
npm install用法
npm run build
npm start无需配置 - 服务器默认使用安全交易 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
});解码交易数据
使用安全 API 解码交易数据。
decodeTransactionData({
data: "0x789...", // Transaction data to decode
to: "0xabc...", // Optional contract address
});配置(可选)
默认情况下,服务器使用安全交易 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 toolsdecodeTransactionDataC
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
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects Hermes Agent to the Solana blockchain, enabling natural language queries for wallets, tokens, NFTs, transactions, whale movements, and network health.6MIT
- FlicenseNot gradedqualityDmaintenanceThis MCP server provides authentication via wallet sign-in (SIWE) and authorization with scoped access to read and trade portfolios, enabling secure portfolio management through natural language.-
- AlicenseNot gradedqualityCmaintenanceMCP server that lets any AI agent operate a wallet directly on-chain: create wallets, send, swap, bridge, and deploy contracts across EVM and Bitcoin networks.1MIT