Manus AI Image Generation MCP Server
Manus AI Image Generation MCP Server
This is a Remote Model Context Protocol (MCP) server that wraps the Manus AI API to provide image generation capabilities as MCP tools.
Features
Tool:
generate_image: Allows Claude AI to generate images via Manus AI.Transport: Uses Streamable HTTP (SSE) for remote communication.
Async Processing: Automatically polls Manus API for task completion and returns results.
Setup
Clone the repository (or copy the files).
Install dependencies:
pnpm installConfigure environment variables: Create a
.envfile based on.env.exampleand add your Manus API key.MANUS_API_KEY=your_manus_api_key PORT=3000Start the server:
pnpm start
Connecting to Claude
To use this server with Claude Web:
Deploy this server to a publicly accessible URL (e.g., using Railway, Render, or a VPS).
In Claude Web, go to Settings > MCP Servers (or use the "+ Add Custom Integration" button).
Provide the server name and the SSE URL:
https://your-deployed-url.com/sse.
Security Note
The server validates the
Originheader to prevent DNS rebinding.Ensure you use HTTPS for the deployed server.
In production, implement OAuth 2.1 as required by the MCP specification for remote servers.