Patchwork — Codebase Conventions For AI Agents MCP server
sainarayana-b/patchwork · python · MIT
Scan any codebase, generate CONVENTIONS.md, expose conventions as MCP tools for AI agents.
Also known as SaiNarayana-B/patchwork, patchwork, patchwork-conventions
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- 112
- Latest version
- 0.1.7
- Last commit
- Jun 25, 2026
- License
- MIT
What is Patchwork — Codebase Conventions For AI Agents MCP?
Patchwork — Codebase Conventions For AI Agents scans any codebase, generate CONVENTIONS.md, expose conventions as MCP tools for AI agents.
How to install Patchwork — Codebase Conventions For AI Agents MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Patchwork — Codebase Conventions For AI Agents MCP in Claude Code
$ claude mcp add patchwork -- uvx patchwork-conventionsInstall Patchwork — Codebase Conventions For AI Agents MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"patchwork": {
"command": "uvx",
"args": [
"patchwork-conventions"
]
}
}
}Install Patchwork — Codebase Conventions For AI Agents MCP in VS Code
.vscode/mcp.json
{
"servers": {
"patchwork": {
"type": "stdio",
"command": "uvx",
"args": [
"patchwork-conventions"
]
}
}
}Install Patchwork — Codebase Conventions For AI Agents MCP in VS Code CLI
$ code --add-mcp '{"name":"patchwork","type":"stdio","command":"uvx","args":["patchwork-conventions"]}'Install Patchwork — Codebase Conventions For AI Agents MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"patchwork": {
"command": "uvx",
"args": [
"patchwork-conventions"
]
}
}
}Install Patchwork — Codebase Conventions For AI Agents MCP in Codex
$ codex mcp add patchwork -- uvx patchwork-conventionsInstall Patchwork — Codebase Conventions For AI Agents MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.patchwork] command = "uvx" args = ["patchwork-conventions"]
Install Patchwork — Codebase Conventions For AI Agents MCP in Gemini CLI
$ gemini mcp add -s user patchwork uvx -- patchwork-conventionsInstall Patchwork — Codebase Conventions For AI Agents MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"patchwork": {
"command": "uvx",
"args": [
"patchwork-conventions"
]
}
}
}No environment variables or API keys required.Setup guides:Claude CodeCursorVS CodeClaude Desktop
Patchwork — Codebase Conventions For AI Agents MCP questions
How do I add Patchwork — Codebase Conventions For AI Agents MCP to Claude Code?
Run claude mcp add patchwork -- uvx patchwork-conventions in your terminal. Add --scope user to make it available in every project.
How do I add Patchwork — Codebase Conventions For AI Agents MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.