View raw

Grok#

Connect ClipKit to Grok — xAI's assistant — in the Grok app (custom connector) or from the xAI API (Remote MCP Tools).

ClipKit's connector is open (no key) and speaks Streamable HTTP at https://www.clipkit.dev/mcp.

Grok app#

Grok's "Bring Your Own MCP" custom connector (a paid SuperGrok feature):

  1. At grok.com/connectors, click New Connector → Custom.
  2. Paste the MCP server URL: https://www.clipkit.dev/mcp
  3. Leave authentication empty — ClipKit is open — and Save.

Grok discovers ClipKit's tools and makes them available in your next chat.

xAI API#

xAI connects to the MCP server for you ("Remote MCP Tools"). Native SDK (Python):

import os
from xai_sdk import Client
from xai_sdk.chat import user
from xai_sdk.tools import mcp

client = Client(api_key=os.environ["XAI_API_KEY"])
chat = client.chat.create(
    model="grok-4.3",
    tools=[mcp(server_url="https://www.clipkit.dev/mcp", server_label="clipkit")],
)
chat.append(user("Make a 5s title card and return a preview still."))
print(chat.sample().content)

Or the OpenAI-compatible Responses API:

curl https://api.x.ai/v1/responses \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.3",
    "input": "Make a 5s title card and preview it.",
    "tools": [{ "type": "mcp", "server_label": "clipkit", "server_url": "https://www.clipkit.dev/mcp" }]
  }'

Verify#

In the Grok app, the connector's page lists ClipKit's tools — ask Grok to run one (e.g. validate a project). For the API, the response includes the discovered tool list and the tool calls it made.

Notes#

  • The app's custom connector is a paid SuperGrok feature; on Grok Business/Enterprise a team admin provisions it.
  • xAI accepts Streamable HTTP (not STDIO); no auth needed for the open server.
  • On the OpenAI-compatible Responses API, xAI does not support require_approval (unlike OpenAI) — omit it.
  • Whitelist a subset with allowed_tools (Responses) / allowed_tool_names (SDK) to trim context.

New to the tools? The MCP server overview has the full tool list and how projects work.