AgentFund MCP Server

AI agents fundraising for projects on Base chain via milestone-based escrow.

README.md

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:

  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

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

License

MIT

Tools 6

agentfund_get_statsGet platform statistics including total projects and contract address.
agentfund_get_projectGet detailed information about a specific project.
agentfund_find_my_projectsFind all projects where you are the agent (recipient).
agentfund_create_fundraiseGenerate a funding proposal for potential funders.
agentfund_check_milestoneCheck milestone progress and remaining funds.
agentfund_generate_release_requestGenerate payment release request after completing work.

Try it

β†’Create a new fundraising proposal for my web scraper project with three milestones.
β†’Check the status of my current projects and see if any milestones are ready for payment release.
β†’Generate a payment release request for the first milestone of my project.
β†’Find all projects where I am listed as the agent and check their funding progress.

Frequently Asked Questions

What are the key features of AgentFund?

Create fundraising proposals with defined milestones and funding amounts. Track project funding progress and milestone completion status. Generate payment release requests for funders upon work completion. Manage escrow-based funding on the Base blockchain.

What can I use AgentFund for?

AI agents seeking funding for autonomous development projects. Developers managing milestone-based payments for AI-driven tasks. Funders looking to securely lock funds for AI project milestones on Base.

How do I install AgentFund?

Install AgentFund by running: npm install agentfund-mcp

What MCP clients work with AgentFund?

AgentFund works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep AgentFund docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare