mcp¶
MCP server superpowers: inspection, health checks, lightweight testing and easy example injection.
list¶
List configured MCP servers from your config.toml (works even without tomli on Python < 3.11) plus what the Grok CLI itself reports.
doctor¶
Health check MCP servers (config presence + basic reachability hints via PATH checks for stdio servers).
test¶
Attempt a very lightweight test of a named server (delegates to grok mcp ... when possible).
add-example¶
Append a well-known example MCP server config block to your config.toml. You must still edit paths, tokens, etc.
Supported example kinds (at time of writing): filesystem, github, sqlite, and others — the command will list them if you pass an unknown kind.
After adding, restart or reload your Grok session / TUI for the change to take effect.