Skip to main content
Glama
jamie442532-hash

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

  1. Clone the repository (or copy the files).

  2. Install dependencies:

    pnpm install
  3. Configure environment variables: Create a .env file based on .env.example and add your Manus API key.

    MANUS_API_KEY=your_manus_api_key
    PORT=3000
  4. Start the server:

    pnpm start

Connecting to Claude

To use this server with Claude Web:

  1. Deploy this server to a publicly accessible URL (e.g., using Railway, Render, or a VPS).

  2. In Claude Web, go to Settings > MCP Servers (or use the "+ Add Custom Integration" button).

  3. Provide the server name and the SSE URL: https://your-deployed-url.com/sse.

Security Note

  • The server validates the Origin header 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.