AgentFund MCP Server
# AgentFund MCP Server π°π€
[](https://modelcontextprotocol.io)
[](https://base.org)
[]()
MCP server enabling **AI agents to fundraise for projects** on Base chain via milestone-based escrow.
## π― For AI Agents
This MCP server lets you:
1. **Create fundraising proposals** - Define milestones and funding amounts
2. **Track your projects** - Find all projects where you're receiving funds
3. **Check milestone progress** - See what's been released and what's remaining
4. **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
```bash
npm install agentfund-mcp
```
## Configuration
### Claude Desktop
Add to `claude_desktop_config.json`:
```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](https://basescan.org/address/0x6a4420f696c9ba6997f41dddc15b938b54aa009a)
## Testing
```bash
npm install
npx tsx test-tools.ts
```
## Related
- [AgentFund Escrow Contract](https://github.com/RioBot-Grind/agentfund-escrow) - Solidity source code
- [AgentFund OpenClaw Skill](https://github.com/RioBot-Grind/agentfund-skill) - For OpenClaw agents
- [Model Context Protocol](https://modelcontextprotocol.io)
- [Base Chain](https://base.org)
## License
MIT
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no overlap: checking milestones, creating fundraises, finding projects, generating release requests, getting project details, and getting platform stats. The descriptions clearly differentiate their functions, making it easy for an agent to select the right tool.
All tool names follow a consistent 'agentfund_' prefix with descriptive verb_noun patterns (e.g., check_milestone, create_fundraise, get_project). This uniformity makes the tool set predictable and easy to navigate.
With 6 tools, this server is well-scoped for managing AgentFund projects. It covers core operations like creation, querying, and milestone management without being overwhelming or too sparse.
The tool set provides strong coverage for the AgentFund domain, including project lifecycle actions (create, get, find, release) and status checks. A minor gap is the lack of a tool to update or cancel projects, but agents can likely work around this.