> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postqueen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Build

> Run your calendar from Grok Build in the terminal: one grok mcp add command, or the skill plus CLI

## Working with her in the terminal

Grok Build is xAI's coding agent. It lives in the terminal, runs commands, and speaks MCP. It is not Grok chat on grok.com, iOS or Android, and it is not [Grok Bot](/agents/grok-bot). Same pairing as Claude Code vs Claude, or Codex vs ChatGPT.

A custom connector at [grok.com/connectors](https://grok.com/connectors) does not install this product. Official MCP is `grok mcp add`.

## Set up

Two routes lead to the same place. MCP hands Grok Build her 14 hosted tools with nothing installed locally. Her skill teaches the `postqueen` CLI when you want shell commands and JSON you can pipe.

<Steps>
  <Step title="Connect over MCP">
    One command writes `~/.grok/config.toml`. The scoping options, the header variant and self-hosted URLs are on [Grok Build over MCP](/mcp/clients/grok-build).

    ```bash theme={"system"}
    grok mcp add --transport http postqueen https://api.postqueen.ai/mcp/YOUR_API_KEY
    ```
  </Step>

  <Step title="Or install the CLI and skill">
    ```bash theme={"system"}
    npm install -g postqueen
    npx skills add GkhanKINAY/postqueen-agent
    export POSTQUEEN_API_KEY="your-api-key"
    ```

    The skill is a playbook. It does not install the CLI. Get the key from [app.postqueen.ai](https://app.postqueen.ai) under **Settings → API Keys**.

    The repo also ships a Grok Build plugin (`.grok-plugin/plugin.json` and `.grok-plugin/marketplace.json`). Add the repo as a marketplace source; the identifier is `postqueen@postqueen-agent`. It loads the same skill and does not register an MCP server.
  </Step>

  <Step title="Verify">
    ```bash theme={"system"}
    grok mcp list
    postqueen integrations:list
    ```

    `grok mcp list` confirms the MCP server. A JSON list of channels from the CLI means the key works.
  </Step>
</Steps>

<Note>
  Grok Build can also load Cursor `mcp.json` and `~/.claude.json` at lower priority. That is a compatibility fallback, not the official install. grok.com/connectors still does not register this product.
</Note>

## 👑 A launch post from the session

Ask in plain words:

> Schedule a launch post about dark mode for tomorrow at 9am on X and LinkedIn.

It reads your channels with `integrationList`, then calls `integrationSchedulePostTool`. Want an image? Ask it to generate one. Not ready to publish? Ask for drafts.

Posts land on the calendar at [app.postqueen.ai](https://app.postqueen.ai). You can edit or delete them before they go out.

## Learn more

<CardGroup cols={2}>
  <Card title="Grok Build MCP setup" icon="plug" href="/mcp/clients/grok-build">
    grok mcp add, config.toml, and the Bearer form
  </Card>

  <Card title="Grok chat" icon="https://mintcdn.com/forceplay/lYbPBM3tqu53QzpP/images/brand/icon-grok.svg?fit=max&auto=format&n=lYbPBM3tqu53QzpP&q=85&s=7fe4ed59fc811cfa495db4fffc9def7d" href="/agents/grok" width="30" height="30" data-path="images/brand/icon-grok.svg">
    Custom connector at grok.com/connectors
  </Card>

  <Card title="Grok Bot" icon="https://mintcdn.com/forceplay/lYbPBM3tqu53QzpP/images/brand/icon-grok.svg?fit=max&auto=format&n=lYbPBM3tqu53QzpP&q=85&s=7fe4ed59fc811cfa495db4fffc9def7d" href="/agents/grok-bot" width="30" height="30" data-path="images/brand/icon-grok.svg">
    Cloud agent. Add the server in the Bot chat.
  </Card>

  <Card title="CLI introduction" icon="terminal" href="/cli/introduction">
    The postqueen CLI the skill drives
  </Card>
</CardGroup>
