Trentina MCP Server

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…

People who work with Gemini and Trentina and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-29 · ★ 12 · #23 OF 97 MAINTAINED WEB SCRAPING · VERIFIED 2026-09-30

AGPL-3.0 · Python servers · how we verify → /methodology

01 · Install Trentina

before you install - you'll need

Set GEMINI_API_KEY, TRENTINA_GATEWAY_ENABLED, TRENTINA_PROFILES_PATH, TRENTINA_PROFILE_MYAGENT_TOKEN before connecting.

Claude Code

claude mcp add crunchtools-mcp-trentina -- uvx mcp-trentina-crunchtools

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "crunchtools-mcp-trentina": {
      "command": "uvx",
      "args": [
        "mcp-trentina-crunchtools"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license AGPL-3.0 - declared in the repository

pypi package mcp-trentina-crunchtools - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.crunchtools is GitHub-verified and matches the repo owner

03 · What Trentina can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.48.0 · 2026-09-29

The rest of the #90 audit: cross-agent channels (blocklist, cache_flush, · the Matrix bridge), forged trust markers, call destinations in the audit, · resource caps, and backend credentials in the journal. · set…

v0.47.0 · 2026-09-29

Hardening from the #90 audit, which uses the OpenAI–Hugging Face incident as its threat model. · Security · fetch and grounding-redirect resolution could reach the gateway's own · network (#260): returned the…

v0.43.1 · 2026-09-27

Fixed · An L3 reply that is not valid JSON is asked for once more, of the same · provider, before L3 is reported unavailable. Under 0.43.0's Matrix · withholding an unjudged /sync costs the agent that sync's events for…

04 · Who maintains Trentina

Trentina is maintained by crunchtools. We track 12 MCP servers from crunchtools - 12 actively maintained, 18 combined GitHub stars, oldest repo from Feb 2026.

05 · Facts

category
web scraping - ranked #23 of 97 actively-maintained web scraping servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-29)
registry
io.github.crunchtools/trentina (active, first published 2026-06-23)
packages
pypi:mcp-trentina-crunchtools

06 · Trentina FAQ

What is 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…

Is Trentina still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-29 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Trentina?

Run `uvx mcp-trentina-crunchtools`. The README documents 4 environment variables (GEMINI_API_KEY, TRENTINA_GATEWAY_ENABLED, TRENTINA_PROFILES_PATH…) to set first. Set GEMINI_API_KEY, TRENTINA_GATEWAY_ENABLED, TRENTINA_PROFILES_PATH, TRENTINA_PROFILE_MYAGENT_TOKEN before connecting. You can also paste the ready-made client config above.

Does Trentina run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Trentina