G

Grok2 Image Generator

Enables AI assistants to generate images through the Grok2 model using stdio transport for seamless ...

145 views
0 installs
Updated Nov 22, 2025
Not audited
Enables AI assistants to generate images through the Grok2 model using stdio transport for seamless integration into existing workflows.
  1. Register and Obtain Your xAI API Key

    • Visit the xAI official website.
    • Log in to or register for an xAI account.
    • Go to the "API" or "Developer" section and find the API Key management page.
    • Create a new API Key, then copy and save it.
  2. (Optional) Configure Network Parameters

    • If the default API URL (https://api.x.ai/v1) is inaccessible, you can use an available third-party proxy. Enter the proxy address into XAIAPI_BASE_URL (it must end with /v1).
    • If you need a proxy for images, you can refer to the Cloudflare Workers example in the README. After deploying it, enter your custom domain into IMAGE_PROXY_DOMAIN.
    • If an HTTP network proxy is needed, enter the corresponding proxy address into HTTP_PROXY (e.g., http://127.0.0.1:7890 or other supported formats).
  3. Fill in Parameters on the FastMCP Connection Screen

    • Click the "Install Now" button. On the FastMCP connection screen that appears:
      • Paste the API Key obtained in step 1 into the XAIAPI_KEY field.
      • If you have special network configuration requirements, fill in XAIAPI_BASE_URL, IMAGE_PROXY_DOMAIN, or HTTP_PROXY as needed.
  4. Submit and Save to Complete the Configuration

Quick Start

View on GitHub

More for AI and Machine Learning

View All →

Similar MCP Servers

Report Issue

Thank you! Your issue report has been submitted successfully.