Guard MCP server
io.github.codapult/guard·v0.13.3Local-first architecture guardrails and project context for JS/TS AI coding agents.
not scanned yet
0 stars587 downloads/wk
Reviews
Write oneNobody has reviewed Guard yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Guard tools
No tool declarations could be read from the package source. They show once the server is installed.
How Guard compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,255 servers
- Downloads a week
- 587
- more than 90% of 12,191 servers with a package
Release history: 10 versions in the registry since 2026-09-28, latest 2026-11-02, typically one every 3 days.
Install Guard in Claude Code, Cursor or VS Code
Runs npx -y @codapult/guard on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add guard -- npx -y @codapult/guard
What the publisher says
From the Guard repository's README, as published. We do not edit it. Read it on GitHub
@codapult/guard
Architecture guardrails for AI coding agents
@codapult/guard is a local-first, model-agnostic architecture guard for JavaScript and TypeScript projects.
It learns what already exists, records the project’s architectural memory, and can protect future changes from introducing regressions covered by the project’s approved policy.
See the value in one change
Suppose a SaaS project has an established boundary:
Client → Server Action → Service → Repository → DatabaseAn AI agent can still produce code that is valid TypeScript but crosses that boundary:
Client → DatabaseAfter the project has explicitly approved a matching import rule or deterministic contract, Guard checks the changed files and reports matching violations deterministically:
Codapult Guard (changed files)
Scanned 1 source file(s); suppressed 12 baseline finding(s).
src/app/settings/page.tsx:1 [client-no-persistence-import]
Client modules should not import persistence-layer modules.
import: @/lib/db/client
✗ 1 issue(s) found
Exit code: 1The file path, rule ID, message, and counts depend on the project. This is the actual CLI output shape: Guard does not infer that every Client → Database edge is forbidden, and it does not activate proposals silently. The team approves the relevant policy first; then existing findings can be baselined while newly matching violations fail the gate and give the agent bounded evidence to repair.
Guard does not tell every project to use the same architecture.
It discovers the architecture that is already there, then lets the team decide what becomes policy.
The core is universal. The strongest first-class scenarios are Next.js SaaS and AI-assisted development, including server/client boundaries, routes, persistence, authentication, billing, background jobs, environment configuration, and AI integrations.
Part of the Codapult ecosystem
Guard is an independent open-source project from Codapult. It does not require Codapult and can be installed in any JavaScript or TypeScript repository.
The relationship is complementary:
Use standalone Guard for any compatible project. Use the Codapult CLI when working on a Codapult SaaS project and you want project management, database, plugins, deployment, MCP, and Guard in one CLI.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Guard: common questions
- Is Guard MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Guard safety report
- How do I install Guard?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Guard need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Guard maintained?
- The last commit was 37 days ago (2026-09-28). The latest release is v0.13.3.
- What can I use instead of Guard?
- Servers from other publishers that do the same job: Memorix MCP server.
- How does Guard compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,255 servers); downloads a week 587 (more than 90% of 12,191 servers with a package). Full comparison.
Alternatives to Guard
Same job from other publishers: the closest match first, then the best rated.
MemorixLocal-first project memory with legacy MCP and 2026 discovery compatibility.not reviewedEstablishedB