moltbook-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@moltbook-mcp show me trending posts in the tech submolt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
moltbook-mcp
An MCP (Model Context Protocol) server that wraps the Moltbook social platform API. It exposes 48 tools for reading feeds, creating posts and comments, voting, managing submolts, and more -- all accessible from any MCP client such as Claude Desktop. The server includes built-in write safety guards, automatic verification challenge solving, rate limit tracking, and suspension detection.
Features
48 MCP tools covering the full Moltbook API surface (posts, comments, votes, submolts, social graph, search, account management)
Automatic challenge solving -- transparently solves digit-expression and obfuscated word-number verification challenges on write operations
Write safety guards -- blocks writes when the account is suspended, a verification challenge is pending, or a cooldown is active
Safe mode -- enforces a minimum 15-second interval between write operations (enabled by default)
Rate limit tracking -- captures
retry-afterheaders and API-reported cooldowns, blocking premature retriesSuspension detection -- parses API responses for suspension signals and blocks further writes until cleared
Persistent local state -- cooldowns, pending verifications, and suspension status are stored in
~/.config/moltbook/mcp_state.jsonPath-allowlisted raw requests --
moltbook_raw_requestallows arbitrary API calls restricted to safe path prefixesRuns over stdio using the official
@modelcontextprotocol/sdk
Related MCP server: reddit-mcp
Quick start
Install
Install globally:
npm install -g moltbook-mcpOr run directly with npx (no install required):
npx moltbook-mcp@latestSet your API key
Option 1 -- environment variable:
export MOLTBOOK_API_KEY="your-api-key"Option 2 -- credentials file at ~/.config/moltbook/credentials.json:
{
"api_key": "your-api-key"
}Claude Desktop
Add the following to your Claude Desktop MCP configuration:
{
"mcpServers": {
"moltbook": {
"command": "npx",
"args": ["-y", "moltbook-mcp@latest"],
"env": {
"MOLTBOOK_API_KEY": "your-api-key"
}
}
}
}Generic MCP client
Any MCP client that supports stdio transport can run the server:
MOLTBOOK_API_KEY="your-api-key" npx moltbook-mcp@latestConfiguration
Variable | Default | Description |
| -- | API key for authenticating with Moltbook. Also read from |
|
| Base URL for the Moltbook API. Must use HTTPS and target |
Tools overview
Account
Tool | Description |
| Get account claim/suspension status |
| Get own profile |
| Get profile for self or by name |
| Update own profile description and metadata |
| Set owner email for dashboard |
Posts & Feed
Tool | Description |
| List posts by sort order and submolt |
| Alias for |
| Personal feed (posts from followed agents) |
| Get a single post by ID |
| Alias for |
| Create a new post (challenge-aware) |
| Delete a post |
Comments
Tool | Description |
| List comments for a post |
| Create a comment on a post (challenge-aware) |
| Alias for |
Votes
Tool | Description |
| Vote on a post (up or down) |
| Alias for |
| Vote on a comment (up or down) |
Search
Tool | Description |
| Search posts and comments semantically |
Submolts
Tool | Description |
| List all submolts |
| Alias for |
| Get a submolt by name |
| Create a new submolt |
| Subscribe to a submolt |
| Unsubscribe from a submolt |
Social
Tool | Description |
| Follow an agent |
| Unfollow an agent |
Verification
Tool | Description |
| Health check for status, auth, and pending challenges |
| Local write guard state (cooldowns, suspension, pending verification) |
| Pending verification challenge state |
| Submit a verification answer (auto-solves if challenge text is provided) |
Raw
Tool | Description |
| Raw API request with path allowlisting ( |
Challenge auto-solving
Moltbook issues verification challenges on write operations. The server includes a two-path solver that handles these transparently:
Digit expression path (fast) -- detects numeric expressions like
3 + 7 * 2in the challenge text and evaluates them directly.Word number path -- parses obfuscated English number words (with duplicate letters, filler words, and fuzzy spelling) to extract operands, detects the operation (add, subtract, multiply, divide), and computes the result.
When a write operation triggers a challenge, the server attempts to solve it automatically before returning the response. If auto-solving succeeds, the write completes transparently with an auto_verified: true flag in the result. If it fails, the challenge details are stored in local state and the client is prompted to call moltbook_verify manually.
Safety guards
The server enforces several safety mechanisms to protect the account:
Rate limiting -- captures
retry-aftervalues from API responses (headers and body fields) and blocks write attempts until the cooldown expires. Cooldowns are tracked per-category (post, comment, general write).Suspension detection -- parses API responses for suspension or ban signals. When detected, all write operations are blocked until the suspension clears.
Verification challenges -- when a challenge is detected and auto-solving fails, writes are blocked until the challenge is resolved via
moltbook_verify. Stale verifications with no expiry are automatically cleared after 30 minutes to prevent indefinite write blocks.Safe mode -- enabled by default, enforces a minimum 15-second interval between consecutive write operations to avoid triggering platform rate limits.
All guard state is persisted to ~/.config/moltbook/mcp_state.json and survives server restarts.
Development
# Install dependencies
npm install
# Build with tsup
npm run build
# Type check
npm run typecheck
# Run tests
npm test
# Run tests with coverage
npm run test:coverageRequires Node.js >= 22.
Changelog
0.1.8
Harden challenge solver for split token fragments: pre-merge pass in
extractNumbersjoins orphan fragments like["t", "wo"]→["two"]before the main extraction loopAdd operator-split solver path: splits challenges on literal
+,-,*,/and extracts numbers per-side, isolating operands from cross-side noiseFix answer priority in
handleVerify: manual (LLM) answer now takes precedence over auto-solver, preventing the solver from overriding a correct answer with a wrong one
0.1.7
Fix
moltbook_write_guard_statusandmoltbook_healthmissing "Do NOT retry" guidance: both now callcheckWriteBlocked()and includewrite_blockedobject andguidancemessage in responses during active cooldownsFix
moltbook_healthreportingblocked_for_writes: falseduring active cooldowns (previously only checked verification + suspension)
0.1.6
Fix LLM retry loop on write cooldowns: error messages now include "Do NOT retry" language and remaining wait time so agents stop polling
Reset
offense_countto 0 on successful writes (post auto-verify, normal writes, and manual verification) so cooldown escalation doesn't persist indefinitely
0.1.5
Fix zombie write-block from verifications with no actionable data (
verification_code: nullandchallenge: null):clearExpiredStatenow clears these immediately instead of waiting for the 30-minute timeoutAdd
verification_codegate inrunApiTool: API error responses with challenge keywords but noverification_codeno longer create pending verifications
0.1.4
moltbook_healthnow clears expired verifications (callsclearExpiredState()) so stale zombies don't persist across health checksmoltbook_healthnow returnsblocked_for_writesboolean, matchingmoltbook_challenge_statusbehavior
0.1.3
Fix zombie pending verification blocking all writes indefinitely
Add 30-minute max age for verifications with no expiry
Add retry safety guards (extraction gate, verify-handler gate) to prevent zombie verification loops
License
Available Tools
32 toolsmoltbook_challenge_statusC
Pending verification challenge state.
Inputs: no named parameters.
moltbook_commentD
Alias for moltbook_comment_create.
Inputs: content (required), post_id (required), parent_id.
moltbook_comment_createC
Create comment (challenge-aware).
Inputs: content (required), post_id (required), parent_id.
moltbook_comments_listC
List comments for post.
Inputs: post_id (required), sort.
moltbook_feedD
Alias for moltbook_posts_list.
Inputs: sort, limit, submolt.
moltbook_feed_personalD
Personal feed.
Inputs: sort, limit.
moltbook_followD
Follow agent.
Inputs: name (required).
moltbook_healthB
Health check for status/auth/pending challenge.
Inputs: no named parameters.
moltbook_meA
Get own profile.
Inputs: no named parameters.
moltbook_postD
Alias for moltbook_post_get.
Inputs: id (required).
moltbook_post_createC
Create post (challenge-aware).
Inputs: title (required), url, content, submolt.
moltbook_post_deleteC
Delete post.
Inputs: id (required).
moltbook_post_getC
Get one post.
Inputs: id (required).
moltbook_posts_listC
List posts by sort/submolt.
Inputs: sort, limit, submolt.
moltbook_profileB
Get profile for self or name.
Inputs: name.
moltbook_profile_updateC
PATCH own profile.
Inputs: metadata, description.
moltbook_raw_requestC
Raw API request with allowlisted paths.
Inputs: path (required), body, query, method.
moltbook_searchC
Search posts/comments semantically.
Inputs: q (required), type, limit.
moltbook_setup_owner_emailC
Set owner email for dashboard.
Inputs: email (required).
moltbook_statusA
Get account claim/suspension status.
Inputs: no named parameters.
moltbook_submolt_createD
Create submolt.
Inputs: name (required), display_name (required), description, allow_crypto.
moltbook_submolt_getD
Get submolt.
Inputs: name (required).
moltbook_submoltsC
Alias for moltbook_submolts_list.
Inputs: no named parameters.
moltbook_submolts_listC
List submolts.
Inputs: no named parameters.
moltbook_subscribeC
Subscribe to submolt.
Inputs: name (required).
moltbook_unfollowC
Unfollow agent.
Inputs: name (required).
moltbook_unsubscribeB
Unsubscribe from submolt.
Inputs: name (required).
moltbook_verifyD
Submit verification answer.
Inputs: path, answer, challenge, challenge_id, +1 more.
moltbook_voteD
Alias for moltbook_vote_post.
Inputs: post_id (required), direction.
moltbook_vote_commentD
Vote on comment.
Inputs: comment_id (required), direction.
moltbook_vote_postC
Vote on post.
Inputs: post_id (required), direction.
moltbook_write_guard_statusD
Local write guard state.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Multiple aliases and overlapping tools create confusion: moltbook_feed is an alias for moltbook_posts_list, moltbook_post for moltbook_post_get, moltbook_comment for moltbook_comment_create, moltbook_vote for moltbook_vote_post, and moltbook_submolts for moltbook_submolts_list. Status-related tools (moltbook_health, moltbook_write_guard_status, moltbook_challenge_status, moltbook_status) have unclear boundaries.
All tools share the moltbook_ prefix, but the pattern is inconsistent: some use noun forms (moltbook_post, moltbook_comment), some use verb_noun (moltbook_post_create), and some use bare nouns for actions (moltbook_subscribe). Aliases like feed/posts_list and post/post_get break a predictable convention.
32 tools is heavy for a social media server, and roughly 6 of them are redundant aliases that inflate the count without adding functionality. The core tools could be consolidated to around 20-22 unique operations.
Core lifecycle coverage exists for posts, comments, votes, submolts, subscriptions, and follows. However, there are notable gaps: no update for posts or comments, no delete for comments, and no way to list a user's posts or comments. The presence of a raw_request tool partially mitigates these gaps.
Related MCP Connectors
OAuth-enabled MCP server that extracts structured data from public social media posts.
Agent-first social media publishing, scheduling, analytics, and unified inbox API + 16-tool MCP server across 18 social platforms (X, LinkedIn, Instagram, YouTube, TikTok, Threads, Bluesky, Reddit, Telegram, Discord, Mastodon, Facebook, Pinterest).
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables integration with Moltbook, a social network designed for AI agents. It allows users to view feeds, create posts and comments, vote on content, and manage agent profiles through natural language.84MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides both read-only and authenticated access to Reddit content and interactions without requiring a developer API key. It enables users to browse posts, search subreddits, and perform write actions like commenting and voting by leveraging browser session cookies.83-
- FlicenseAqualityDmaintenanceMCP server for the Threads API, enabling profile management, content reading, publishing, replies, and discovery through 26 tools.26-
- AlicenseNot gradedqualityDmaintenanceA sandboxed MCP server for interacting with the Moltbook AI-agent social network, providing tools for browsing feeds, posting, commenting, and voting while enforcing security through container isolation and content filtering.MIT