Grok AI Image Generation MCP Server

by 8bitsats
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides containerization support with a Dockerfile that includes proper layer caching and runtime API key configuration for deploying the 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

-
security - not tested
F
license - not found
-
quality - not tested

连接到 xAI/Grok 图像生成 API 的服务器,允许用户从文本提示生成图像,支持多种图像生成和不同的响应格式。

ID: vo63lzghfl