cd /news/ai-agents/show-hn-fentaris-an-open-source-prox… · home topics ai-agents article
[ARTICLE · art-134545] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Fentaris, an open-source proxy for managing multiple MCP servers

Fentaris launched as an open-source proxy and control plane for managing multiple Model Context Protocol (MCP) servers behind a single stable endpoint, unifying stdio, Streamable HTTP, SSE, and HTTP upstream MCP servers. The project ships three packages — @fentaris/core, @fentaris/cli, and @fentaris/approval-telegram — and supports API keys, bearer tokens, custom headers, and OAuth 2.1 for authenticating clients and upstream servers, with the CLI generating a proxy that listens on http://localhost:4000/mcp by default. Fentaris targets teams that want MCP servers to behave like production infrastructure, with namespaced tool names, policy-based access control, manual approval for risky actions, and structured logging of every proxied operation.

read3 min views1 publishedSep 19, 2026
Show HN: Fentaris, an open-source proxy for managing multiple MCP servers
Image: Michielbdejong (auto-discovered)

Table of contents #

Fentaris is a control plane for your MCP servers — one place to run, route, and manage every MCP server behind a single, stable endpoint.

  • Unify stdio, Streamable HTTP, SSE, and HTTP upstream MCP servers behind one proxy.
  • Manage which servers and tools are exposed, to whom, and how they behave — without touching client configs.
  • Observe every proxied operation with structured logging, lifecycle events, and per-request context.
  • Protect tool calls, resources, prompts, and completions with policy, identity, middleware, hooks, and rate limits.
  • Authenticate clients and upstream MCP servers with API keys, bearer tokens, custom headers, and OAuth 2.1.

Fentaris is designed for teams that want MCP servers to behave like production infrastructure: stable names, centralized management, auditable calls, and predictable client-facing endpoints.

Visit our docs or jump to a quickstart

Using Claude Code, Codex, Cursor or other AI coding agents?

For a complete runnable project with API-key users, groups, allow-list policy, a remote MCP upstream, and app-owned local tools, see examples/team-governed-proxy.

Use the CLI to start a new Fentaris proxy project:

npm install -g @fentaris/cli
fentaris init my-proxy
cd my-proxy
fentaris dev

The generated proxy listens on http://localhost:4000/mcp by default. Point your MCP client to that endpoint.

Under the hood, a Fentaris proxy is just a few lines of code:

import {
  approval,
  fentaris,
  oauth,
  policy,
  stdio,
  streamableHttp,
  user,
} from "@fentaris/core";

const app = fentaris();

app.mcp("filesystem", {
  transport: stdio({
    command: "npx",
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
  }),
});

await app.start();

Upstream tool names stay stable and namespaced by server, no matter how many servers you add. A filesystem tool is exposed to clients with a proxy name such as:

filesystem__list_directory

Add another server behind the same endpoint:

app.mcp("github", {
  transport: stdio({ command: "npx", args: ["-y", "@modelcontextprotocol/server-github"] }),
});

Restrict who can call what:

app.policy("read-only")
  .mcp("filesystem")
  .allow("list_directory");

app.group("operators")
  .users(user("alice", { email: "alice@example.com" }))
  .policy("read-only");

Require approval before a risky action runs:

const deploy = policy("deploy")
  .mcp("github")
  .allow("deploy_production", approval.manual({
    reason: "Production deploy requires approval",
  }));

Observe every tool call:

app.on("tool:success", ({ ctx, durationMs }) => {
  ctx.log.info("tool.success", { tool: ctx.tool?.name, durationMs });
});

Runtime routes can deny, approve, hide, log, or transform calls to any tool, resource, prompt, or completion.

Authenticate clients with an API key, and let Fentaris handle OAuth 2.1 for upstream servers automatically:

fentaris auth api-key add alice --generate
app.mcp("linear", {
  transport: streamableHttp({ url: "https://mcp.linear.app/mcp" }),
  auth: oauth(),
});

Credential values are never exposed to middleware, hooks, logs, or policy callbacks.

Package Description
@fentaris/core Proxy runtime, MCP server wrapper, transports, policy, auth, logging, and middleware APIs.
@fentaris/cli Project generator and local development commands.
@fentaris/approval-telegram Telegram approval adapter for Fentaris policies.

Run the project for development:

fentaris dev

From a clean clone, install the locked dependency graph and run the same validation used by CI:

pnpm install --frozen-lockfile
pnpm verify

pnpm verify runs lint, typecheck, build, and every package test in that order.

Before promoting a release, verify the exact npm tarballs in clean projects:

pnpm verify:release

This packs Core, CLI, Edge, and Telegram approval, validates their manifests and entrypoints, installs them in an empty project, generates and builds a real CLI project, and exercises upgrade, downgrade, reinstall, and re-upgrade from the previous published package set. It requires access to the npm registry.

Generate docs reference:

pnpm docs:generate

MIT, as declared by the published Fentaris packages.

── more in #ai-agents 4 stories · sorted by recency
── more on @fentaris 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-fentaris-an-…] indexed:0 read:3min 2026-09-19 ·