Safe MCP Server
Enables AI agents to create, manage, and interact with Safe multisig wallets on the Ethereum network.
Enables AI agents to create, manage, and interact with Safe multisig wallets on the Optimism network.
Enables AI agents to create, manage, and interact with Safe multisig wallets on the Polygon network.
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 ServerCreate a 2-of-3 Safe wallet on Sepolia testnet for my team."
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
Enable AI agents to manage Safe multisig wallets across multiple blockchains.
A production-ready Model Context Protocol server providing secure, programmatic access to Safe wallet functionality. Built with the official Safe SDK, it enables Claude and other AI systems to create, manage, and interact with Safe multisig wallets without compromising security.
Key Features
🔐 Security-First - Runtime-only key usage, no storage • 🌐 Multi-Chain - 8+ EVM networks supported • 🤖 AI-Native - Built for LLM integration • ⚡ Production-Ready - Real Safe SDK, no mocks • 🛠️ 10 Tools - Complete wallet lifecycle management
Related MCP server: Armor Crypto MCP
Quick Start
Prerequisites
Node.js 18+
RPC endpoints (Alchemy/Infura recommended)
Private keys for transaction signing (optional for read-only)
Installation & Setup
Option 1: NPM Package (Recommended)
npm install -g safe-mcp-serverOption 2: Local Development
git clone https://github.com/your-org/mcp-safe
cd mcp-safe && npm install && npm run buildIntegration with Claude
Claude Code CLI
Add the server using the modern CLI command:
# NPM package installation
claude mcp add safe --env SAFE_RPC_EIP155_1=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY -- safe-mcp-server
# Local development
claude mcp add safe --env SAFE_RPC_EIP155_1=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY -- node /absolute/path/to/mcp-safe/dist/index.jsClaude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"safe": {
"command": "safe-mcp-server",
"env": {
"SAFE_RPC_EIP155_1": "https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY",
"SAFE_RPC_EIP155_11155111": "https://sepolia.infura.io/v3/YOUR_KEY"
}
}
}
}For local development, use absolute path: "command": "node" with "args": ["/absolute/path/to/mcp-safe/dist/index.js"]
Other MCP Clients
Point your MCP client to dist/index.js with appropriate environment variables for RPC endpoints.
Available Tools
Tool | Purpose |
| Generate and validate wallet configuration |
| Calculate wallet address before deployment |
| Deploy new Safe wallet |
| Query wallet details and status |
| Check ETH and token balances |
| Create transaction proposals |
| Execute transactions directly |
| Add new wallet owners |
| Remove existing owners |
| Update signature requirements |
Supported Networks
Ethereum • Polygon • Arbitrum • Optimism • Base • Gnosis • Sepolia • Local
Uses CAIP-2 format: eip155:1 (Ethereum), eip155:137 (Polygon), etc.
Example Usage
Create a wallet configuration:
# Test via CLI
echo '{"method":"tools/call","params":{"name":"safe_predict_address","arguments":{"owners":["0x742d35cc6634c0532925a3b844bc9e7595F0fA9B"],"threshold":1,"networkId":"eip155:11155111"}},"id":1}' | safe-mcp-serverOr simply ask Claude: "Create a 2-of-3 Safe wallet on Sepolia with these owners: [addresses]"
Security Best Practices
• Private Keys: Pass as runtime parameters, never store in config files • RPC Endpoints: Use authenticated providers (Alchemy, Infura) with API keys • Address Validation: Ensure all addresses are properly checksummed • Network Testing: Always test on testnets before mainnet operations
Environment Variables
Set RPC URLs for networks you want to support:
SAFE_RPC_EIP155_1=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY
SAFE_RPC_EIP155_137=https://polygon-mainnet.g.alchemy.com/v2/YOUR_KEY
SAFE_RPC_EIP155_11155111=https://sepolia.infura.io/v3/YOUR_KEYDevelopment & Testing
# Run tests
npm test
# Manual testing with MCP Inspector
npx @modelcontextprotocol/inspector npm start
# Type checking and linting
npm run build && npm run lintLinks
Safe Global Docs • Model Context Protocol • Safe SDK
Safe MCP Server • Real Safe SDK Integration • Production Ready
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dennisonbertram/mcp-safe'
If you have feedback or need assistance with the MCP directory API, please join our Discord server