Skip to Content
Native MCP Servers
xai logo
Native MCP Server

xai

xAI connector for Grok AI models, chat completions, image generation, and function calling

9MCP Tools
1Auth Method
application

FlowGenX Managed

Maintained by FlowGenX with guaranteed compatibility

Production Ready

Fully tested and optimized for enterprise use

Secure by Default

Enterprise-grade security and access control

Easy Setup

Deploy in minutes with guided configuration

Authentication Methods

api_key

Available MCP Tools

POST
/api/v1/xai/chat/completions

Create chat completion

POST
/api/v1/xai/chat/completions/stream

Create streaming chat completion

POST
/api/v1/xai/chat/completions/structured

Get structured output

POST
/api/v1/xai/chat/completions/tools

Chat with function calling

POST
/api/v1/xai/images/analyze

Analyze images

POST
/api/v1/xai/images/generations

Generate image

GET
/api/v1/xai/models

List available models

GET
/api/v1/xai/test

Test connection

POST
/api/v1/xai/tokenize

Tokenize text

Getting Started

  1. 1Navigate to Agentic Toolkit → MCP Servers
  2. 2Click Create MCP Server and select Connectivity Specification
  3. 3Choose xai from the connector gallery
  4. 4Configure authentication and select tools to expose
  5. 5Deploy and start using in Agent Playground