Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Secure MCP gateway and quarantine for AI agent traffic — three-layer prompt injection defense
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"trentina": {
"command": "uvx",
"args": [
"mcp-trentina-crunchtools"
]
}
}
}ターミナルでこれを実行します
claude mcp add trentina -- uvx mcp-trentina-crunchtoolsプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"trentina": {
"command": "uvx",
"args": [
"mcp-trentina-crunchtools"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"trentina": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-trentina-crunchtools"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント crunchtools で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.5.0)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Trentina sits between your AI agents and everything they touch: MCP servers, the web, Matrix, LLM providers and alerts. It stops prompt injection at every ingress — or at a trusted boundary you declare — shrinks what reaches the context window, and enforces a policy the agent cannot talk its way past. It is named after the 1377 *trentino* of Ragusa, where ships anchored offshore for thirty days before anyone came ashore: commerce keeps flowing, and nothing dangerous gets in.
# The container image is the distribution: the L2 model, the parsers and
podman run -d -p 127.0.0.1:8019:8019 \ -v ./profiles.yaml:/config/profiles.yaml:ro,Z \ -e TRENTINA_GATEWAY_ENABLED=true \ -e TRENTINA_PROFILES_PATH=/config/profiles.yaml \ -e TRENTINA_PROFILE_MYAGENT_TOKEN=your-token \ -e OPENROUTER_API_KEY=your-key -e TRENTINA_MODEL_PROVIDER=openrouter \ quay.io/crunchtools/trentina \ --transport streamable-http --host 0.0.0.0 --port 8019
L3 needs a key for one LLM provider. Any of Gemini, OpenRouter, OpenAI, Anthropic or Ollama works. A minimal profiles.yaml:
profiles:
myagent: auth: bearer_token_env: TRENTINA_PROFILE_MYAGENT_TOKEN backends: web: url: "internal://web" # Trentina's own content tools tools_allow: ["*"] gmail: url: "http://gws-personal:8000/mcp" tools_allow: # it may read and draft; you send
Then point Claude Code at it:
{
"mcpServers": { "trentina": { "type": "streamable-http", "url": "http://localhost:8019/gateway/myagent/mcp", "headers": { "Authorization": "Bearer your-token" } } } }
| Document | Description |
|---|---|
| MCP Gateway | One endpoint per profile: routing, tool names, circuit breakers |
| Per-Agent Profiles | Profile schema, modes, minifying, roles, multi-agent setup |
| Operator Profile | The agent that installs and runs the gateway |
| Configuration | Every environment variable |
| Authentication | Static bearer, OAuth proxy with DCR or a provisioned client, delegated issuers |
| Backend OAuth | Each profile signs in to OAuth-only backends with its own grant |
| Defense Pipeline | L1/L2/L3, modes, coverage and known gaps |
| Benchmark | Detection rates per layer and per L3 provider |
| Corpora | Every attack and benign set the defense is measured on |
| Prompt Packs | The judge's prompts tuned per model |
| Content Tools | fetch, read, dir, content, search, with an egress guard and file confinement |
| Blocklist | A refused source stays refused |
| Tool Filtering | Allowlists, denylists, glob patterns |
| Tool Pinning | A new or changed tool is held until approved |
| Tool Discovery | Find/call or per-session loading for clients without tool search |
| Description Compression | Description compression and schema compaction |
| Token Routing | Response minifying (implemented); delegation (proposed) |
| Semantic Request Guards | A judge reads calls to listed tools against a policy in plain English |
| Semantic Response Guards | A judge reads listed tools' responses against a policy before delivery |
| Literal Request Guards | Per-tool argument validation |
| Literal Response Guards | Per-tool result validation |
| Audit Log | Call recording, stats, monitoring |
| LLM Key Proxying | Provider keys kept inside the gateway |
| Matrix Bridge | E2EE termination and two-way judging |
| Channel Bridges | More than one upstream per agent (RCS, ...) and the bridge wire contract |
| Matrix Reverse Proxy | Matrix for agents on an isolated network |
| Client Egress | A CONNECT tunnel to listed hosts for the agent's own client |
| Git Transport | Clone, fetch and push to listed repositories and branches |
| Stdio Backends | Front a stdio-only MCP server the host runs behind a socket |
| Stability tiers | Which features may change shape in a minor release, and how you are told |
| Approvals | The six grants an operator proposes and a person agrees to |
| Federation | Share a profile with a second gateway: its tools mounted over a trusted link, scanned once |
| HTTP(S) Egress | An agent's outbound request judged and re-originated to a named destination |
| Deployment Hardening | Container flags, secrets, egress, the startup check |
| Proxies | Every perimeter route as config under proxies:, the forward type, and route plugins |
| Plugins | Write, test, install and name your own transform plugins |
| Cockpit Plugin | Live defense pipeline dashboard |
| Internal: Gateway Design | Original design document, for contributors |
pre-commit install # wires the commit and push checks
CONTRIBUTING.md is the page for a person: the three commands, what each costs, and what an exit code means. The host needs only git, podman, pre-commit and gh — every check runs from python-sdlc, the same image CI runs. The demo is recorded by demo.yml; its fixtures are in docs/demo/.
AGPL-3.0-or-later