Skip to content

MCP servers

Three MCP servers ship with themarch/dev:

ServerPurpose
@themarch/mcp-postgres-localRead-only Postgres access during development
@themarch/mcp-skillsList, read, and run skills from Claude / Cursor
@themarch/mcp-knowledgeExpose CLAUDE.md, READMEs, ADRs, docs/ as resources
Terminal window
themarch mcp add postgres-local --target cursor
themarch mcp add skills --target claude-code
themarch mcp add knowledge --target cursor
themarch mcp list

The --target argument resolves to OS-aware paths:

Platformclaude-desktopclaude-codecursor
macOS~/Library/Application Support/Claude/claude_desktop_config.json~/.claude/settings.json<project>/.cursor/mcp.json
Linux~/.config/Claude/claude_desktop_config.json~/.claude/settings.json<project>/.cursor/mcp.json
Windows%APPDATA%\Claude\claude_desktop_config.json~/.claude/settings.json<project>/.cursor/mcp.json

Tools: query, tables, describe, count. Read-only by default — MCP_PG_READONLY=0 to disable the guard. The safety check rejects any SQL containing INSERT|UPDATE|DELETE|TRUNCATE|ALTER|CREATE|DROP|GRANT|REVOKE|COPY|VACUUM|REINDEX|REFRESH MATERIALIZED|COMMENT ON|NOTIFY.

Tools: list, read, run. Internally calls loadCatalog from @themarch/core against the bundled catalog.

Tools: list, read. Globs CLAUDE.md (root + nested), README.md, docs/**/*.md, ADR/**/*.md, decisions/**/*.md, .cursorrules — ignoring node_modules, dist, .next, .turbo. Override the search root with MCP_KNOWLEDGE_ROOT.