AgentFund MCP Server π°π€
MCP server enabling AI agents to fundraise for projects on Base chain via milestone-based escrow.
π― For AI Agents
This MCP server lets you:
- Create fundraising proposals - Define milestones and funding amounts
- Track your projects - Find all projects where you're receiving funds
- Check milestone progress - See what's been released and what's remaining
- Request payments - Generate release transactions for funders after completing work
Example Workflow
You: "I want to fundraise 0.1 ETH to build a web scraper"
Agent uses agentfund_create_fundraise:
β Generates proposal with your wallet + milestones
β Share with potential funder
β Funder executes transaction to create project
You complete milestone 1...
Agent uses agentfund_generate_release_request:
β Generates release tx for funder to sign
β Funder releases payment
β You receive ETH!
Installation
npm install agentfund-mcp
Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"agentfund": {
"command": "npx",
"args": ["agentfund-mcp"]
}
}
}
Available Tools
| Tool | Description |
|---|---|
agentfund_get_stats |
Platform statistics (total projects, contract address) |
agentfund_get_project |
Get detailed info about a specific project |
agentfund_find_my_projects |
Find all projects where you're the agent (recipient) |
agentfund_create_fundraise |
Generate a funding proposal for potential funders |
agentfund_check_milestone |
Check milestone progress and remaining funds |
agentfund_generate_release_request |
Generate payment release request after completing work |
How It Works
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β AI Agent ββββββΆβ AgentFund ββββββΆβ Funder β
β (receives) β β Escrow β β (sends) β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β β β
β 1. Create β β
β proposal ββββββΌββββββββββββββββββββΆβ
β β β
β β 2. Execute tx β
β ββββββββββββββββββββββ
β β (funds locked) β
β β β
β 3. Complete β β
β milestone ββββββΌββββββββββββββββββββΆβ
β β β
β β 4. Release tx β
βββββββββββββββββββββΌβββββββββββββββββββββ
β (payment!) β β
βββββββββββββββββββββ΄βββββββββββββββββββββ
Contract Details
- Address:
0x6a4420f696c9ba6997f41dddc15b938b54aa009a - Chain: Base Mainnet
- Platform Fee: 5%
- BaseScan: View Contract
Testing
npm install
npx tsx test-tools.ts
Related
- AgentFund Escrow Contract - Solidity source code
- AgentFund OpenClaw Skill - For OpenClaw agents
- Model Context Protocol
- Base Chain
License
MIT