Live data for agents: search, research, markets, crypto and X/Twitter, paid per call via x402 micropayments.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add blockrun --env BLOCKRUN_WALLET_KEY='<BLOCKRUN_WALLET_KEY>' --env SOLANA_WALLET_KEY='<SOLANA_WALLET_KEY>' --env BLOCKRUN_API_KEY='<BLOCKRUN_API_KEY>' -- npx -y @blockrun/mcp~/.codex/config.toml
[mcp_servers.blockrun]
command = "npx"
args = ["-y", "@blockrun/mcp"]
env = { BLOCKRUN_WALLET_KEY = "<BLOCKRUN_WALLET_KEY>", SOLANA_WALLET_KEY = "<SOLANA_WALLET_KEY>", BLOCKRUN_API_KEY = "<BLOCKRUN_API_KEY>" }
# codex mcp add blockrun --env BLOCKRUN_WALLET_KEY='<BLOCKRUN_WALLET_KEY>' --env SOLANA_WALLET_KEY='<SOLANA_WALLET_KEY>' --env BLOCKRUN_API_KEY='<BLOCKRUN_API_KEY>' -- npx -y @blockrun/mcp~/.cursor/mcp.json
{
"mcpServers": {
"blockrun": {
"command": "npx",
"args": [
"-y",
"@blockrun/mcp"
],
"env": {
"BLOCKRUN_WALLET_KEY": "<BLOCKRUN_WALLET_KEY>",
"SOLANA_WALLET_KEY": "<SOLANA_WALLET_KEY>",
"BLOCKRUN_API_KEY": "<BLOCKRUN_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"blockrun": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@blockrun/mcp"
],
"env": {
"BLOCKRUN_WALLET_KEY": "<BLOCKRUN_WALLET_KEY>",
"SOLANA_WALLET_KEY": "<SOLANA_WALLET_KEY>",
"BLOCKRUN_API_KEY": "<BLOCKRUN_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"blockrun": {
"command": "npx",
"args": [
"-y",
"@blockrun/mcp"
],
"env": {
"BLOCKRUN_WALLET_KEY": "<BLOCKRUN_WALLET_KEY>",
"SOLANA_WALLET_KEY": "<SOLANA_WALLET_KEY>",
"BLOCKRUN_API_KEY": "<BLOCKRUN_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"blockrun": {
"command": "npx",
"args": [
"-y",
"@blockrun/mcp"
],
"env": {
"BLOCKRUN_WALLET_KEY": "<BLOCKRUN_WALLET_KEY>",
"SOLANA_WALLET_KEY": "<SOLANA_WALLET_KEY>",
"BLOCKRUN_API_KEY": "<BLOCKRUN_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"blockrun": {
"command": "npx",
"args": [
"-y",
"@blockrun/mcp"
],
"env": {
"BLOCKRUN_WALLET_KEY": "<BLOCKRUN_WALLET_KEY>",
"SOLANA_WALLET_KEY": "<SOLANA_WALLET_KEY>",
"BLOCKRUN_API_KEY": "<BLOCKRUN_API_KEY>"
}
}
}
}需要的环境变量
BLOCKRUN_WALLET_KEYSOLANA_WALLET_KEYBLOCKRUN_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。