MCP Server Studio

OnlineCompiler.io MCP server

Run Python, Java, C, C++, C#, Go, Rust and 39 more languages, each run in a fresh, offline sandbox.

Registry name: io.onlinecompiler/compiler

Publisher
onlinecompiler.io
Runs
Hosted
Version
1.2.1
Category
Developer tools
Updated
2026-11-07

Source code on GitHub

Set up OnlineCompiler.io (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "compiler": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.onlinecompiler.io/mcp",
        "--header",
        "Authorization: <Authorization>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http compiler https://api.onlinecompiler.io/mcp --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "compiler": {
      "url": "https://api.onlinecompiler.io/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "compiler": {
      "type": "http",
      "url": "https://api.onlinecompiler.io/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "compiler": {
      "serverUrl": "https://api.onlinecompiler.io/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

More developer tools MCP servers