Is the Compiler Explorer MCP Server official?
Yes. It is part of the open-source Compiler Explorer project, documented in its `docs/MCP.md`, and listed in the official MCP Registry.
@Compiler Explorer
Basic information
Transport
streamable-http
Authentication
Check provider docs
Category
Developer Tools
Author
Compiler Explorer
Compiler Explorer (godbolt.org) ships a built-in MCP server that lets AI clients list languages, compilers and libraries, compile or run source and read the assembly output, look up assembly instruction docs and create or resolve short URLs. It is free to use with no authentication.
https://compiler-explorer.com/mcpclaude mcp add compiler-explorer --transport http https://compiler-explorer.com/mcpCompile source code and return assembly output, stdout, and stderr
List available compilers, optionally filtered by language
List supported languages. Each entry has `defaultCompiler` and `compilerCount`.
List available libraries for a given programming language
Look up documentation for an assembly instruction
Create a Compiler Explorer short URL for sharing code with compiler settings
Retrieve source and compiler config from a CE short URL. Compiler entries are returned in the `compile` tool's shape ({compiler, options, libraries:[{id, version}]}). Multi-pane shortlinks (executors, conformance views, CMake trees, per-compiler filters/tools) are flattened — only the basic compile inputs survive.
Compiler Explorer MCP Server is the built-in, unauthenticated MCP endpoint of Compiler Explorer (godbolt.org). It lets AI assistants list compilers, compile or run code, read the generated assembly and share results as Compiler Explorer short links.
Compiler Explorer is a web tool for seeing what compilers turn your code into, across many languages, compilers and versions. Its MCP server lets LLM clients drive it the way the web UI does. Compiler Explorer's docs give the URL as https://godbolt.org/mcp. The listing URL here, https://compiler-explorer.com/mcp, is the same public deployment on Compiler Explorer's other domain and returns the same tools. The server is also in the official MCP Registry as io.github.compiler-explorer/compiler-explorer.
There is nothing to install and no API key. The endpoint is stateless Streamable HTTP: each tool call is one JSON-RPC POST with no session ID. Opening the URL in a browser (a GET) returns 405 Method Not Allowed, which is expected.
claude mcp add --transport http compiler-explorer https://compiler-explorer.com/mcp
The docs show the same command with https://godbolt.org/mcp; either URL works.
Go to Settings → Connectors → Add custom connector and paste https://compiler-explorer.com/mcp. No sign-in is needed.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"compiler-explorer": {
"url": "https://compiler-explorer.com/mcp"
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"compiler-explorer": {
"type": "http",
"url": "https://compiler-explorer.com/mcp"
}
}
}
Self-hosted Compiler Explorer instances expose the same endpoint at <your-ce-host>/mcp.
amd64, arm64 and riscv.https://godbolt.org/z/... short links, so an agent can open a link someone shared, recompile it or create a new one.The probe returned seven tools, in three groups:
list_languages returns each language with its defaultCompiler and compilerCount. list_compilers filters by language, instruction set or free-text match, and its latestPerMajor flag keeps only the newest stable compiler per major version (lean: true returns only IDs and names). list_libraries lists libraries for a language.compile takes source, a compiler ID, options and libraries, and returns assembly, stdout and stderr. With execute: true it also runs the program. Output is capped by default at 500 assembly lines and 100 lines each of stdout and stderr; raise maxAsmLines, maxStdoutLines or maxStderrLines for more. lookup_asm_instruction explains a mnemonic.generate_short_url saves source and compiler settings as a short link; repeat calls with the same payload return the same URL. get_shortlink_info turns a short link back into source plus compiler config in the shape compile accepts.vpermq do on amd64?"POST (and OPTIONS for CORS). Use it from an MCP client.compile caps output lines by default. Raise maxAsmLines, maxStdoutLines or maxStderrLines.isError: true with a readable message such as Compilation error: ... or Short link "abc" not found.get_shortlink_info flattens multi-pane links to the basic compile inputs.Yes. It is part of the open-source Compiler Explorer project, documented in its `docs/MCP.md`, and listed in the official MCP Registry.
No. The endpoint is unauthenticated and sits alongside Compiler Explorer's public REST API.
Both reach the same public Compiler Explorer service. The docs use `https://godbolt.org/mcp`, and short links come back in the `godbolt.org/z/...` form.
Yes. Pass `execute: true` to `compile` and the program runs in Compiler Explorer's ephemeral sandbox. Effects do not escape the call.
Yes. It is a standard stateless Streamable HTTP server, so any client that supports remote MCP servers can use it with the configs above.
Yes. Self-hosted deployments serve the same endpoint at `<your-ce-host>/mcp`.
The Compiler Explorer remote MCP server is a hosted Model Context Protocol endpoint at https://compiler-explorer.com/mcp, so AI assistants can connect to it without installing or running anything locally.
Add the endpoint https://compiler-explorer.com/mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.
Authentication requirements for Compiler Explorer have not been confirmed in this listing. Check the provider’s documentation before connecting.
Compiler Explorer exposes a streamable-http endpoint, the transport used by remote MCP servers and supported by all major MCP clients.
Ideate, create, and deliver with Adobe pro tools
One MCP connection for all your Gmail, Google Calendar, Drive and Contacts accounts, Slack workspaces and Notion — free.
Hosted 3GPP MCP server: cited search across Rel-15 through Rel-20 TS/TR specs, recent TDocs, company proposals and meeting decisions. OAuth 2.1; no local index required.
Official 42min MCP server: let Claude, ChatGPT, Cursor or any MCP client manage your meeting scheduling. Check availability, find free slots, book, cancel and reschedule meetings, manage recurring series, secret booking
Write, schedule and publish LinkedIn posts in your own voice, reply to comments and read your analytics, all from your AI assistant. Remote MCP server with OAuth sign-in.
Comments