Skip to content
MCP server

Grok by xAI by UniversalMCP

MCP server giving AI assistants read access to xAI Grok models, completions and embeddings

Answers · sign-in required (OAuth)

The server answered yesterday with a sign-in request for OAuth (HTTP 401), so we could not list its tools.

Grok by xAI by UniversalMCP is a free MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Free
Platforms
API, Web
Runs
Remotely
Access
Needs sign-in (OAuth)
Version
1.0.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add --transport http grok-by-xai https://api.universalmcp.app/mcp/grok-by-xai

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "grok-by-xai": {
      "type": "http",
      "url": "https://api.universalmcp.app/mcp/grok-by-xai"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.universalmcp.app/mcp/grok-by-xai

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "grok-by-xai": {
      "url": "https://api.universalmcp.app/mcp/grok-by-xai"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "grok-by-xai": {
      "type": "http",
      "url": "https://api.universalmcp.app/mcp/grok-by-xai"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://api.universalmcp.app/mcp/grok-by-xai

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add grok-by-xai --url https://api.universalmcp.app/mcp/grok-by-xai

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.grok-by-xai]
url = "https://api.universalmcp.app/mcp/grok-by-xai"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://api.universalmcp.app/mcp/grok-by-xai

Enter a Name (for example "Grok by xAI by UniversalMCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "grok-by-xai": {
      "type": "http",
      "url": "https://api.universalmcp.app/mcp/grok-by-xai"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "httpUrl": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http grok-by-xai https://api.universalmcp.app/mcp/grok-by-xai

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "serverUrl": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "url": "https://api.universalmcp.app/mcp/grok-by-xai",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "type": "streamableHttp",
          "url": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "grok-by-xai": {
          "url": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "grok-by-xai": {
          "url": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "url": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "grok-by-xai": {
          "url": "https://api.universalmcp.app/mcp/grok-by-xai"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Grok by xAI by UniversalMCP

This server lets an AI assistant query the xAI account behind Grok. Through it you can list the Grok text, reasoning, vision and image models enabled for a team, send chat or reasoning prompts through OpenAI-compatible endpoints, compute embeddings, and generate images with Grok Imagine.

Access runs through a remote streamable HTTP endpoint hosted by UniversalMCP. Each person signs in with their own authorized xAI credentials, and requests pass through live without being stored or used for model training, according to the vendor. Teams can set view-only, edit or hidden access per area, including models, inference, embeddings and image generation, files and batches, and key metadata. Access can be revoked for one teammate or removed entirely from the UniversalMCP dashboard.

The server suits developers and small teams who want an AI client such as ChatGPT or Claude to check xAI models, audit key scopes before a deployment, or run batch classification jobs without sharing an unrestricted admin account.

What it does

Model catalog discovery
Lists the Grok language, vision and image models enabled on the xAI account, with read-only access.
Chat and reasoning completions
Sends prompts through OpenAI-compatible chat and responses endpoints, including structured outputs and tool-calling requests.
Text embeddings
Computes vector embeddings for semantic search, clustering and retrieval workflows.
Image generation
Generates or edits images through xAI's Grok Imagine endpoints.
Batch jobs and files
Uploads prompt files and tracks asynchronous batch inference jobs on xAI.
Per-user permissions
Sets view-only, edit or hidden access per teammate and per functional area, with create or update actions off by default.

Good for

  • Check which Grok models and context windows are available before choosing one for an application
  • Run a second opinion on a document by sending it to Grok from an assistant like Claude or ChatGPT
  • Audit xAI access key scopes and model restrictions before pushing a service to production
  • Classify large sets of support tickets or text as structured JSON through batch or chat completions
  • Build semantic search or clustering features by generating embeddings from an AI client

Pricing

Free

Free for everyone with unlimited users, per the vendor page.

Prices change. Check universalmcp.app before you buy.

Grok by xAI by UniversalMCP FAQ

How is the server connected to an AI client?

It uses a remote streamable HTTP endpoint at api.universalmcp.app/mcp/grok-by-xai, which is provided as a link to add in the client.

Is my data stored or used for training?

UniversalMCP says requests pass through live between the assistant and xAI, with no stored copies and no use for training AI models.

Can I limit what a teammate can do?

Yes. Permissions can be set per person and per area, such as view-only, edit or hidden, and access can be revoked from the dashboard at any time.

Does each user need their own xAI credentials?

Yes. Every person signs in with their own authorized Grok by xAI credentials.

Is Grok by xAI by UniversalMCP free?

Yes. Grok by xAI by UniversalMCP is free to use.

How do I add Grok by xAI by UniversalMCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http grok-by-xai https://api.universalmcp.app/mcp/grok-by-xai

What are the best alternatives to Grok by xAI by UniversalMCP?

The closest alternatives to Grok by xAI by UniversalMCP are Grok-MCP, Grok Chat, MCP Grok, Grok Image and Ask Grok.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Status: checked automatically by AIPoweredBot on 3 December 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers