Skip to main content
Glama

Safe MCP Server

by 5ajaki

安全 MCP 服务器

用于与 Safe(以前称为 Gnosis Safe)智能合约钱包交互的 MCP(模型上下文协议)服务器实现。

特征

  • 查询任意 Safe 地址的 Safe 交易
  • 获取多重签名交易详情
  • 解码交易数据
  • 安全的 API 集成

安装

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

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器可以与 Safe(以前称为 Gnosis Safe)智能合约钱包进行交互,允许用户查询交易、获取多重签名详细信息并通过自然语言解码交易数据。

  1. 特征
    1. 安装
      1. 用法
        1. 可用工具
          1. 获取安全交易
          2. 获取多重签名交易
          3. 解码交易数据
        2. 配置(可选)
          1. 发展
            1. 执照

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An MCP server that integrates with MySQL databases, enabling secure read and write operations through LLM-driven interfaces with support for transaction handling and performance monitoring.
                Last updated -
                751
                14
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A server implementation that allows secure communication between MCP clients and privateGPT, enabling users to chat with privateGPT using knowledge bases and manage sources, groups, and users through a standardized Model Context Protocol.
                Last updated -
                4
                JavaScript
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                An MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.
                Last updated -
                20
                194
                Python
                GPL 3.0
                • Apple
                • Linux
              • A
                security
                F
                license
                A
                quality
                A suite of MCP servers that allow LLMs to interact with blockchains through MetaMask wallet without exposing private keys, facilitating secure AI-powered blockchain interactions and simplified user onboarding.
                Last updated -
                25
                3
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/5ajaki/safe-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server