プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Yagami AI Context Firewall

作者:MatthewTracyバージョン 0.8.6i★ –iパソコンで動く
レジストリ名io.github.MatthewTracy/yagami

インストール

概要

作者による説明(英語の原文)

Open-source AI context firewall for governed model, retrieval, memory, and tool access.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: Streamable HTTP
  • カテゴリ: 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: YAGAMI_HEADLESS, YAGAMI_MCP_SERVER_ENABLED, YAGAMI_REQUIRE_AUTH

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "yagami": {
      "command": "uvx",
      "args": [
        "yagami",
        "serve",
        "--host",
        "127.0.0.1",
        "--port",
        "8000"
      ],
      "env": {
        "YAGAMI_HEADLESS": "your-value",
        "YAGAMI_MCP_SERVER_ENABLED": "your-value",
        "YAGAMI_REQUIRE_AUTH": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add yagami --env YAGAMI_HEADLESS=your-value --env YAGAMI_MCP_SERVER_ENABLED=your-value --env YAGAMI_REQUIRE_AUTH=your-value -- uvx yagami serve --host 127.0.0.1 --port 8000

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "yagami": {
      "command": "uvx",
      "args": [
        "yagami",
        "serve",
        "--host",
        "127.0.0.1",
        "--port",
        "8000"
      ],
      "env": {
        "YAGAMI_HEADLESS": "your-value",
        "YAGAMI_MCP_SERVER_ENABLED": "your-value",
        "YAGAMI_REQUIRE_AUTH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "yagami": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yagami",
        "serve",
        "--host",
        "127.0.0.1",
        "--port",
        "8000"
      ],
      "env": {
        "YAGAMI_HEADLESS": "your-value",
        "YAGAMI_MCP_SERVER_ENABLED": "your-value",
        "YAGAMI_REQUIRE_AUTH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • YAGAMI_HEADLESS env
  • YAGAMI_MCP_SERVER_ENABLED env
  • YAGAMI_REQUIRE_AUTH env

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント MatthewTracy で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの7258件のうち0%よりスターが多い
  • このカテゴリのほかの7258件のうち90%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの7258件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Yagami AI Context Firewallは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.8.6)がレジストリに届いたのは4 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT今日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT20 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT先月更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Yagami

An AI router that chooses models and protects privacy.

Yagami automatically routes requests to local or cloud models based on the task and your privacy policy. Detected sensitive information, including PHI, stays local under the default policy. Local models can reduce cloud API costs; more demanding work and image generation can use cloud providers when allowed.

Documentation | Gateway API | Deployment | Security | Roadmap

Watch Yagami in action

Watch the 59-second demo: local answers, a fictional patient case kept on the machine, and cloud image generation. The recording uses real models, synthetic patient information, and configured providers with yagami serve. The no-credential demo below keeps cloud routing disabled.

Try it in 60 seconds

The no-credential demo uses your configured Ollama model when it is installed; otherwise it opens a clearly labeled policy-only fallback. Choose one command:

uvx yagami demo

or: python -m pip install yagami && yagami demo

or: docker run --rm -p 127.0.0.1:8000:8000 ghcr.io/matthewtracy/yagami:latest yagami demo --host 0.0.0.0 --allow-remote

Open http://127.0.0.1:8000, or use docker compose -f compose.demo.yaml up from a clone. Demo mode blocks cloud routing while exercising the UI, policy, lineage, storage, and audit path. For local AI answers, install Ollama and run ollama pull llama3.2:3b-instruct-q4_K_M before starting the demo.

Yagami is for developers and platform/security teams that need to control where agent context goes and which tools it may execute. For example: a coding agent can keep repository secrets on-device and require an identity-bound, one-time approval before a dangerous tool call.

Yagami sits between software and local models, cloud LLMs, retrieval systems, memory, and tools. Existing OpenAI SDK applications can adopt it by changing one base_url; Yagami then classifies context locally, applies versioned policy, and records content-free evidence for each decision.

Take the no-data security tour or run the flagship security demos for secret containment, poisoned retrieval, and identity-bound tool approval.

Protect an application

Initialize persistent user configuration, check the host, and start Yagami:

yagami init

yagami doctor yagami serve

Install yagami[providers] when the Yagami process or the example client uses Anthropic/OpenAI-compatible SDKs. PDF ingestion and OS key storage are separate ingest and desktop extras; see configuration.

Then point an OpenAI client at the gateway:

from openai import OpenAI

client = OpenAI( base_url="http://127.0.0.1:8000/v1", api_key="your-yagami-project-key", )

response = client.chat.completions.create( model="yagami-auto", messages=[{"role": "user", "content": "Summarize this document."}], metadata={ "purpose": "internal-documentation", "sensitivity": "none", "session_id": "example-session", }, ) print(response.choices[0].message.content)

Supported caller sensitivity values are none, phi, phi_medical, and secret. A caller hint can make the policy stricter; it cannot lower a sensitivity detected by Yagami.

For production authentication, policy, and deployment settings, follow the deployment guide.

Why teams use Yagami

  • Deterministic containment after classification. Once context is labeled as PHI or secret, default policy permits local backends only. Sensitive history and tool results inherit the same restriction.
  • One governed data plane. Chat Completions, Responses, the browser chat, and MCP use the same policy, lineage, transformation, output-DLP, budget, and audit pipeline.
  • Policy as code. Preview and replay decisions, run regression cases in CI, and promote deterministic Ed25519-signed policy bundles.
  • Evidence without prompt logging. Policy passports, hash-chained audit records, Prometheus metrics, and OpenTelemetry spans carry labels, hashes, IDs, and counts rather than prompt or completion content.
  • Model choice without policy duplication. Route to local engines, direct cloud providers, or an existing OpenAI-compatible gateway behind one enforcement point.
  • Governed tools. Evaluate function tools and MCP calls before execution, require short-lived one-time approvals, and keep inbound credentials from being forwarded to downstream servers.

Core capabilities

AreaIncluded
Compatible APIsOpenAI Chat Completions, core Responses API, Streamable HTTP MCP
IdentityScoped project API keys and OIDC/JWT workload identity
PolicyVersioned YAML/JSON rules, restrictive merging, preview, replay, shadow mode, regression tests, signed bundles
PrivacyLocal classification, caller sensitivity, context lineage, AES-GCM tokenization, rehydration, output DLP, optional Presidio
ToolsFunction calling, governed built-in skills, stdio and remote MCP, one-time approvals
OperationsSpend/rate/concurrency/context limits, health checks, Prometheus, OpenTelemetry, SIEM export, approval webhooks
PackagingPython 3.11-3.14, PyPI, non-root container, Docker Compose, Helm, SBOMs, checksums, and build provenance

Models and integrations

Local generation works with Ollama, llama.cpp through the optional llama-cpp-python runtime, and Microsoft Foundry Local through its loopback OpenAI-compatible service. Direct cloud adapters cover Anthropic, OpenAI, Mistral, Groq, OpenRouter, Google Gemini, and Stability AI image generation.

Yagami also works with LangChain/LangGraph, the Vercel AI SDK, Microsoft Presidio, Splunk HEC and generic SIEM webhooks, Slack and Teams approval notifications, and upstream gateways such as LiteLLM, Portkey, Kong, or Envoy. See the integration recipes.

How it compares

Yagami is not trying to replace every gateway, validator, or security scanner. Its focus is deterministic post-classification containment, governed tool execution, and content-free decision evidence. See the honest comparison guide for when LiteLLM, Guardrails AI, NeMo Guardrails, Presidio, LlamaFirewall, or a direct provider SDK is the better choice—and how to combine them with Yagami.

How enforcement works

flowchart LR

A["Application or agent"] --> B["Authentication and project limits"] B --> C["Local classification and context lineage"] C --> D["Versioned policy"] D --> E{"Allowed destination or capability"} E --> F["Local or approved model"] E --> G["Retrieval, memory, or tool"] F --> H["Output inspection"] G --> H H --> I["Response"] D --> J["Content-free policy passport and audit chain"] H --> J

Policy is the final authority. Slash commands and explicit backend selection cannot override a sensitive-data restriction. Classifier failures fail local by default, and cloud routes can be blocked entirely or stopped at a daily spend cap.

Important limitations

Yagami is an enforcement component, not a compliance certification. Automated detection can miss sensitive data. Strict deployments should declare sensitivity at the caller, use a local-only policy, test organization-specific cases, encrypt storage at the host or volume layer, and review the threat model.

The project is alpha. Validate policy and failure behavior against your own requirements before production use.

Documentation

Contributing

Focused issues and pull requests are welcome. Read CONTRIBUTING.md, the security policy, and the code of conduct.

License

MIT - Copyright (c) 2026 Matthew Tracy and Yagami contributors.

PopNxに聞く