mcp-server-code-runner
The Code Runner MCP Server is designed to run and display results from code snippets written in various programming languages. It features easy setup via VS Code or Docker and supports both npx and Docker. The server can handle multiple languages and offers configuration guidance for different environments.
What languages are supported by the Code Runner MCP Server?
The server supports a wide range of languages including JavaScript, PHP, Python, Ruby, Go, and many more. A full list can be found in the constants.ts file of the project.
How can I integrate the server with VS Code?
You can integrate the server with VS Code using npx or Docker. Configuration details can be added to the settings.json file.
What should I do if npx fails to connect on Windows?
You can try using 'bunx' by installing Bun or use 'cmd' as a workaround in the configuration settings.
Is there a way to run the server with HTTP transport?
Yes, you can run the server with Streamable HTTP Transport by installing it globally and using the --transport http option.
Do I need to set up interpreters for each language?
Yes, ensure that the interpreter or compiler for the language you want to run is set in the PATH environment variable.