Exposes the full VSCode API and commands for external scripting and automation, enabling external control over VSCode sessions.
Capi, short for Code-API, is a powerful VSCode extension and CLI designed as a minimal, scriptable kernel for VSCode automation. It exposes all VSCode APIs, commands, and session controls as raw, composable primitives, without enforcing any specific workflows or abstractions. This allows developers, agents, and other tools to take full control of VSCode instances for tasks like rapid prototyping, agent integration, and creative automation. Capi also serves as the foundation for the Model Context Protocol (MCP) server and tools, leveraging the official vscodeAPI maintained by Microsoft, aiming to supercharge AI assistants and enable them to interact deeply with VSCode at runtime.