Visual Generator MCP

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.

Category
Visit Server

README

Visual Generator MCP

外部多模态生成 MCP Server(图片 + 视频),用于在 Tailscale 内网被 MCP Host(例如 eCommerceAgent)接入并调用。

目标

  • 只负责生成与交付:调用方负责业务语义,本服务负责模型调用与 OSS/CDN URL 返回。
  • 工具稳定:imageGeneratevideoGeneratematerialWrite 三块。
  • 模式统一:imageGenerate/videoGenerate 通过 generationMode 区分常规与智能模式。

工具(MCP Tools)

1) imageGenerate(Host 落位点:visual__imageGenerate

  • 必填:vendormodelNamepromptstorageMode/env/project/referenceType/referenceId
  • 新增:generationModenormal|smart,默认 normal
  • 当前状态:
    • generationMode=normal 已支持
    • generationMode=smart 首期预留(未开放)
  • 出参:structuredContent.images[]imageUrl/mimeType/objectKey

2) videoGenerate(Host 落位点:visual__videoGenerate

  • 常规必填:vendormodelNamestorageMode/env/project/referenceType/referenceId
  • 模式字段:generationModenormal|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

快速开始

  1. 安装依赖
npm install
  1. 配置环境变量
cp .env.example .env
  1. 启动 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__imageGenerate
  • visual__videoGenerate

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured