# VSCode Internal Commands

> Use this tool when you need to automate VSCode tasks, execute internal commands, or access editor capabilities programmatically, enabling use cases like automated refactoring and code generation workflows. It provides a WebSocket-based interface for real-time interaction, accepting commands and parameters as input and returning execution results as output. Ideal for developers who want AI assistants to control their VSCode environment, streamlining tasks and workflows without manual intervention.

Canonical page: https://skillsregistry.net/skills/bestk-vscode-internal-commands  
JSON: https://api.skillsregistry.net/v1/skills/bestk-vscode-internal-commands

## Description

This VSCode extension MCP server exposes VSCode's internal commands and functionality to AI assistants through the Model Context Protocol. Built with TypeScript and the fastmcp framework, it provides tools for executing VSCode commands, managing background tasks, and accessing editor capabilities programmatically. The implementation includes a background task executor for long-running operations, command execution with parameter validation, and WebSocket-based communication for real-time interaction. Designed for developers who want AI assistants to directly control their VSCode environment, enabling use cases like automated refactoring, code generation workflows, extension management, and editor automation without manual intervention.

## Trust

- **Trust score (0–1):** 0.87
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** productivity
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/bestk-vscode-internal-commands)
- **Repository:** <https://github.com/bestk/vscode-internal-command-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "bestk-vscode-internal-commands"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/bestk-vscode-internal-commands` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/bestk-vscode-internal-commands/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
