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

# Connect Grok Build to the Fanvue MCP server

> Add the Fanvue MCP server to Grok Build from the terminal and authorise it with your Fanvue account.

Grok Build can read and answer chats, publish posts and read earnings on your Fanvue account from the terminal. You need a Fanvue creator or agency account and a Grok account.

## Connect Grok Build

<Steps>
  <Step title="Install Grok Build">
    Skip this step if `grok --version` prints a version. Otherwise, on macOS or Linux:

    ```bash theme={null}
    curl -fsSL https://x.ai/cli/install.sh | bash
    ```

    On Windows, run `irm https://x.ai/cli/install.ps1 | iex` in PowerShell. If your shell then reports `command not found: grok`, open a new terminal.
  </Step>

  <Step title="Sign in to Grok">
    Run `grok` once. Your browser opens to sign in to your Grok account.
  </Step>

  <Step title="Install the Fanvue plugin">
    ```bash theme={null}
    grok plugin install fanvue/plugins#grok/fanvue --trust
    ```

    The plugin adds the Fanvue server and skills that ask you to confirm before Grok Build messages fans, publishes or changes prices. To add only the server, run `grok mcp add --transport http fanvue https://mcp.fanvue.com/mcp` instead.
  </Step>

  <Step title="Authorise">
    In Grok Build, open `/mcps`, select `fanvue` and press `i`. Your browser opens to Fanvue to sign in and allow access.
  </Step>

  <Step title="Confirm the connection">
    Ask "How many unread chats do I have?". A reply with your unread count means the connection works.
  </Step>
</Steps>

If the Fanvue tools are missing, `grok mcp doctor fanvue` reports the server's configuration and connectivity.

## Ask in plain language

Describe what you want and the client picks the tools:

```text wrap theme={null} theme={null} theme={null}
How many unread chats do I have, and who are my top spenders this month?
Draft a thank-you message to my top 10 spenders and show it to me before sending
Schedule a post for Friday at 20:00 London time announcing a live stream
Compare my net earnings this month with last month, by source
```

As an agency, name the creator in each request. [Example requests](/docs/mcp-server/examples) has more, grouped by job.

## Review before anything reaches fans

Tools act on your live account. A message reaches the fan, a mass message reaches the whole list, and a post goes live as soon as the tool runs. Ask for a draft first and approve it before the client sends or publishes.

<Warning>
  With `fanvue_mcp:write`, the client can do anything your account can do, including messaging fans, publishing and changing prices. Revoke access at any time in Fanvue under Settings > Account > **Third Party Apps Consent**.
</Warning>

## Disconnect Grok Build

```bash theme={null}
grok plugin uninstall fanvue
```

If you added only the server, run `grok mcp remove fanvue` instead.

Then revoke access as described in [Disconnect and revoke](/docs/mcp-server#disconnect-and-revoke).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.