# latch MCP server

> Enforces project decisions and rejected paths by providing a runtime gate that checks agent actions against a local knowledge graph before files change.

- Repository: https://github.com/open-latch/latch
- Page: https://hostedmcp.org/servers/open-latch/latch
- Transport: —
- Stars: 9
- License: Apache-2.0

## FAQ

### How does latch prevent agents from making mistakes?

It acts as a runtime gate that checks the next action against ratified decisions and rejected paths, returning a go/no-go verdict before any files are edited.

### Does latch require a cloud account?

No, latch runs locally on a single SQLite knowledge graph and requires no cloud account.

### Can different AI agents share the same decisions?

Yes, because latch uses a shared local knowledge base, a decision captured through one agent like Claude Code can gate others like Codex or Cursor.

### Is the knowledge base automatically updated with everything the agent does?

No, newly captured knowledge lands in a staging area, and you must explicitly ratify it so that nothing becomes project judgment without your approval.
