Code Runner MCP Server for VS Code
LocalAbout Code Runner MCP Server for VS Code
A VS Code MCP server for running code snippets in Agent mode and displaying their results. It is intended for developers who want to execute snippets from the editor.
Key features
- 01Run snippets in Agent mode
- 02Display execution results
Use cases
- 01Execute snippets in VS Code
- 02Inspect snippet output
MCP support
The MCP server runs code in VS Code's Agent mode and returns the result.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMECode Runner MCP Server for VS Code
Zero setup to use Code Runner MCP Server in VS Code for running code snippet and show the result.
Requirements
VS Code version >= 1.100
Features
Run code in Agent mode:

For more information
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.