manifold
MCP server for interacting with Manifold Markets prediction markets
claude mcp add --transport stdio bmorphism-manifold-mcp-server npx -y manifold-mcp-server \ --env MANIFOLD_API_KEY="your_api_key_here"
How to use
This MCP server provides a programmable interface to Manifold Markets, exposing a comprehensive set of tools for creating, managing, trading, and retrieving information about prediction markets. It maps core market operations (creation, modification, resolution, and deletion) to an MCP-style workflow, along with trading actions like placing bets, selling shares, and managing liquidity, plus social and information retrieval features such as following markets, reacting to content, and querying user data. The server is designed with a Zod-backed schema layer for validation and TypeScript for type safety, ensuring robust interactions with Manifold's REST endpoints through well-defined tool handlers.
To use it, first configure your environment with a Manifold API key and run the MCP server via the npm/npx package. Once running, you can invoke the supported operations (e.g., create_market, place_bet, add_liquidity, get_market) through the MCP interface. The server enforces role-based access controls and handles common errors gracefully, offering structured error responses and clear messaging when operations are restricted or invalid for a given market state.
How to install
Prerequisites:
- Node.js 18 or higher
- npm or yarn
- Manifold Markets API key
- Sufficient mana balance for intended operations
- Install the MCP server package globally (or locally in your project):
# Global installation via npx (recommended for quick start)
npx -y manifold-mcp-server
- Obtain your API key from Manifold Markets:
- Log in to Manifold Markets
- Generate an API key in your profile settings
- Ensure your account has enough mana for your intended operations
- Configure MCP settings (example shown for Claude/Cline-style configurations):
- Create a configuration snippet (adjust the path to your environment):
{
"mcpServers": {
"manifold": {
"command": "node",
"args": ["/path/to/manifold-mcp-server/build/index.js"],
"env": {
"MANIFOLD_API_KEY": "your_api_key_here"
}
}
}
}
- Run the server (if not using npx):
# If installed locally after npm install
npx manifold-mcp-server
# Or run directly via node if you built the project
node /path/to/manifold-mcp-server/build/index.js
- Verify the server is running by checking logs or hitting a test endpoint according to the server's documentation.
Additional notes
Notes and tips:
- You must supply a MANIFOLD_API_KEY in your environment to authenticate with Manifold Markets.
- The server supports a wide range of capabilities, including market creation (binary, multiple choice, pseudo-numeric, poll), trading operations (place_bet, sell_shares, cancel_bet), liquidity management (add_liquidity, remove_liquidity), and information retrieval (get_market, search_markets).
- Some operations are permission-restricted and require specific user roles (e.g., market creator for resolution/closing and bounty management).
- Ensure your Manifold account has enough mana for the actions you intend to perform because many operations require mana expenditure.
- Use the provided error handling to diagnose issues: look for validation errors, authentication failures, or permission denials, and consult the structured error response for details.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.