Capi icon

Capi

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.

主な機能

  • Ability to target and control specific VSCode sessions
  • Outputs results in a composable format, defaulting to JSON
  • Delegates API discovery, documentation, and evolution to official vscodeAPI
  • 0 GitHub stars
  • CLI for external scripting and automation of VSCode
  • Exposes all VSCode APIs, commands, and session controls

ユースケース

  • Rapid prototyping of VSCode integrations
  • Integrating AI agents and code assistants with VSCode
  • Automating complex VSCode workflows and tasks
Advertisement

Advertisement