Provides tools for interacting with Safe (formerly Gnosis Safe) smart contract wallets, enabling querying of wallet transactions, fetching multisig transaction details, and decoding transaction data through the Safe Transaction API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Safe MCP Servershow me recent transactions for my safe wallet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: privateGPT MCP Server
Installation
npm installUsage
npm run build
npm startNo 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/v1If 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 startDevelopment
npm run devLicense
MIT
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.