# Coral (open-source MCP gateway where agents write and save their own tools)

> Updated 2026-11-16 · type: tool · category: mcp-agents · status: active · rev 1

Coral sits between AI agents and your MCP or API systems, gating each call with Allow/Ask/Block rules and saving agent-written scripts as reusable tools.

- Open source: yes (Apache-2.0)
- Self-hostable: yes
- Pricing: OSS edition free with no limits on users, agents or volume. Coral Enterprise (SAML SSO, SCIM, advanced RBAC, immutable audit log, SLAs) is 'coming soon' under its own license; price not verified.
- Best for: Ops and platform teams letting agents touch CRM, billing or support systems who want per-call approval, server-held credentials and scoped, reusable tools.
- Not for: Solo users with one or two MCP servers and no write-access risk; a shared deployment needs an OIDC identity provider, a TLS proxy and a database.
- Version: 1.8.0
- Last verified: 2026-11-16

- **Canonical:** https://gtmstacker.com/registry/tool/coral/
- **Source:** [Coral – Open-source gateway where agents write their own tools](https://github.com/withcoral/coral) — withcoral
- **Tags:** mcp, mcp-gateway, agent-tools, policy, approvals, v8-isolate, openapi, self-hosted, rust
- **Repository:** https://github.com/withcoral/coral
- **Version:** 1.8.0

## Is Coral (open-source MCP gateway where agents write and save their own tools) open source?

Yes, Coral (open-source MCP gateway where agents write and save their own tools) is open source under the Apache-2.0 license.

## How much does Coral (open-source MCP gateway where agents write and save their own tools) cost?

OSS edition free with no limits on users, agents or volume. Coral Enterprise (SAML SSO, SCIM, advanced RBAC, immutable audit log, SLAs) is 'coming soon' under its own license; price not verified. (freemium).

## Can I self-host Coral (open-source MCP gateway where agents write and save their own tools)?

Yes, Coral (open-source MCP gateway where agents write and save their own tools) can be self-hosted (the source is available under the Apache-2.0 license).


---

**Coral** (`withcoral/coral`) is an **Apache-2.0** MCP gateway written in Rust that sits between AI agents and the systems they call. Instead of handing an agent raw tools and credentials, Coral has the agent write a short TypeScript program. The program runs in a V8 isolate with no network access and no credentials; each call it makes to a provider is checked against an Allow, Ask or Block policy, Coral adds the credentials server-side and forwards the call. Programs that work can be saved as private or shared custom tools, so the next run reuses them. It connects any MCP server or OpenAPI document.

It runs as a desktop app (macOS Apple silicon, Windows x64, Linux x86_64) or as a shared server via Docker Compose or Kubernetes. A shared server needs an OIDC identity provider, a TLS reverse proxy and SQLite or Postgres. A plain `cargo build` at the repo root builds only Apache-2.0 code; the `ee/` directory holds Enterprise Edition code under its own license.

## Provenance

- License **Apache-2.0** (GitHub license API spdx_id; README License section and NOTICE). Open-core: `ee/` is separately licensed.
- Source chain: Show HN post "Coral – Open-source gateway where agents write their own tools" → github.com/withcoral/coral (GitHub organization `withcoral`, homepage withcoral.com; not a fork, not archived; latest commit references the Show HN post).
- Activity (GitHub API, 2026-11-16): **4,937 stars, 223 forks, 157 open issues**; created 2026-04-03; 3 commits on 2026-11-16; releases v1.8.0 (2026-11-13) and v1.7.0 (2026-11-12).
- Vendor claims, not independently verified (claim_type vendor-claim): used at 450+ companies; custom tools cut tokens 37%, cost 31% and time 29% across 34 tasks; beats other MCP gateways on a 100-task benchmark; ISO/IEC 27001:2022 certified.
- Curated and verified in run `2026-11-16-registry-update-01` (step-3 verification, 2026-11-16); published the same day.

## Why it matters for a GTM stack

Once agents can write to the CRM or billing system, the real question is which calls they may make alone. Coral turns that into a policy: a field update can be Allow, a refund can be Ask, a delete can be Block, and the credentials never reach the agent. A working script such as "update one field on one deal" becomes a reusable tool rather than a fresh improvisation each run. Start with read-only Allow rules and put every write behind Ask.
