ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
This directory contains a Model Context Protocol (MCP) server that provides VS Code automation capabilities for Code - OSS development and testing. The MCP server exposes Code - OSS's testing infrastructure through a standardized interface, allowing AI assistants and other tools to interact with VS Code programmatically.
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools. This MCP server specifically provides VS Code automation capabilities, making it possible for AI assistants to:
Firstly, make sure you install all dependencies (npm i) at the root of the repo.
Then, open the Command Palette and run:
MCP: List Servers → vscode-automation-mcp → Start Serveror open mcp.json and start it from there.
That's it! It should automatically compile everything needed.
Open the mcp.json and modify the args:
["run", "start-stdio"]: opens Electron window["run", "start-stdio", "--", "--web"]: opens a Chromium window["run", "start-stdio", "--", "--web", "--headless"]: opens a headless window> *NOTE: --web requires running npm run install-playwright from root*
You can modify the mcp.json to debug the server:
"vscode-automation-mcp": {
"type": "stdio",
"command": "node",
"args": ["./out/stdio.js"],
"cwd": "${workspaceFolder}/test/mcp",
"dev": {
"watch": "test/mcp/**/*.ts",
"debug": {
"type": "node"
}
}
}The MCP server exposes a comprehensive set of VS Code automation tools through the MCP protocol:
Start evidence capture before starting VS Code so Playwright enables video recording:
1. Call vscode_automation_evidence_start, including any required pre-launch userSettings. 2. Call vscode_automation_evidence_step with started before each action. 3. Perform and validate the action with the relevant automation tools. 4. Call vscode_automation_evidence_step with passed, failed, or skipped. 5. Call vscode_automation_evidence_finish.
Artifacts are written to .build/vscode-playwright-mcp/evidence/<run-id>/. Each evidence run uses an isolated user profile with in-memory secret storage and records every visited Playwright page as a separate video.
If you prefer to run the server manually:
# Navigate to the MCP directory
cd test/mcp
# Install dependencies
npm install
# Compile TypeScript
npm run compile # or watch
# Start the server
npm starttest/mcp/
├── src/
│ ├── stdio.ts # Entry point for stdio transport
│ ├── automation.ts # MCP server with automation tools
│ ├── application.ts # VS Code application lifecycle management
│ ├── options.ts # Command-line options parsing
│ ├── utils.ts # Utility functions
│ └── automationTools/ # Tool implementations organized by feature
│ ├── index.ts # Tool registration
│ ├── core.ts # Core application tools
│ ├── editor.ts # Editor tools
│ ├── terminal.ts # Terminal tools
│ ├── debug.ts # Debug tools
│ └── ... # Other feature-specific tools
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── README.md # This fileThe server uses a simple architecture:
code.sh)npm installcode.sh)This MCP server is part of the Code - OSS development infrastructure. When making changes:
1. Follow the existing TypeScript and coding conventions 2. Test with multiple MCP clients if possible 3. Update this README if adding new capabilities 4. Ensure proper error handling and logging
This project is licensed under the MIT License - see the top-level project's license file for details.