Skip to content
Grok

patchwork — Codebase Conventions for AI Agents for Grok

io.github.sainarayana-b/patchwork

Scan any codebase, generate CONVENTIONS.md, expose conventions as MCP tools for AI agents.

client:Grok transport:stdio runtime:pypi

Install patchwork — Codebase Conventions for AI Agents in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "patchwork": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "patchwork-conventions"
      ]
    }
  }
}

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

patchwork — Codebase Conventions for AI Agents in other clients