MCP Server to Connect with VS Code IDE
Most file and storage access work still happens through a UI a human drives. VSCode Context MCP MCP server moves it into the conversation instead. MCP Server to Connect with VS Code IDE.
A Model Context Protocol (MCP) server that provides VSCode context and filesystem operations for AI assistants.
VSCode Context MCP creates a bridge between AI assistants and your VSCode environment. It enables AI models to:
The server publishes 14 tools. What each one is for:
get_vscode_context — Retrieve complete VSCode context informationget_attached_files — Retrieve a list of files attached to the workspaceget_project_path — Get current project root directoryget_current_file — Get details and content of the active fileget_open_tabs — List all open editor tabsget_problems — Retrieve diagnostics (errors/warnings)get_terminal_content — Get terminal output and historyrun_command — Execute a shell commandread_file — Read contents of a fileread_multiple_files — Read multiple files at oncewrite_file — Create or overwrite a fileedit_file — Make line-based edits to a filenpm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of file and storage access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. VSCode Context MCP's toolset — get_vscode_context, get_attached_files, get_project_path and 11 more — is a fair guide to whether it matches your workflow. It is maintained by vilasone455; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| get_vscode_context | Retrieve complete VSCode context information |
| get_attached_files | Retrieve a list of files attached to the workspace |
| get_project_path | Get current project root directory |
| get_current_file | Get details and content of the active file |
| get_open_tabs | List all open editor tabs |
| get_problems | Retrieve diagnostics (errors/warnings) |
| get_terminal_content | Get terminal output and history |
| run_command | Execute a shell command |
| read_file | Read contents of a file |
| read_multiple_files | Read multiple files at once |
| write_file | Create or overwrite a file |
| edit_file | Make line-based edits to a file |
| create_directory | Create directory structure |
| list_directory | List files and directories |
{
"mcpServers": {
"vscode-context": {
"command": "npx",
"args": ["-y", "npm"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.