Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"image-mcp-servers": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This project implements an SSE MCP server that exposes tools for interacting with HuggingFace and Replicate APIs, focusing on image generation and model management. It's built using the MCP Core framework and provides a standardized interface for AI model interactions. Below is a guide to host it yourself!
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP Security Weekly
Get CVE alerts and security updates for Image Mcp Servers and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This project implements an SSE MCP server that exposes tools for interacting with HuggingFace and Replicate APIs, focusing on image generation and model management. It's built using the MCP Core framework and provides a standardized interface for AI model interactions. Below is a guide to host it yourself!
| Tool | Description |
|---|---|
| Get Model Info | Retrieve detailed information about models on HuggingFace |
| Get Model Sample Images | Extract sample images from model READMEs |
| Get Readme | Fetch the README content for a model |
| Search Models | Search for models on HuggingFace with filtering options |
| WhoAmI | Retrieve information about the current HuggingFace API token |
| Tool | Description |
|---|---|
| Generate Image | Create images using Replicate's text-to-image models |
| Get Model Info | Retrieve detailed information about models on Replicate |
| Get Prediction | Check the status and retrieve outputs of a prediction |
| List Models | List available models on Replicate with optional filtering |
| WhoAmI | Retrieve information about the current Replicate API token |
Clone the repository:
git clone https://github.com/yourusername/image-mcp-servers.git
cd image-mcp-servers
Create a .env file based on the .env.example:
cp .env.example .env
Add your API tokens to the .env file:
HF_API_TOKEN="your_huggingface_token"
REPLICATE_API_TOKEN="your_replicate_token"
Build the project:
cargo build
cargo run
The server will start on the port specified in the SERVER_PORT environment variable (default: 3000).
The project includes Docker support for easy deployment:
# Start the service
just docker-up service
# Stop the service
just docker-down service
The server can be configured using environment variables:
SERVER_NAME: Name of the server (default: "image-mcp-servers")SERVER_VERSION: Version of the server (default: "0.1.0")SERVER_PORT: Port to run the server on (default: 3000)HF_API_TOKEN: HuggingFace API tokenREPLICATE_API_TOKEN: Replicate API tokenThe project supports two main feature sets that can be enabled or disabled:
huggingface: Enables HuggingFace API integrationreplicate: Enables Replicate API integrationBy default, no features are enabled. You can build with specific features:
# Build with only HuggingFace
cargo build --no-default-features --features huggingface
# Build with only Replicate
cargo build --no-default-features --features replicate
This project is licensed under the MIT License - see the LICENSE file for details.