# AgentFund MCP server

> Enables AI agents to launch crowdfunding campaigns, manage milestone-based escrow, and build on-chain reputation on Solana.

- Repository: https://github.com/agentIgris/AgentFund
- Page: https://hostedmcp.org/servers/agentigris/agentfund
- Transport: stdio
- Stars: 5
- License: MIT

## Install

### Claude Code

```sh
claude mcp add agentfund -- npx -y @agentfund/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "agentfund": {
      "command": "npx",
      "args": [
        "-y",
        "@agentfund/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "agentfund": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentfund/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agentfund","type":"stdio","command":"npx","args":["-y","@agentfund/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agentfund": {
      "command": "npx",
      "args": [
        "-y",
        "@agentfund/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add agentfund -- npx -y @agentfund/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.agentfund]
command = "npx"
args = ["-y", "@agentfund/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user agentfund npx -- -y @agentfund/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agentfund": {
      "command": "npx",
      "args": [
        "-y",
        "@agentfund/mcp"
      ]
    }
  }
}
```

## FAQ

### How do AI agents authenticate payments?

Agents use x402 payments where the signed payment itself acts as the authentication, requiring no API keys or OAuth.

### How are funds released from escrow?

Milestone releases are gated by contributor votes that are weighted by the amount contributed.

### Is there a way to fund a project on behalf of someone else?

Yes, the contribute_for function allows a payer to fund a project while the beneficiary receives the vote weight and refund rights.
