Yagami AI Context Firewall MCP server
io.github.MatthewTracy/yagami·v0.8.6·1 starsOpen-source AI context firewall for governed model, retrieval, memory, and tool access.
not scanned yet
1 stars
Reviews
Write oneNobody has reviewed Yagami AI Context Firewall yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Yagami AI Context Firewall tools
No tool declarations could be read from the package source. They show once the server is installed.
How Yagami AI Context Firewall compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 73% of 4,460 AI and agents servers
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
Release history: 5 versions in the registry since 2026-07-28, latest 2026-11-03, typically one every 23 days.
Install Yagami AI Context Firewall in Claude Code, Cursor or VS Code
claude mcp add yagami -- uvx yagami
What the publisher says
From the Yagami AI Context Firewall repository's README, as published. We do not edit it. Read it on GitHub
Yagami
<!-- mcp-name: io.github.MatthewTracy/yagami -->
Open-source AI context firewall for governed model, retrieval, memory, and tool access.
Documentation | Gateway API | Deployment | Security | Roadmap
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-remoteOpen 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-q4KM before starting the demo.
https://github.com/user-attachments/assets/a7be9449-eafc-4acb-99b6-ea39edc43cd2
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 serveInstall 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
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Yagami AI Context Firewall: common questions
- Is Yagami AI Context Firewall MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Yagami AI Context Firewall safety report
- How do I install Yagami AI Context Firewall?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Yagami AI Context Firewall need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is Yagami AI Context Firewall maintained?
- The last commit was 43 days ago (2026-09-22). The latest release is v0.8.6.
- What can I use instead of Yagami AI Context Firewall?
- Servers from other publishers that do the same job: Serena MCP: the IDE for your agent MCP server, Basic Memory MCP server and IWE (iwe.md) MCP server.
- How does Yagami AI Context Firewall compare with other AI and agents MCP servers?
- safety score 85/100 (higher than 73% of 4,460 AI and agents servers); github stars 1 (more than 50% of 2,711 AI and agents servers). Full comparison.
Alternatives to Yagami AI Context Firewall
Same job from other publishers: the closest match first, then the best rated.
- Serena MCP: the IDE for your agentA powerful toolkit for coding, providing semantic retrieval and editing capabilities.not reviewedWidely usedC
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- IWE (iwe.md)Markdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- MemantoMCP server for Memanto - persistent semantic memory for any MCP-compatible agentnot reviewedEstablishedA
- Mnemoverse MemoryHosted agent memory that learns from outcomes, with shared rooms. No key: mcp.mnemoverse.com/mcpnot reviewedEstablishedA