AI Gateway — Compiled Rust security enforcement - linux - android - persistent memory - mcp server with mcp tools including api web fetch Free and Open Source.
{
"mcpServers": {
"spfsmartgate": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
AI Gateway — Compiled Rust security enforcement - linux - android - persistent memory - mcp server with mcp tools including api web fetch Free and Open Source.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 1 days ago. 11 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
AI Security Gateway — Compiled Rust enforcement between AI agents and your system.
Open Source under MIT License
Certain core inventions (StoneCell Processing Formula, FLINT Memory Router, dynamic LMDB sizing, etc.) are protected by pending or future patents.
See PATENTS.md for details.
Commercial use of patented features may require a separate license agreement.
SPFsmartGATE is a compiled Rust security gateway that sits between AI agents and your system. Every tool call from any AI agent must pass through the gate before touching the filesystem, running commands, or accessing the web.
It enforces the StoneCell Processing Formula (SPF) for AI self-governance — a mathematical complexity model that calculates risk, allocates resources, and gates operations in real time.
The gate is compiled into a native binary. There is no runtime configuration bypass. The rules are in the code.
| WHY_SPF.md | Feature highlights and value proposition |
Every tool call passes through a 5-stage pipeline:
C = basic^1 + deps^7 + complex^10 + files * 10
a_optimal(C) = W_eff * (1 - 1 / ln(C + e))
The formula produces a complexity score that determines:
AI agents must read a file before they can edit or overwrite it. This prevents blind modifications and forces the agent to understand existing code before changing it.
Unknown tools are blocked until explicitly added to the gate allowlist. 55 tools are exposed and allowed through the gate. 8 filesystem tools are hard-blocked at the gate level (registered but denied). Everything else is denied.
Full IPv4 and IPv6 validation on all web requests. Blocks loopback, private networks, link-local, cloud metadata endpoints, and IPv4-mapped IPv6 addresses.
Scans all write operations for:
SPFsmartGATE uses a 6-database LMDB architecture:
| Database | Size | Purpose |
|---|---|---|
| SESSION | 50 MB | Runtime session persistence |
| CONFIG | 10 MB | Configuration and path rules |
| PROJECTS | 20 MB | Project registry |
| TMP_DB | 50 MB | Metadata tracking and trust |
| AGENT_STATE | 100 MB | Agent memory and sessions |
| SPF_FS | 4 GB | Virtual filesystem (system-only) |
The MCP (Model Context Protocol) server communicates via stdio JSON-RPC 2.0, making it compatible with any MCP client.
src/
├── main.rs — CLI entry point, subcommand dispatch
├── lib.rs — Library root, module declarations, shared types
├── mcp.rs — MCP JSON-RPC 2.0 server, 63 tool handlers
├── gate.rs — 5-stage enforcement pipeline, tool allowlist
├── calculate.rs — SPF complexity formula, tier assignment
├── valida
... [View full README on GitHub](https://github.com/STONE-CELL-SPF-JOSEPH-STONE/SPFsmartGATE#readme)
No automated test available for this server. Check the GitHub README for setup instructions.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationNo known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
MCP Security Weekly
Get CVE alerts and security updates for SPFsmartGATE and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.