Show HN: Port of Context – Token efficient MCP context layer
Category: ai-ml
Tags: mcp, ai-agents, code-execution, rust, llm-tools, sandbox
Score: 6.5/10 (Innovation: 7, Technical: 7, Documentation: 6, Utility: 6)
Port of Context (pctx) is an open-source Rust-based proxy that sits between AI agents and MCP servers, aggregating upstream tool connections and exposing them via a token-efficient 'Code Mode' interface where agents write and execute TypeScript in a sandbox instead of making sequential tool calls. It combines MCP aggregation with persistent sessions, secure auth injection, and a Deno-isolated execution sandbox, addressing a real context-window cost problem in agentic workflows.
Target audience: AI/agent developers, backend engineers building LLM tool integrations
Repository: https://portofcontext.com · Rust · MIT · 286 stars
View on Hacker News