Building an Agent-Native Open-Source Stack from Scratch: Web Platform, Zero-Dep CLI, Code-Mode MCP & Edge API The KRONVEX project released an agent-native open-source stack under Apache-2.0, combining a web platform, a zero-dependency Node.js CLI, a Code Mode MCP server, and a Cloudflare Workers edge API. The kronvex-mcp server collapses tool discovery and querying into two read-only tools at roughly 650 tokens, which the team says is a 98.4% reduction from the 30,000–42,000+ input tokens typical MCP servers consume per turn. The CLI ships 33 capabilities with a ~55ms cold start, and the edge gateway serves 17 public /v1/* endpoints at 4–5ms execution time. Most developer platforms treat the website, CLI, REST API, and AI agent layer as four separate afterthoughts. When we built KRONVEX https://kronvex.org , we designed all four surfaces together as one cohesive, zero-dependency open-source stack under Apache-2.0 . Here is how the four pieces fit together and how you can test every surface live in seconds without creating an account or API key. Our public web platform serves as the visual hub, interactive documentation, and live playgrounds for the CLI, REST API, and MCP server, alongside machine-readable discovery endpoints /robots.txt , /sitemap.xml , and /.well-known/mcp.json . kronvex-cli Pure Node.js =18 , 0 npm dependencies , and ~55ms cold start . It ships 33 capabilities — including a regex secret-leak scanner with CI exit codes scan , a live HTTP security + SEO/GEO auditor audit , SHA-256 verification, and local Ollama hardware benchmarking. Every command supports both an interactive 24-bit TrueColor terminal UI for humans and deterministic --json / stream-json output for CI pipelines and AI agents: macOS / Linux curl -fsSL https://kronvex.org/cli/install.sh | sh Windows PowerShell irm https://kronvex.org/cli/install.ps1 | iex Or run straight from source git clone https://github.com/KRONVEX/kronvex-cli.git cd kronvex-cli && node bin/kronvex.mjs doctor kronvex-mcp Standard MCP servers often expose 50–400 individual JSON tool schemas, burning 30,000–42,000+ input tokens on every turn. kronvex-mcp uses Code Mode to collapse discovery and querying into 2 read-only tools ~650 tokens — a 98.4% reduction , while keeping a --mode classic escape hatch and local zero-dependency stdio support. Test the live stateless HTTP endpoint directly with curl : curl -sS -X POST "https://mcp.kronvex.org/mcp" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Or connect it in one command: claude mcp add --transport http kronvex https://mcp.kronvex.org/mcp kronvex-api A single zero-dependency Cloudflare Workers gateway powers both api.kronvex.org and mcp.kronvex.org at 4–5ms edge execution time , exposing 17 public /v1/ endpoints backed by formal OpenAPI 3.1.0 and Postman v2.1 contracts. curl -sS https://api.kronvex.org/v1/health All four repositories are open source under Apache-2.0 on github.com/KRONVEX https://github.com/KRONVEX . In our next post, we will walk through our agent skills architecture and production starter templates. If you test any of the endpoints or CLI commands, let me know what breaks or what you would improve