Grok AI Image Generation MCP Server
Grok AI 图像生成 MCP 服务器
AI图像生成MCP服务器
连接到 xAI/Grok 图像生成 API 的服务器 使用延迟 API 密钥初始化实现正确的错误处理 增加了对多图像生成的支持(最多 10 个图像) 增加了对不同响应格式(URL 或 base64 JSON)的支持 Docker 支持:
添加了 Dockerfile 来容器化 MCP 服务器,使用可在运行时覆盖的虚拟 API 密钥配置 Dockerfile,设置适当的层缓存以实现高效构建,可用的 MCP 工具:
generate_image:使用 Grok-2-image 模型生成图像 set_api_key:如果未通过环境变量提供,则在运行时设置 xAI API 密钥 如何使用 您现在可以使用以下提示生成图像:
“生成一只穿着太空服的猫的图像” “创建一幅未来城市夜景的图片” MCP 服务器已在您的 Claude 桌面应用程序中配置,并且该实现可以优雅地处理 API 密钥管理,允许服务器即使在没有最初设置 API 密钥的情况下启动。
如果您想在 Docker 中运行服务器,您可以使用以下命令构建并运行它:
cd /Users/8bit/Documents/Cline/MCP/ai-image-generator docker build -t grokart . docker run -e XAI_API_KEY=你的api-key -p 8080:8080 grokart
This server cannot be deployed
Maintenance
Related MCP Connectors
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
MCP server for Grok Imagine AI video generation
MCP server for Qwen Image 3 AI image generation
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceAn integration server that connects to gpt-image-1 and Gemini imagen4 models, allowing users to generate high-quality images from text descriptions via simple API endpoints.-
- AlicenseAqualityBmaintenanceUse XAI's latest api functionalities with Grok MCP. It supports image understanding and generation, live search, latest models and more.2255MIT
- AlicenseAqualityAmaintenanceMCP server for generating and editing images using xAI's Grok image model, supporting text prompts, batch generation, local files, and optional proxy configurations.244 npm29MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for xAI Grok API with 19 tools for chat, web and X search, session management, tool chaining, image and video generation, and documentation.2MIT