Skip to content

machado2/mcp-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Image, Sound & Mesh Generator

This monorepo contains three distinct Model Context Protocol (MCP) servers: one for image generation/editing, another for sound generation, and another for 3D mesh generation.

Structure

  • image-generation/: MCP server providing tools for generating, editing, converting, and resizing images using Gemini, Replicate, and Hugging Face.
  • sound-generation/: MCP server providing tools for generating sound effects (SFX) using Replicate AudioGen.
  • mesh-generation/: MCP server providing tools for generating 3D meshes for games using Shap-E on Replicate.

Installation & Usage

Image Generation Server

Navigate to image-generation/:

cd image-generation
npm install

Setup your .env file based on .env.example.

Start the server:

npm start
# or using the MCP CLI wrapper
node mcp-server.js

Mesh Generation Server

Navigate to mesh-generation/:

cd mesh-generation
npm install

Setup your .env file based on .env.example (Requires REPLICATE_API_TOKEN).

Start the server:

npm start
# or using the MCP CLI wrapper
node mcp-server.js

Sound Generation Server

Navigate to sound-generation/:

cd sound-generation
npm install

Setup your .env file based on .env.example (Requires REPLICATE_API_TOKEN).

Start the server:

npm start
# or using the MCP CLI wrapper
node mcp-server.js

Configuration in MCP Client

You can configure these servers in your MCP client (like Claude Desktop, Amp, or Windsurf) by using the published npm packages via npx.

Image Generation:

{
  "command": "npx",
  "args": ["-y", "mcp-image-gen"],
  "env": {
    "GEMINI_API_KEY": "...",
    "REPLICATE_API_TOKEN": "optional-replicate-token",
    "HUGGING_FACE_TOKEN": "optional-hf-token"
  }
}

Sound Generation:

{
  "command": "npx",
  "args": ["-y", "mcp-sound-gen"],
  "env": {
    "REPLICATE_API_TOKEN": "..."
  }
}

Mesh Generation:

{
  "command": "npx",
  "args": ["-y", "mcp-mesh-gen"],
  "env": {
    "REPLICATE_API_TOKEN": "..."
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published