MCP.Market

Trentina MCP server

by crunchtools·io.github.crunchtools/trentina·v0.5.0·12 stars

Secure MCP gateway and quarantine for AI agent traffic — three-layer prompt injection defense

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

full report

Adoption
Growing

12 stars1.1k downloads/wk

Reviews

Write one

Nobody has reviewed Trentina yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Trentina tools (13)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • deep_quarantine_scan_tool

    Deep security scan: Q-Agent analyzes raw unsanitized content.

  • deep_scan_content_tool

    Deep security scan on inline content. L2/L3 analyze raw unsanitized content.

  • quarantine_content_tool

    Sanitize inline content + Q-Agent extraction. Warns but proceeds on injection.

  • quarantine_fetch_tool

    Fetch URL with full quarantine: Layer 1 sanitization + Layer 2 Q-Agent extraction.

  • quarantine_read_tool

    Read local file with full quarantine: Layer 1 + Layer 2 Q-Agent extraction.

  • quarantine_scan_tool

    Pre-flight security scan: detect injection vectors WITHOUT returning content.

  • quarantine_search_tool

    Search the web with full quarantine pipeline.

  • quarantine_stats_tool

    Get trentina configuration, Q-Agent status, and blocklist summary.

  • safe_content_tool

    Sanitize inline content with all three layers. Fails if injection detected.

  • safe_fetch_tool

    Fetch URL with Layer 1 sanitization. Fails if injection detected.

  • safe_read_tool

    Read local file with Layer 1 sanitization. Fails if injection detected.

  • safe_search_tool

    Search the web safely. Returns sanitized text + source URLs.

  • scan_content_tool

    Three-layer security scan on inline content. Returns threat assessment only.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan48 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 91/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Trentina compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 88% of 4,460 AI and agents servers
Tools
13
the typical AI and agents server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
12
more than 85% of 2,711 AI and agents servers
Downloads a week
1,137
more than 94% of 1,538 AI and agents servers with a package

What its tools let an agent do: 13 read

Install Trentina in Claude Code, Cursor or VS Code

claude mcp add trentina -- uvx mcp-trentina-crunchtools
Add to Cursor

What the publisher says

From the Trentina repository's README, as published. We do not edit it. Read it on GitHub

Trentina

<!-- mcp-name: io.github.crunchtools/trentina -->

Trentina is a secure MCP gateway that inspects everything between your AI agents and the outside world — web content, MCP tool responses and tool definitions, Matrix messages, LLM completions, and monitoring alerts — through a three-layer defense pipeline at every ingress, with per-profile enforcement (flag or block) and a full audit trail. Content is never silently modified: what your agent reads is what actually arrived, plus Trentina's verdict. (E2EE Matrix rooms are ciphertext at the gateway and outside what any proxy can defend.) Named after the 1377 quarantine system from Ragusa, where incoming ships had to anchor offshore for thirty days before anyone was allowed into the city. Same idea: keep the commerce flowing without letting something dangerous through.

Capabilities

MCP Gateway

Single chokepoint between your agents and all their MCP backends. One endpoint, one bearer token, one audit log — instead of each agent connecting directly to dozens of MCP servers. Backend tools are namespaced automatically (slackslacksearchmessages, githublistissuestool) so there are no collisions.

Authentication

Four ways a client can prove who it is, chosen per profile: a static bearer token, an OAuth identity Trentina issues while proxying login to Google (with dynamic client registration or a provisioned confidential client), or a token minted by an external identity provider that Trentina only verifies — for connectors that will not authenticate against a third-party authorization server.

Per-Agent Profiles

Each consumer — Claude Code, Hermes, OpenClaw, or any MCP client — gets its own profile with independent tool access, defense settings, and authentication. Your human-supervised agent can have full tool access while your autonomous agent gets a locked-down subset, all through the same gateway.

Operator Profile

Trentina is built to be run by an agent. One profile, role: operator, is the Operator agent's seat. It installs and configures the gateway, reloads it, and administers it through Trentina's own admin tools. It is also the gateway's service identity: compression and perimeter judgement of shared tool descriptions run on the operator's model and bill the operator's key. They never run on whichever tenant happens to sort first.

Tool Allowlists & Denylists

Control which tools each agent can even see. Tools not in the allowlist are stripped from tools/list responses before they reach the consumer — they never enter the agent's context window. Supports exact names and glob patterns (delete, gmail_*). Reduces both context cost and attack surface.

Parameter Guards

Per-tool argument validation at the gateway level. Restrict what values an agent can pass, not just which tools it can call. Example: "this agent can send email, but only to user@example.com." The call is rejected before it reaches the backend — no tokens spent, no side effects. Deterministic enforcement that doesn't depend on LLM behavior.

Response Guards

The egress half of parameter guards: the same allow/deny constraint applied to what a backend returns, before the result is reduced, scanned or relayed. Argument-side matching cannot cover a semantic tool — an agent asking a memory server for "my employer's roadmap" sends nothing matchable, and the restricted material arrives in the response. Deny-oriented, blocks the whole response rather than scrubbing it, and audited as policy rather than failure.

Three-Layer Defense Pipeline

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Trentina: common questions

Is Trentina MCP server safe?
Yes, by our scan: it is graded A (91/100). Read the Trentina safety report
How do I install Trentina?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Trentina need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Trentina maintained?
The last commit was 39 days ago (2026-09-26). The latest release is v0.5.0.
What can I use instead of Trentina?
Servers from other publishers that do the same job: Agent Security Scanner MCP server, agent-device MCP server and Agent-Native Analytics MCP server.
How does Trentina compare with other AI and agents MCP servers?
safety score 91/100 (higher than 88% of 4,460 AI and agents servers); tools 13 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Trentina

Same job from other publishers: the closest match first, then the best rated.

  • Agent Security Scanner
    Security layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.
    C
  • agent-device
    Open source device layer for AI agents: control mobile, web, TV, and desktop apps over MCP
    A
  • Agent-Native Analytics
    Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
    A
  • Image
    AI image generation and editing with prompt optimization and quality presets
    B
  • Godot MCP
    Agent-driven Godot playtesting: editor control, input injection, game-time stepping, live state.
    A

More from crunchtools →