MCP server for the Monad blockchain — balances, transfers, swaps, lending, staking, bridging & x402 payments for AI agents, with Privy-backed signing and session keys.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add monad --env PRIVY_APP_SECRET='<PRIVY_APP_SECRET>' -- npx -y monad-mcp~/.codex/config.toml
[mcp_servers.monad]
command = "npx"
args = ["-y", "monad-mcp"]
env = { PRIVY_APP_SECRET = "<PRIVY_APP_SECRET>" }
# codex mcp add monad --env PRIVY_APP_SECRET='<PRIVY_APP_SECRET>' -- npx -y monad-mcp~/.cursor/mcp.json
{
"mcpServers": {
"monad": {
"command": "npx",
"args": [
"-y",
"monad-mcp"
],
"env": {
"PRIVY_APP_SECRET": "<PRIVY_APP_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"monad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"monad-mcp"
],
"env": {
"PRIVY_APP_SECRET": "<PRIVY_APP_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"monad": {
"command": "npx",
"args": [
"-y",
"monad-mcp"
],
"env": {
"PRIVY_APP_SECRET": "<PRIVY_APP_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"monad": {
"command": "npx",
"args": [
"-y",
"monad-mcp"
],
"env": {
"PRIVY_APP_SECRET": "<PRIVY_APP_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"monad": {
"command": "npx",
"args": [
"-y",
"monad-mcp"
],
"env": {
"PRIVY_APP_SECRET": "<PRIVY_APP_SECRET>"
}
}
}
}需要的环境变量
PRIVY_APP_SECRET
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。