
Preloop
Open-source control plane that firewalls MCP tool calls and caps agent model spend
The server answered 15 hours ago but needs an account or API key, so we could not list its tools.
- Pricing
- Open source
- Platforms
- self-hosted, Web, API
- Runs
- Remotely
- Access
- Needs an account or API key
- Version
- 1.0.2
- Listing updated
- 3 days ago
About Preloop
Preloop is an open-source MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
Preloop sits between agents and everything they reach. Its MCP firewall allows, denies or holds a tool call for human approval using ordered YAML rules with CEL expressions that can inspect arguments, so a payment above 2000 can be denied and one above 100 held. Approvals can be answered on mobile, watch, Slack, Mattermost, email or a webhook, and an async mode lets the agent poll for the decision.
A model gateway compatible with OpenAI and Anthropic attributes tokens to agent, flow or API key and sets soft and hard budgets; usage it cannot price is labelled unpriced rather than $0.00. The preloop agents discover command backs up and rewrites configs for Claude Code, Codex CLI, Cursor, Gemini CLI, OpenClaw, Hermes and OpenCode to route through it with no SDK changes.
The README also describes a software factory that runs agents on events from GitHub, GitLab, Jira or webhooks, and an audit trail the site frames as evidence for EU compliance programs, not certification.
Install
Run in a terminal
claude mcp add --transport http preloop https://preloop.ai/mcp/v1Add to Settings → Connectors → Add custom connector
https://preloop.ai/mcp/v1Add to ~/.cursor/mcp.json
{
"mcpServers": {
"preloop": {
"url": "https://preloop.ai/mcp/v1"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"preloop": {
"type": "http",
"url": "https://preloop.ai/mcp/v1"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"preloop": {
"serverUrl": "https://preloop.ai/mcp/v1"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"preloop": {
"type": "http",
"url": "https://preloop.ai/mcp/v1"
}
}
}What it does
- MCP firewall
- Rules allow, deny or require approval per tool call, including argument checks.
- Model gateway
- Per-agent spend attribution with soft and hard budgets.
- Human approvals
- Requests reach mobile, watch, Slack, Mattermost, email or webhook.
- One-command onboarding
- agents discover rewrites existing agent configs after backing them up.
- Audit trail
- Logs tool, inputs, rule, decision, approver and spend.
Good for
- Require approval before an agent makes a large payment
- Cap spend per agent or flow
- Watch a session timeline across a fleet
- Collect evidence for compliance reviews
Pricing
Open source
Open source and self-hostable
Prices change. Check preloop.ai before you buy.
Preloop FAQ
Is it self-hostable?
Yes, it is open source and self-hostable.
Does onboarding change agent code?
No SDK or code changes; configs are rewritten with backups.
What do rules look like?
YAML with CEL expressions, ordered by priority.
Is it legal advice?
No, the site states it is evidence, not a certification or legal advice.
Is Preloop free?
Yes. Preloop is open source, so you can use and self-host it for free.
How do I add Preloop to Claude Code?
Run this command in your terminal: claude mcp add --transport http preloop https://preloop.ai/mcp/v1
What are the best alternatives to Preloop?
The closest alternatives to Preloop are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Preloop

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools