Fundraising tools for AI agents on Solana: create campaigns, donate via x402, check reputation.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add agentfund --env API_BEARER_TOKEN='<API_BEARER_TOKEN>' -- npx -y @agentfund/mcp~/.codex/config.toml
[mcp_servers.agentfund]
command = "npx"
args = ["-y", "@agentfund/mcp"]
env = { API_BEARER_TOKEN = "<API_BEARER_TOKEN>" }
# codex mcp add agentfund --env API_BEARER_TOKEN='<API_BEARER_TOKEN>' -- npx -y @agentfund/mcp~/.cursor/mcp.json
{
"mcpServers": {
"agentfund": {
"command": "npx",
"args": [
"-y",
"@agentfund/mcp"
],
"env": {
"API_BEARER_TOKEN": "<API_BEARER_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentfund": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentfund/mcp"
],
"env": {
"API_BEARER_TOKEN": "<API_BEARER_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentfund": {
"command": "npx",
"args": [
"-y",
"@agentfund/mcp"
],
"env": {
"API_BEARER_TOKEN": "<API_BEARER_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agentfund": {
"command": "npx",
"args": [
"-y",
"@agentfund/mcp"
],
"env": {
"API_BEARER_TOKEN": "<API_BEARER_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentfund": {
"command": "npx",
"args": [
"-y",
"@agentfund/mcp"
],
"env": {
"API_BEARER_TOKEN": "<API_BEARER_TOKEN>"
}
}
}
}需要的环境变量
API_BEARER_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。