Add a remote HTTP MCP server
mcp tools
// what it does
For a hosted MCP server, use --transport http with --url pointing at its endpoint. Grok connects over HTTP instead of spawning a process, so nothing runs locally. Add --env or headers for auth if the endpoint requires them.
// shell
$ grok mcp add my-server --transport http --url "http://localhost:3000"// gotcha
http and sse servers are ones you connect to, not launch — the server must already be running and reachable at the URL, or grok mcp test reports a connection failure.