safe-mcp-server

safe-mcp-server

3.4

An MCP server implementation for interacting with Safe smart contract wallets.

The Safe MCP Server is a Model Context Protocol server designed to facilitate interactions with Safe (formerly Gnosis Safe) smart contract wallets. It provides a robust interface for querying Safe transactions, retrieving multisig transaction details, and decoding transaction data. The server integrates seamlessly with the Safe API, allowing users to access transaction information on the Ethereum mainnet by default. It is built to be user-friendly, requiring no configuration for standard use, and offers flexibility for developers who wish to connect to different network endpoints, such as testnets, through environment variables.

Features

  • Query Safe transactions for any Safe address
  • Retrieve multisig transaction details
  • Decode transaction data
  • Integrate with Safe API
  • No configuration required for mainnet access

MCP 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.
  • getMultisigTransaction: Get details of a specific multisig transaction.
  • decodeTransactionData: Decode transaction data using Safe API.

Usage with Different Platforms

npm

bash
npm install
npm run build
npm start

environment_variable

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

Related MCP Servers

View all finance servers →