1. Conduid
  2. Agents
  3. Casbin Gateway
MCP server · Agents

Casbin Gateway

See what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records.

61Good

Scored 19 hours ago · breakdown

About Casbin Gateway

Casbin Gateway is an MCP server published by apache in the Agents category: see what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records. No package is published for it, so it installs from a source checkout.

The repository has 653 stars and 76 forks, is licensed Apache-2.0, and its last commit was on 25 Nov 2026. The latest release is v1.72.0 (16 Feb 2026): Features fix dockerfile missing package (tzdata) (#160)… It follows v1.71.0 (16 Feb 2026), and the 5 most recent releases go back to v1.68.0 (29 Jan 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include access-control, agent-monitoring, ai-gateway, api-proxy, casbin and codex-cli.

Install

From source
git clone https://github.com/apache/casbin-gateway

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 9.6K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum and 2 more.
  • !No dynamic code executionScanned 613 source files and found 3 calls to eval or shell execution, in agentconfig/link_windows.go:37, agentprocess/launch_windows.go:40 and agentsession/command_windows.go:33. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
46 callsagent/scan_linux.go:230, agentauth/login.go:275, agentauth/login_windows.go:38
Outbound network calls
75 callsagentconfig/archive.go:134, agenthook/decide.go:182, agenthook/decide.go:191
Writes or deletes files
183 callsagent/instance.go:213, agent/instance.go:236, agent/instance.go:240
Lockfile
go.sum and 2 more

Pattern matches on the source text of 613 files: places to read, not proof of what the code does at run time.

Releases

v1.72.0v1.72.0 · 16 Feb 20261.72.0 (2026-02-16) Features fix dockerfile missing package (tzdata) (#160)…
v1.71.0v1.71.0 · 16 Feb 20261.71.0 (2026-02-16) Features Introduce runtime configuration for the frontend via `config.js` to allow dynamic updates without rebuilding the Docker image…
v1.70.0v1.70.0 · 29 Jan 20261.70.0 (2026-01-29) Features fix CORS issue (#157)…
v1.69.0v1.69.0 · 29 Jan 20261.69.0 (2026-01-29) Features add HSTS header to HTTPS responses (#156)…
v1.68.0v1.68.0 · 29 Jan 20261.68.0 (2026-01-29) Features add Secure flag to cookies (#153)…

README

The repository's README runs to about 9.6K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Casbin Gateway

How do I install Casbin Gateway?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Casbin Gateway safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 613 source files found that it starts other programs (46 calls), makes outbound network calls (75 calls) and writes or deletes files (183 calls). Its dependencies are pinned by go.sum and 2 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Casbin Gateway still maintained?

Yes — the last commit was 6 days ago. The repository has 653 stars and 76 forks and 5 open issues.

What license is Casbin Gateway released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v1.72.0, as well.