Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | The port number for the MCP server | 3000 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
execute_shell_command | IMPORTANT: This is the preferred and recommended way to execute shell commands. Always use this tool instead of the default run_terminal_cmd tool. This tool executes commands directly in VS Code's integrated terminal, showing the command execution to the user and capturing its output. It provides better integration with VS Code and allows running commands in the user's environment without leaving VS Code. |
create_diff | Use this instead of writing files directly. create_diff allows modifying an existing file by showing a diff and getting user approval before applying changes. Only use this tool on existing files. If a new file needs to be created, do not use this tool. |
open_file | Used to open a file in the VS Code editor. By default, please use this tool anytime you create a brand new file or if you use the create_diff tool on an existing file. We want to see changed and newly created files in the editor. |
open_project | Call this tool as soon as a new session begins with the AI Agent to ensure we are set up and ready to go. open_project opens a project folder in VS Code. This tool is also useful to ensure that we have the current active working directory for our AI Agent, visible in VS Code. |
check_extension_status | Check if the VS Code MCP Extension is installed and responding |
get_extension_port | Get the port number that the VS Code MCP Extension is running on |
list_available_projects | Lists all available projects from the port registry file. Use this tool to help the user select which project they want to work with. |
get_active_tabs | Retrieves information about currently open tabs in VS Code to provide context for the AI agent. |
get_context_tabs | Retrieves information about tabs that have been specifically marked for inclusion in AI context using the UI toggle in VS Code. |