SuperAPIAI Directory

ctxfw vs Unity

Metrics & specs comparison

ctxfw

ctxfw is a local context firewall and Tree-Sitter AST pruning MCP server for AI coding agents. It strips indirect prompt injection from untrusted MCP tool output before the context enters the LLM, and compresses peripheral dependencies into typed interfaces, thereby reducing token consumption (officially claimed to reduce peripheral context token mass by about 72.4%). The tool runs fully offline, with no cloud proxy, no vector database, and no telemetry, and provides its service via local stdio. Main features include: syntax-aware AST compression (keeping the focus file intact, trimming imported dependencies into typed interface contracts, and generating a compact symbol index), pre-ingestion tool and input sanitization (SARA, mcp_guard, supporting multiple languages and detection of homoglyphs, bidirectional override characters, path traversal, etc.), spec checking and diff gating (SWE-Gate, TraceKit, requiring formal specs to include negative invariants, etc., and recording a local audit chain). It provides a standalone zero-Python executable (v4.2.2) supporting Linux, macOS, and Windows, and can configure Claude Code, Claude Desktop, Cursor, and Windsurf with a single idempotent command. It is suitable for scenarios where AI coding agents read code repositories or call MCP tools, helping to reduce token bloat, prevent prompt injection, and enhance diff reliability. Limitations include: AST skeletonization does not replace LSP's cross-file semantic type resolution; deterministic CPU sanitization may produce false positives; strict diff gating may reject certain types of ignore comments.

Unity

Unity's AI tools are an official AI assistance solution for game development, covering an in-editor intelligent assistant, a command-line tool (CLI), an MCP server, and official plugins for third-party coding agents. The in-editor assistant can understand scenes, drive editor operations, and verify the effects of changes, with support for selecting multiple models; the CLI can install the editor, create and open projects in the terminal, and connect to existing agents through a built-in MCP mode; the official plugins provide Unity project skills and real-time editor control for Claude Code, Codex, Grok, and others. Use requires Unity 6.0 or later, and some features require installing packages. The CLI, MCP server, and official plugins are free with no concurrency limits; the in-editor assistant consumes credits, with access included for Pro, Enterprise, and Industry subscribers, and Personal users can try it for free before converting to a $10 per month subscription.

DimensionctxfwUnity
CategoryAI codingAI coding
Monthly visits—
9.5M
MoM—+11.1%
Global rank—#4,589
Avg. visit—4m 27s
AI referrals—1.4%
Pricing开源项目(可免费自部署)提供免费版 / 付费升级
PlatformsmacOS · LinuxWeb · Linux
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools