← All connection guides
Grok CLI
About 1 minute · MegaMCPs has not checked this client yet
- Add MegaMCPs (add --scope project to keep it to one project):
grok mcp add --transport http megamcps https://mcp.megamcps.com/mcp - Start grok, open /mcps, pick megamcps and press i to sign in; Grok also asks the first time it uses a MegaMCPs tool. Your browser opens MegaMCPs: check the account and click Allow.
/mcps - Ask Grok to use one of your services, for example “What's on my calendar today?”.
If it doesn't work
- grok mcp list shows the server; grok mcp doctor megamcps checks it.
- No browser on this machine (SSH, a container)? Create an API key and add MegaMCPs with --header "Authorization: Bearer mmk_your_key" instead.
- Sign-in fails with invalid_client? Remove the server from the app and add it again.
New to MegaMCPs?
Create an account and connect a service first. Onboarding then shows this guide beside a live check that turns green at your client's first tool call.