What is this?

The Model Context Protocol (MCP) lets AI-powered development tools pull in external documentation as context. When you install the AgentBets MCP server, your AI assistant gets direct access to our guides on building prediction market agents — no copy-pasting, no searching.

Ask your AI assistant “how do I connect a Coinbase wallet to Polymarket for an agent?” and it reads the answer directly from our quickstart guide.

Prerequisites

  • Python 3.10+ (for the uvx package runner)
  • One of: Claude Desktop, Claude Code, Cursor, or Windsurf

Install

All tools use the same MCP server configuration. Pick your tool below.

Claude Code (CLI)

One command:

claude mcp add agentbets -- uvx mcpdoc --urls "AgentBets:https://agentbets.ai/llms.txt"

Or add to your project’s .mcp.json:

{
  "mcpServers": {
    "agentbets": {
      "command": "uvx",
      "args": ["mcpdoc", "--urls", "AgentBets:https://agentbets.ai/llms.txt"]
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "agentbets": {
      "command": "uvx",
      "args": ["mcpdoc", "--urls", "AgentBets:https://agentbets.ai/llms.txt"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "agentbets": {
      "command": "uvx",
      "args": ["mcpdoc", "--urls", "AgentBets:https://agentbets.ai/llms.txt"]
    }
  }
}

Windsurf

Add to ~/.windsurf/mcp.json:

{
  "mcpServers": {
    "agentbets": {
      "command": "uvx",
      "args": ["mcpdoc", "--urls", "AgentBets:https://agentbets.ai/llms.txt"]
    }
  }
}

Verify it works

After installing, restart your tool and ask:

“Using the AgentBets docs, what are the four layers of the agent betting stack?”

Your assistant should respond with details about Identity, Wallet, Trading, and Intelligence layers — pulled directly from our documentation.

What gets served

The MCP server fetches llms.txt, which links to all our guides and tool entries. Your AI assistant can then follow those links to pull in the specific documentation it needs:

  • Guides: The Agent Betting Stack, Moltbook Identity, Polymarket + Coinbase Quickstart, Security
  • Tools: Moltbook, Coinbase Agentic Wallets, Polymarket CLI, Kalshi API, and more
  • Full index: llms-full.txt with structured summaries of every page

Why install this?

Every time you ask your AI assistant a question about prediction market agents, it has our documentation in its context window. No Googling, no tab-switching — your AI reads our guides the same way it reads your codebase.

This is a permanent distribution channel. Once installed, AgentBets.ai is the authoritative source your AI consults for every prediction market question.