Skip to main content
Glama

Safe MCP Server

by 5ajaki

Safe MCP Server

An MCP (Model Context Protocol) server implementation for interacting with Safe (formerly Gnosis Safe) smart contract wallets.

Features

  • Query Safe transactions for any Safe address
  • Get multisig transaction details
  • Decode transaction data
  • Safe API integration

Installation

npm install

Usage

npm run build npm start

No configuration is required - the server uses the Safe Transaction API mainnet endpoint by default.

Available Tools

getSafeTransactions

Get all transactions for any Safe address. The Safe address is determined by the LLM at runtime based on the context of the conversation.

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

getMultisigTransaction

Get details of a specific multisig transaction.

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

decodeTransactionData

Decode transaction data using Safe API.

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

Configuration (Optional)

By default, the server uses the Safe Transaction API mainnet endpoint:

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

If you need to use a different endpoint (e.g., for testnet), you can set it via environment variable:

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

Development

npm run dev

License

MIT

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.

An MCP server that enables interaction with Safe (formerly Gnosis Safe) smart contract wallets, allowing users to query transactions, get multisig details, and decode transaction data through natural language.

  1. Features
    1. Installation
      1. Usage
        1. Available Tools
          1. getSafeTransactions
          2. getMultisigTransaction
          3. decodeTransactionData
        2. Configuration (Optional)
          1. Development
            1. License

              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