V
VS Code
Interact with a VS Code workspace over MCP.
·No reviews yet
Share:
About
Auto-generated
VS Code is a Model Context Protocol server in the Developer Tools category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about VS Code.
- What is the VS Code MCP and what does it enable?
- The VS Code Model Context Protocol (MCP) server allows external tools to interact with a VS Code workspace. It facilitates development workflows, enabling operations like code analysis and file modifications through an external client.
- How do I install the VS Code MCP in a client like Cline?
- Installation in an MCP client involves configuring the server details. Specify 'vscode' as the slug and 'Community' as the provider. The transport is 'stdio' and no authentication is required. Refer to your client's documentation for exact setup steps.
- Does the VS Code MCP require an API key or other credentials?
- No, the VS Code MCP does not require an API key, OAuth, or any other credentials for authentication. It uses a 'none' authentication type, simplifying its integration with clients.
- What are the primary capabilities exposed by the VS Code MCP?
- The VS Code MCP enables interaction with a VS Code workspace. This includes capabilities related to code editing, workspace management, and potentially debugging, allowing external clients to extend VS Code's functionality.
- Is there any cost associated with using the VS Code MCP?
- The VS Code MCP itself is open-source and community-provided, implying no direct cost for its use. However, the underlying VS Code environment and any associated extensions or services may have their own licensing or costs.
- What is a prerequisite for using the VS Code MCP?
- A key prerequisite for using the VS Code MCP is having an active VS Code instance and a workspace open. The MCP interacts directly with this running environment to provide its functionality.
Install VS Code
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-vscode"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-vscode"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"vscode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-vscode"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.