Skip to content

xAI MCP connector

The xAI connector brings xAI's models, chat completions, embeddings, files and document search into Claude, ChatGPT and other AI clients, so your team can work with xAI by asking in plain language.

  • Connects with an API key
  • Works for one person or a whole team
  • Free 14-day trial
  • No credit card
ChatGPT Elaichi connected

List the xAI language models we can use today.

Working in xAI with Elaichi

  • List all xAI language models
  • Get single xAI language model by ID
  • List all xAI models
Governance / Audit log Last 24 hours
xAI List all xAI models Emily Carter · ChatGPT · 9:41 AM Done
xAI Get single xAI language model by ID Emily Carter · ChatGPT · 9:41 AM Done
xAI List all xAI language models Emily Carter · ChatGPT · 9:41 AM Done
xAI XAI API keys me Megan Brooks · Claude · 9:38 AM Done
xAI Create a xAI chat completion Ryan Hayes · Cursor · 9:35 AM Done

How to connect xAI to Claude, ChatGPT, Perplexity, Grok, Cursor or Microsoft Copilot

Step by step, for each AI app

xAI MCP connector for Claude

  1. 1

    Open Customize, then Connectors.

  2. 2

    Press Add.

  3. 3

    Name it, paste the MCP server URL, then Continue.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in and approve.

Tap the picture to see it full size.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

xAI MCP connector for Claude Code

  1. 1

    Copy the claude mcp add command and run it in a terminal.

  2. 2

    Start Claude Code and run /mcp.

  3. 3

    Pick elaichi, then sign in and approve in the browser.

Terminal

$ claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp

Use --scope project instead to share it with the repository through .mcp.json.

xAI MCP connector for ChatGPT

  1. 1

    Open Plugins, then press the + button.

  2. 2

    Name it and paste the endpoint into Server URL.

    https://api.elaichi.ai/mcp
  3. 3

    Leave Authentication on OAuth, then tick the risk acknowledgement.

  4. 4

    Press Create, then sign in and approve.

Tap the picture to see it full size.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

xAI MCP connector for Perplexity

  1. 1

    In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.

  2. 2

    Name it Elaichi.

  3. 3

    Paste the endpoint as the MCP server URL.

    https://api.elaichi.ai/mcp
  4. 4

    Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.

  5. 5

    Tick the box about custom connectors, then click Add.

  6. 6

    Click the Elaichi card. Sign in to Elaichi and approve.

Tap the picture to see it full size.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors. Setup guide for Perplexity.

xAI MCP connector for Grok

On grok.com

  1. 1

    Go to grok.com/connectors and click New Connector.

  2. 2

    Choose Custom.

  3. 3

    Paste the endpoint as the MCP server URL.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in to Elaichi and approve.

or

In Grok Bot

  1. 1

    Open Connect apps and click Add a custom connector.

  2. 2

    Name it Elaichi.

  3. 3

    Set the type to Remote HTTPS.

  4. 4

    Paste the endpoint as the Server URL.

    https://api.elaichi.ai/mcp
  5. 5

    Leave Client ID empty.

  6. 6

    Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

Tap the picture to see it full size.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first. Setup guide for Grok.

xAI MCP connector for Cursor

  1. 1

    Open ~/.cursor/mcp.json.

  2. 2

    Add the endpoint under mcpServers.

    https://api.elaichi.ai/mcp
  3. 3

    Reload Cursor, then sign in and approve.

~/.cursor/mcp.json

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

Set up per machine, so repeat it on each computer you work from.

xAI MCP connector for Microsoft Copilot

  1. 1

    In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.

  2. 2

    Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.

    https://api.elaichi.ai/mcp
  3. 3

    Create a new connection, sign in and approve, then press Add to agent.

  4. 4

    Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Server URL
https://api.elaichi.ai/mcp
Authentication
OAuth 2.0
Type
Dynamic discovery

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

Connect xAI to any MCP client

  1. 1

    Add the endpoint as a remote MCP server.

    https://api.elaichi.ai/mcp
  2. 2

    Sign in and approve.

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

The Elaichi Agent already has these tools, with nothing to set up.

Want the AI to use only some xAI tools? Paste this into a connected AI app.

Using Elaichi, build me a toolbox for xAI with only the tools I need for [my job]. Start with read tools, lock any fixed ids, and write its skill.

What teams do with xAI through Elaichi

Ask in plain English. Each person’s AI can do only what they’re allowed to, and every action it takes in xAI is logged.

  • Engineering

    Pick the right xAI model for a job

    Ask which xAI language, embedding and image generation models are available and get the details on each one. Compare options before anyone writes a line of code.

  • Product

    Try a prompt against an xAI model

    Run a draft prompt through an xAI model and read the reply side by side with the original. Go back to an earlier response by asking for it again later.

  • Support

    Draft a customer reply with xAI

    Paste in a customer email and have an xAI model draft a first reply. Edit it and send it from your usual help desk.

  • Data

    Turn text into embeddings for search

    Create embeddings from product descriptions, tickets or notes so they can power search and matching. Check which embedding models are available first.

  • Operations

    Manage files and public links in xAI

    Upload, download and tidy up the files your team keeps in xAI. Create a public link when someone outside needs a file, and revoke it when they are done.

  • Research

    Search your documents for an answer

    Ask a question across the document collections stored in xAI and get the relevant passages back. Useful for finding a policy line or a past finding quickly.

Try asking

  • “List the xAI language models we can use today.”
  • “Draft a reply to this customer refund email.”
  • “Search our policy documents for the travel expense rules.”

See all 62 xAI tools →

What connecting xAI gets you

6 screens from Elaichi, each doing one job for your xAI account.

Elaichi Agent

Ask Elaichi to work across your apps.

List the xAI language models we can use today.

Draft a reply to this customer refund email.

Search our policy documents for the travel expense rules.

Also runs in Claude, ChatGPT, Perplexity, Grok, Cursor or Microsoft Copilot

The agent

Ask xAI anything in plain language.

Get answers from live xAI models, files and responses without writing a request.

ElaichiAI apps
Claude ChatGPT Perplexity Grok Cursor Microsoft Copilot

Copy the endpoint

https://api.elaichi.ai/mcp
Client Connected by Status Last used
Claude
E

Emily Carter

• Connected 4 minutes ago
Cursor
M

Megan Brooks

• Connected 2 hours ago
ChatGPT
R

Ryan Hayes

• Connected Yesterday

AI apps

One endpoint brings xAI to every client.

Claude, ChatGPT, Grok and Cursor use xAI over OAuth, with no SDK or shared key.

ElaichiTools
Tool Action Description
XAI API keys me Action Get information about the API key in xAI, including its name, permissions and who created or modified it. Returns: acls, api_key_blocked, api_key_disabled, api_key_id, create_time, modified_by, modify_time, name, redacted_api_key, team_blocked, team_id, user_id.
Create a xAI chat completion Create Create a chat completion in xAI from text or image prompts — the endpoint for chat and image understanding models. Returns: choices, citations, created, id, model, object, output_files, service_tier, system_fingerprint, usage. Streaming (SSE) is not available through this call; the whole reply is returned. Spends the team's prepaid xAI credits (per-model pricing).
Create a xAI completion Create Create a text completion response for a given prompt in xAI. Returns: choices, created, id, model, object, system_fingerprint, usage. Requires prompt and model. Legacy endpoint: not supported by reasoning models; replaced by /v1/chat/completions. Streaming (SSE) is not available through this call; the whole reply is returned. Spends the team's prepaid xAI credits (per-model pricing).
XAI documents query Search Search indexed documents for content related to a query within the given collections. Returns matching chunks with file_id, chunk_id, chunk_content, score, and collection_ids. Spends the team's prepaid xAI credits (per-model pricing). Required: query, source.
List all xAI embedding models List List all embedding models available to the authenticating API key, with full information including modalities, fingerprint, and aliases. Returns: aliases, created, fingerprint, id, input_modalities, object, output_modalities, owned_by, prompt_image_token_price, prompt_text_token_price, version. This call is in xAI's OpenAPI spec but has no page of its own in the docs reference.

Tool catalog

62 xAI tools, ready without code.

Models, chat completions, embeddings, files and responses, cataloged and ready to call.

ElaichiToolboxes
Name Source template Tools Created

Engineering toolbox

xAI · models and completions

xAI starter 18 Mar 4, 2026

Data toolbox

xAI · embeddings and documents

— 9 Mar 2, 2026

Support toolbox

xAI · drafted customer replies

— 24 Feb 27, 2026

Product toolbox

xAI · prompt testing

xAI starter 6 Feb 19, 2026

Operations toolbox

xAI · files and public links

— 31 Jan 30, 2026

Research toolbox

xAI · model comparisons

— 12 Jan 22, 2026

Toolboxes

Each team gets its own xAI toolbox.

Engineering, data and support each work from a toolbox scoped to their job.

ElaichiConnections
Connection Scope Status Access
XA

xAI (Engineering)

Connected by Emily Carter

Personal • Active 1 team · 6 members
XA

xAI (Data science)

Connected by Jake Morgan

Organization • Active 3 teams · 24 members
XA

xAI (Support)

Connected by Megan Brooks

Organization • Active 2 teams · 11 members
XA

xAI (Product)

Connected by Tyler Reed

Personal • Needs re-auth 1 team · 3 members
XA

xAI (Platform team)

Connected by Ryan Hayes

Personal • Active Not shared
XA

xAI (Research)

Connected by Ashley Parker

Personal • Active 2 teams · 9 members

Shared connections

Teammates use xAI without seeing the key.

One person connects the xAI API key, then shares it with teams and members.

ElaichiAudit log
When Who What happened Type

2 minutes ago

Mar 6, 2026, 3:10 PM

E

Emily Carter

[email protected]

Restriction Created Access

8 minutes ago

Mar 6, 2026, 3:04 PM

J

Jake Morgan

[email protected]

Restriction Updated Access

14 minutes ago

Mar 6, 2026, 2:58 PM

M

Megan Brooks

[email protected]

Role Assigned Access

20 minutes ago

Mar 6, 2026, 2:52 PM

T

Tyler Reed

[email protected]

xAI Users Updated MCP

26 minutes ago

Mar 6, 2026, 2:46 PM

R

Ryan Hayes

[email protected]

xAI Models Created MCP

32 minutes ago

Mar 6, 2026, 2:40 PM

A

Ashley Parker

[email protected]

xAI Models List Toolbox

Audit log

Every xAI call names who made it.

See when, who, what happened, type and resource for every file and completion.

From answering questions to doing the work

A trigger starts the work, inside the same permissions and the same audit log as everything else. Workflows, collections and live dashboards come with the Black plan.

xAI digest

Run 418 · started 2 minutes ago · on behalf of Emily Carter

  1. ✓

    Schedule

    Every weekday at 8:00 AM

    0.2s
  2. ✓

    Fetch models

    xAI

    1.4s
  3. ✓

    Group by owner

    Transform

    0.1s
  4. ✓

    Draft the digest

    Agent step

    Ran with 4 tools, returned a structured summary

    6.2s
  5. Approve the digest

    Needs approval

    Assigned to Jake Morgan

    Approve
  6. Post the digest

    xAI

    Queued

Workflows

A schedule starts the work, not a question.

Fetch xAI responses, group them, draft a digest, and post it once approved.

xAI health

Refreshed 4 minutes ago · every 15 minutes · from the models collection

Live

Models

1,284 ↓ 12%

Files

96 ↓ 8%

Needs attention

3 ↑ 2

Updated this week

412 ↑ 9%

Models created

Last 14 days

By team

Share of activity

Engineering 34%

Data science 27%

Support 21%

Product 18%

Collections and dashboards

xAI numbers refresh without anyone asking.

Four metrics, a 14 day chart and a team breakdown, computed with no model.

For IT and engineering

Elaichi vs Zapier MCP vs Composio for xAI

All three can connect xAI to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

Elaichi compared with Zapier MCP and Composio for xAI, by what to check
What to check Elaichi Zapier MCP Composio
Where the AI connects One address for the whole organization. https://api.elaichi.ai/mcp A server per member, created at sign-in. An MCP endpoint per team, or an SDK.
Control over xAI tools Allow or restrict single xAI tools, per role or user. App and action restrictions on the account. Role permissions, down to the action.
Record of calls One audit entry per xAI call. A History tab of tool calls. A log of every tool call.
Single sign-on SAML or OIDC, plus SCIM, on Gold. SAML on Enterprise. SAML and OIDC on Enterprise.
Price Free for one person; $15 per user per month on Gold. 2 tasks per successful call. Billed per tool call.

Sources: Zapier MCP docs, security, usage; Composio docs, gateway, enterprise, pricing. Checked September 2026.

Longer take: Zapier MCP alternative and whether you need an MCP gateway on your own.

xAI tools for your AI agents

62 tools are ready to call through Elaichi's MCP endpoint the moment you connect xAI, governed by the same roles, restrictions, and audit log as everything else in Elaichi.

Questions, answered

How do I connect xAI to Claude?

Connect xAI in Elaichi by pasting an xAI API key from your xAI account, then add https://api.elaichi.ai/mcp in Claude under Customize, then Connectors, then Add. There is no OAuth application to register and no client ID or secret to generate. Once Claude signs in to Elaichi, your xAI models, files and completions are ready to use.

Does xAI work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. The xAI connector uses the same endpoint, https://api.elaichi.ai/mcp, in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect xAI once in Elaichi and every client can use it.

What can an AI agent actually do with my xAI account?

With xAI connected, an agent can list the xAI models available to you, send a prompt to a model and return the reply, create embeddings, and search your document collections. It can also upload, download and delete files in xAI and create or revoke public links to them. Short, concrete asks like "list our xAI files" tend to work better than long sentences.

Does connecting xAI give the AI access to everything in the account?

No. Access to xAI follows the person who signed in and the API key their connection uses, so an agent can only do what that key allows. Elaichi can narrow that further with restrictions, but it never widens access beyond what the xAI key already permits.

Can my team share one xAI connection?

Yes. One person connects xAI with an API key and shares the connection with a team, so nobody else ever sees or handles the key. Each person still signs in to Elaichi as themselves, so the audit log names who made every xAI call.

What happens to an xAI connection when someone leaves?

Offboarding a person in Elaichi ends their access to xAI at once. If they used a shared xAI connection, it keeps working for everyone else on the team. Disconnecting xAI once in Elaichi removes it from every client at the same time.

Does the xAI MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. xAI is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

Is Elaichi an alternative to Zapier MCP for xAI?

Yes. Both let Claude, ChatGPT or Cursor use xAI. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every xAI call.

How is Elaichi different from Composio for xAI?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to xAI: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

Put xAI in front of your team

14 days of Black, no credit card. Connect it once and pick what each team can call.

When the trial ends, nothing is deleted. You move to the free Personal plan, and connections, roles and the audit log stay where they are.

Add one link to your AI app

The same link for everyone on your team.

https://api.elaichi.ai/mcp
  • ChatGPT
  • Claude
  • Perplexity
  • Grok
  • Cursor
  • Microsoft Copilot