Visual Generator MCP
An MCP server for generating images and videos via external multimodal models, providing unified tools like imageGenerate, videoGenerate, and materialWrite with support for normal and smart generation modes.
README
Visual Generator MCP
外部多模态生成 MCP Server(图片 + 视频),用于在 Tailscale 内网被 MCP Host(例如 eCommerceAgent)接入并调用。
目标
- 只负责生成与交付:调用方负责业务语义,本服务负责模型调用与 OSS/CDN URL 返回。
- 工具稳定:
imageGenerate、videoGenerate、materialWrite三块。 - 模式统一:
imageGenerate/videoGenerate通过generationMode区分常规与智能模式。
工具(MCP Tools)
1) imageGenerate(Host 落位点:visual__imageGenerate)
- 必填:
vendor、modelName、prompt、storageMode/env/project/referenceType/referenceId - 新增:
generationMode(normal|smart,默认normal) - 当前状态:
generationMode=normal已支持generationMode=smart首期预留(未开放)
- 出参:
structuredContent.images[](imageUrl/mimeType/objectKey)
2) videoGenerate(Host 落位点:visual__videoGenerate)
- 常规必填:
vendor、modelName、storageMode/env/project/referenceType/referenceId - 模式字段:
generationMode(normal|smart,默认normal) - 模式说明:
normal:调用方提供完整 prompt 与参数smart:先做需求分析与方案生成,再做素材匹配与分段生成(视频优先实施)
- 出参:
structuredContent.videos[](videoUrl/mimeType/objectKey)
3) materialWrite(Host 落位点:visual__materialWrite)
- 定位:将用户认可素材写入素材库,并自动打标签与权限字段。
- 当前状态:规划中(详见
docs/plan/plan-intelligent-generation.md)。
兼容说明(历史调用):
- 旧工具名
generate/generateVideo已废弃,调用方需升级到imageGenerate/videoGenerate。
快速开始
- 安装依赖
npm install
- 配置环境变量
cp .env.example .env
- 启动 SSE MCP Server
npm run dev:sse
健康检查:
curl -i http://localhost:3107/health
接入 eCommerceAgent(示例)
{
"mcpServers": {
"visual": {
"transport": "sse",
"endpoint": "http://<tailscale-ip>:3107/"
}
}
}
Verify 后应看到:
visual__imageGeneratevisual__videoGenerate
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.