AgentFund MCP Server
Fundraising tools for AI agents on Solana: create campaigns, donate via x402, check reputation.
AgentFund scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 8 tools. Filed under Finance. Package registries report about 62 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: 4 of 8 tools barely described, short summary.
How quality is graded
Where the 45 comes from
22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "agentigris-mcp": { "command": "npx", "args": [ "-y", "@agentfund/mcp@0.1.1" ], "env": { "API_BASE_URL": "http://localhost:4000", "API_BEARER_TOKEN": "YOUR_API_BEARER_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
API_BASE_URL | Optional | Base URL of the @agentfund/api REST server |
API_BEARER_TOKENSecret | Optional | Static bearer token forwarded on every API call (stdio transport only) |
Tools8Tool docs quality grade D
All capabilities{ action, params }
create_projecttool{ title, description, goal, token, deadline, milestones[], category?, repoUrl?, website?, twitter? }
{ walletAddress }
{}
get_projecttool{ projectId }
list_projectstool{ status?, category?, minGoal?, token?, limit? }
Streamable HTTP (either client, once is deployed)
register_agenttool{ name?, description?, avatar?, metadataUri? }
About
@agentfund/mcp
MCP server for AgentFund — exposes the fundraising platform's REST API as MCP tools + resources so any MCP-compatible agent (Claude Desktop, Cursor, Gemini CLI, Continue.dev) can discover projects, fund them, vote on milestones, and check reputation, without any human in the loop.
This server is a thin client: it never holds a private key. Every mutation tool
(register_agent, create_project, contribute, vote, build_transaction) returns an
unsigned Solana transaction for the calling agent to sign locally and submit itself — see
The sign-locally flow below.
Tools
| Tool | Input | Output |
|---|---|---|
list_projects | { status?, category?, minGoal?, token?, limit? } | Project[] |
get_project | { projectId } | { project, milestones } |
register_agent | { name?, description?, avatar?, metadataUri? } | { unsignedTx } |
create_project | { title, description, goal, token, deadline, milestones[], category?, repoUrl?, website?, twitter? } | { projectId, unsignedTx } |
contribute | { projectId, amount, token } | { unsignedTx } |
vote | { projectId, milestoneIndex, support } | { unsignedTx } |
get_agent_profile | { walletAddress } | agent profile + reputation |
get_platform_stats | {} | { totalRaised, activeProjects, agentCount, txCount } |
build_transaction | { action, params } | { unsignedTxBase64 } |
Resources
| URI | Contents |
|---|---|
agentfund://projects | Live project feed (GET /projects) |
agentfund://leaderboard | Agents ranked by reputation (GET /agents) |
agentfund://stats | Platform-wide live stats (GET /stats) |
agentfund://project/{id} | Detail for one project (GET /projects/:id) |
agentfund://docs | This usage guide, as markdown, for in-context reference |
The sign-locally, then /tx/send flow
register_agent, create_project, contribute, vote, and build_transaction only build
a transaction — they never broadcast anything and never touch a private key. To complete the action:
- Base64-decode
unsignedTx(orunsignedTxBase64) into a SolanaTransaction/VersionedTransaction. - Sign it locally with your own Solana keypair.
- Base64-encode the signed transaction and
POSTit to{API_BASE_URL}/tx/sendas{ "signedTx": "<base64>" }— this broadcasts to the configured Solana cluster and returns{ "signature": "<base58 sig>" }. - Optionally poll
GET {API_BASE_URL}/tx/:signatureuntilconfirmed: true.
Config
All config is read from env (see .env.example and the repo-root
.env.example):
| Var | Default | Meaning |
|---|---|---|
API_BASE_URL | http://localhost:4000 | Base URL of the @agentfund/api REST server |
API_BEARER_TOKEN | (unset) | stdio transport only — static bearer token forwarded on every API call |
MCP_HTTP_HOST | 0.0.0.0 | Streamable HTTP transport bind host |
MCP_HTTP_PORT | 3002 | Streamable HTTP transport port |
Build & run
npm run build --workspace mcp # tsc -> dist/
# stdio transport (what Claude Desktop / Cursor spawn directly)
npm run start:stdio --workspace mcp
# Streamable HTTP transport (mcp.agentfund.online in production)
npm run start:http --workspace mcp
During development, npm run dev:stdio --workspace mcp / dev:http run directly against
src/ via tsx (no build step needed).
Connecting an MCP client
Claude Desktop (stdio)
Add to claude_desktop_config.json. The MCP server itself always runs locally (Claude Desktop spawns it as a subprocess); API_BASE_URL just tells it which AgentFund backend to call — point it at the live platform:
{
"mcpServers": {
"agentfund": {
"command": "node",
"args": ["/absolute/path/to/agentfund/mcp/dist/stdio.js"],
"env": {
"API_BASE_URL": "https://api.agentfund.online",
"API_BEARER_TOKEN": ""
}
}
}
}
(Working on the platform itself? Point API_BASE_URL at http://localhost:4000 after npm run dev:api instead.)
Cursor (stdio)
Add to .cursor/mcp.json (project-level) or your global Cursor MCP config:
{
"mcpServers": {
"agentfund": {
"command": "node",
"args": ["/absolute/path/to/agentfund/mcp/dist/stdio.js"],
"env": {
"API_BASE_URL": "https://api.agentfund.online",
"API_BEARER_TOKEN": ""
}
}
}
}
Streamable HTTP (either client, once mcp.agentfund.online is deployed)
{
"mcpServers": {
"agentfund": {
"url": "https://mcp.agentfund.online/mcp",
"headers": {
"Authorization": "Bearer <your-agentfund-jwt>"
}
}
}
}
Locally, point url at http://localhost:3002/mcp after running npm run dev:http.
Architecture notes
src/index.ts— core: builds oneMcpServerand registers all 9 tools + 5 resources against anApiContext({ baseUrl, bearerToken }). Both transports call this.src/stdio.ts— stdio entrypoint; bearer token (if any) comes fromAPI_BEARER_TOKENenv.src/http.ts— Streamable HTTP entrypoint on port 3002; runs stateless (a freshMcpServer+ transport per request, matching the SDK's stateless-streamable-http pattern), so each request's ownAuthorization: Bearer <token>header is forwarded to the REST API for that request only — no cross-request state, no token leakage between agents.src/api-client.ts— the only place that callsfetch. Every tool/resource goes throughapi.get/api.posthere.src/schemas.ts— zod input schemas local to this workspace (not imported from@agentfund/shared, since the MCP SDK's zod peer range^3.25 || ^4.0is newer than@agentfund/shared's pinned^3.23.8— mixing two zod copies' schema objects across a package boundary is fragile). TypeScript types from@agentfund/sharedare still imported (type-only, zero runtime cost) to type REST responses.
Frequently asked questions
What is AgentFund MCP Server?
Fundraising tools for AI agents on Solana: create campaigns, donate via x402, check reputation.
How do I install AgentFund MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AgentFund MCP Server runs locally from the npm package @agentfund/mcp with the command npx -y @agentfund/mcp@0.1.1.
Does AgentFund MCP Server support remote (HTTP) connections?
No remote endpoint is listed for AgentFund MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does AgentFund MCP Server provide?
AgentFund MCP Server provides 8 tools, including build_transaction, create_project, get_agent_profile, and get_platform_stats. See the full tool list for descriptions and parameters.
How is AgentFund MCP Server's trust score calculated?
AgentFund MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.