Skip to content
Grok

Codehabits for Grok

io.github.codehabits-dev/codehabits-mcp

Team conventions, anti-patterns, and domain knowledge from .codehabits/ for AI coding agents.

client:Grok transport:stdio runtime:npm

Install Codehabits in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "codehabits-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codehabits/mcp"
      ]
    }
  }
}

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

Codehabits in other clients