code runner for Cursor
io.github.formulahendry/code-runner
Code Runner MCP Server which can run code in various programming languages.
client:Cursor
transport:stdio
runtime:npm
Install code runner in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"code-runner": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs