List, test, and remove MCP servers

mcp tools

// what it does

grok mcp list shows every configured server, grok mcp test <name> checks that one connects and returns its tools, and grok mcp remove <name> deletes it. Run test right after adding a server to catch a bad command or unreachable URL before Grok tries to use it.

// shell

$ grok mcp list
$ grok mcp test my-server
$ grok mcp remove my-server

// gotcha

These act on the current project's .grok/settings.json — a server added in one project is not listed in another. Run the commands from the project where you registered the server.

// resources