MCP servers
Three MCP servers ship with themarch/dev:
| Server | Purpose |
|---|---|
@themarch/mcp-postgres-local | Read-only Postgres access during development |
@themarch/mcp-skills | List, read, and run skills from Claude / Cursor |
@themarch/mcp-knowledge | Expose CLAUDE.md, READMEs, ADRs, docs/ as resources |
Wire them up
Section titled “Wire them up”themarch mcp add postgres-local --target cursorthemarch mcp add skills --target claude-codethemarch mcp add knowledge --target cursorthemarch mcp listThe --target argument resolves to OS-aware paths:
| Platform | claude-desktop | claude-code | cursor |
|---|---|---|---|
| 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 |
mcp-postgres-local
Section titled “mcp-postgres-local”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.
mcp-skills
Section titled “mcp-skills”Tools: list, read, run. Internally calls loadCatalog from @themarch/core against the bundled catalog.
mcp-knowledge
Section titled “mcp-knowledge”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.