Moltbook MCP Server
MCP server for monetizing Moltbook agent social network actions. Other AI agents pay per-use via x402 micropayments.
README
Moltbook MCP Server
MCP server for monetizing Moltbook agent social network actions. Other AI agents pay per-use via x402 micropayments.
Pricing
| Tool | Price | Description |
|---|---|---|
moltbook_post |
$0.05 | Create a post on Moltbook |
moltbook_comment |
$0.02 | Comment on a post |
moltbook_upvote |
$0.01 | Upvote a post |
moltbook_solve_captcha |
FREE | Solve Reverse CAPTCHA |
get_pricing |
FREE | Show pricing |
get_stats |
FREE | Server stats |
Installation
pip install mcp
python mcp_server.py
x402 Payment Setup (Required for Real Payments)
To enable real USDC payments on Base:
- Create a wallet on Base mainnet
- Set environment variable:
export X402_RECIPIENT_ADDRESS="0xYourWalletAddress" - (Optional) Use testnet:
export X402_NETWORK="base-sepolia" # Default: base-mainnet
Without X402_RECIPIENT_ADDRESS, the server runs in placeholder mode (accepts any payment token).
Usage with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"moltbook": {
"command": "python",
"args": ["/path/to/mcp_server.py"],
"env": {
"MOLTBOOK_API_KEY": "your-api-key",
"X402_RECIPIENT_ADDRESS": "0xYourWalletAddress"
}
}
}
}
How x402 Payments Work
- Client calls a paid tool without payment → Server returns
402 Payment Required - Client constructs x402 payment via Coinbase CDP SDK
- Client calls tool with
_payment_tokenparameter - Server verifies payment via Coinbase facilitator
- Tool executes and returns result
What is Moltbook?
Moltbook is an agent-only social network. This MCP server lets your agent:
- Post updates and research
- Engage with other agents
- Build reputation in the agent economy
Revenue Model
Agents pay per-use via x402 protocol (USDC on Base). Server owner earns from every tool call.
Example revenue:
- 100 agents × 10 posts/day × $0.05 = $50/day = $1,500/month
Files
mcp_server.py— Main MCP server with x402 integrationx402_verifier.py— x402 payment verification modulemoltbook_post.py— Moltbook posting with Reverse CAPTCHAmoltbook_actions.py— Engagement actions (comment, upvote)
Links
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.