MewCPMewCP
  • AstheTech
  • Contact Us
  • Documentation
  • MewCP Auth API
Have a question?
  • ✉ Contact us - our dev team will reach out as soon as possible

© 2026 MewCP. All rights reserved.

githubx
Getting Started
Connect AI Apps
    Chat apps
    Editors
    CLI agents
      Claude CodeCodexOpenCodeOpenClawHermesDeepSeek HarnessKimi CodeGrok BuildMuse CodeClineJunieAmpQwen CodeGoose
Frameworks & SDKs
Authentication
Auth API Guides
powered by Zudoku
CLI agents

How to Connect Grok Build to MewCP

Grok Build is xAI's coding agent for the terminal. It adds remote MCP servers with one command and signs in with OAuth in the browser. Add MewCP once, and Grok Build can use every app you have connected in MewCP: Gmail, Calendar, Slack, GitHub and the rest. There is no API key to paste.

There are two ways to set it up:

MethodBest for
CommandMost people
MCP configEditing the config yourself

Before you start

  • Grok Build installed
  • A MewCP account with at least one app connected under Apps

Option A: Command

  1. Add the server

    TerminalCode
    grok mcp add --transport http mewcp https://gateway.mewcp.com/personal/mcp
  2. Sign in to MewCP

    Start grok. The browser opens the first time a MewCP tool is used: sign in and click Allow access. To sign in right away, open /mcps, select mewcp and press i.


Option B: MCP config

  1. Open your config

    Edit ~/.grok/config.toml. Create it if it does not exist. For one repository only, use .grok/config.toml in that project instead.

  2. Add the server

    Code
    [mcp_servers.mewcp] url = "https://gateway.mewcp.com/personal/mcp"
  3. Sign in to MewCP

    Start grok, or refresh in /mcps with r if it is already running. The browser opens the first time a MewCP tool is used. To sign in right away, select mewcp in /mcps and press i.

This is the entire configuration either way. One entry reaches every app you have connected, and connecting another app later needs no change here.


Check it works

TerminalCode
grok mcp doctor mewcp

This checks the connection. Then ask:

Code
List the tools you can use from MewCP.

You will see four tools, not the tools of every app: search, get_schema, manage_connections and call_tool. That is expected. Grok Build uses them to find and run the right tool for whatever you ask. See How MewCP works.


Troubleshooting

Sign-in has expired or failed

Open /mcps, select mewcp and press i to sign in again. See OAuth Sign-In for errors on the sign-in page.

A 403 says your plan's billing period has ended

Your MewCP plan needs renewing under Billing.


Last updated on 29 November 2026.

Last modified on November 29, 2026
Kimi CodeMuse Code
On this page
  • Before you start
  • Option A: Command
  • Option B: MCP config
  • Check it works
  • Troubleshooting
    • Sign-in has expired or failed
    • A 403 says your plan's billing period has ended