https://github.com/8bitsats/grok-mcp
A server that connects to the xAI/Grok image generation API that provides endpoints for text and image analysis using X.AI's Grok models. ## Features - Text analysis using Grok-2 - Image analysis using Grok Vision - Simple REST API interface - Built-in error handling and validation
https://github.com/8bitsats/grok-mcp
Last synced: 3 months ago
JSON representation
A server that connects to the xAI/Grok image generation API that provides endpoints for text and image analysis using X.AI's Grok models. ## Features - Text analysis using Grok-2 - Image analysis using Grok Vision - Simple REST API interface - Built-in error handling and validation
- Host: GitHub
- URL: https://github.com/8bitsats/grok-mcp
- Owner: 8bitsats
- Created: 2025-03-21T01:13:44.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T02:22:06.000Z (7 months ago)
- Last Synced: 2025-06-17T13:17:07.694Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.44 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.docker.md
Awesome Lists containing this project
- awesome-mcp-servers - Grok Mcp - A server connecting to xAI/Grok image generation API, enabling text-to-image creation and integration into creative workflows. Representative of MCP servers for generative AI tasks. ([Read more](/details/grok-mcp.md)) `image-generation` `generative-ai` `mcp` `creative` `api-integration` (Media Processing MCP Servers)
README
# Docker Setup for GrokArt
This document explains how to run the GrokArt MCP server using Docker.
## Overview
GrokArt is an MCP server that implements AI image generation capabilities using the xAI/Grok API. It provides tools for generating images based on text prompts.
## Prerequisites
- Docker and Docker Compose installed on your system
- Valid xAI API key## Getting Started
### Environment Variables
The application requires an xAI API key. Create or update your `.env` file with:
```
X_AI_API_KEY=your-xai-api-key
```### Building and Running with Docker
1. Build and start the container:
```bash
docker-compose up -d
```2. View logs:
```bash
docker-compose logs -f
```3. Stop the container:
```bash
docker-compose down
```## Manual Docker Commands
If you prefer not to use Docker Compose:
1. Build the Docker image:
```bash
docker build -t grokart .
```2. Run the container:
```bash
docker run -d --env-file .env --name grokart-container grokart
```3. Stop the container:
```bash
docker stop grokart-container
```## Debugging
If you encounter any issues:
1. Check the logs:
```bash
docker logs grokart-container
```2. Verify your API key is correctly set in the .env file
3. Make sure the environment variable is correctly named `X_AI_API_KEY`
## MCP Integration
This container runs the GrokArt MCP server which can be integrated with any MCP client. Follow the MCP documentation for connecting this server to your client application.