MCPClientMock for Grok
io.github.akkshay10/mcpclientmock
MCP server for James Bloom MockServer - create expectations, verify requests, and manage mock state
client:Grok
transport:stdio
runtime:npm
Install MCPClientMock in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcpclientmock": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mockserver-mcp"
],
"env": {
"MOCKSERVER_HOST": "<MOCKSERVER_HOST>",
"MOCKSERVER_PORT": "<MOCKSERVER_PORT>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs