Skip to main content

Connect Grok to aicharged.io

215 tools, one endpoint: https://aicharged.io/api/v1/mcp

Grok

Grok on grok.com: a custom connector — the API-key option is unverified; on the xAI API a remote MCP tool works with your key today.

  • API key (Bearer)
  • OAuth sign-in
  1. Go to grok.com/connectors → New Connector → Custom.
  2. Enter https://aicharged.io/api/v1/mcp and complete the authentication.
  3. Grok Business/Enterprise: an admin adds it first in console.x.ai → Grok Business → Connectors → + Add Connector → Other.

Remote MCP server URL

Recommended
https://aicharged.io/api/v1/mcp

Unverified: the xAI docs only say to complete any required authentication — whether the dialog accepts a static API key is not documented. If it offers only a sign-in, wait for OAuth on aicharged.io or use the xAI API below.

xAI API — remote MCP tool

curl https://api.x.ai/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -d '{
    "model": "grok-4.7",
    "input": "List my recent aicharged.io runs",
    "tools": [{"type": "mcp", "server_url": "https://aicharged.io/api/v1/mcp", "server_label": "aicharged", "headers": {"Authorization": "Bearer <API_KEY>"}}]
  }'

Documented at docs.x.ai/developers/tools/remote-mcp; the headers are sent to aicharged.io with every request.

Or let the CLI set it up

aicharged setup finds the AI clients on this machine, signs you in through the browser and writes their configuration.

Connect in one line

Install the CLI · macOS / Linux
curl -fsSL https://aicharged.io/install.sh | sh && aicharged setup
Install the CLI · Windows
irm https://aicharged.io/install.ps1 | iex; aicharged setup
MCP endpoint
https://aicharged.io/api/v1/mcp

Streamable HTTP. Send the header Authorization: Bearer <API_KEY>, or sign in with OAuth where your client supports it.

Or tell your agent
Read https://aicharged.io/agent.md and set me up with aicharged.io

Open with this prompt in Claude (opens in a new tab) ChatGPT (opens in a new tab) Perplexity (opens in a new tab)