
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server built with FastMCP that offers tools and read-only resources for querying the Godbolt Compiler Explorer REST API.
Godbolt Compiler Explorer MCP server is cataloged as an MCP server attributed to benestar. An MCP server built with FastMCP that offers tools and read-only resources for querying the Godbolt Compiler Explorer REST API. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Godbolt Compiler Explorer MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The compile_cmake tool compiles a CMake project using a specified compiler_id, with optional user arguments, files, and libraries.
Yes, the format_code tool formats source code using a specified formatter.
README.md · 87bf7a44490c · 采集于 2026-11-13 11:43:27 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides access to the Godbolt Compiler Explorer REST API endpoints. Built with the FastMCP Python library.
git clone <repository-url>
cd godbolt-mcp
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Run the MCP server directly:
python godbolt_mcp.py
Add the server to your MCP configuration (using virtual environment Python):
{
"mcpServers": {
"godbolt-compiler-explorer": {
"command": "/absolute/path/to/godbolt-mcp/venv/bin/python",
"args": ["/absolute/path/to/godbolt-mcp/godbolt_mcp.py"]
}
}
}
Note: Replace /absolute/path/to/godbolt-mcp with the actual absolute path to your installation directory.
resource://languages - List all supported programming languagesresource://compilers/{language_id} - Get available compilers for a specific languageresource://libraries/{language_id} - Get available libraries for a specific languageresource://formats - List available code formattersresource://asm/{instruction_set}/{opcode} - Get assembly instruction documentationresource://version - Get Compiler Explorer version informationcompile_code(compiler_id, source, user_arguments=None, files=None, libraries=None) - Compile source codecompile_cmake(compiler_id, source, user_arguments=None, files=None, libraries=None) - Compile CMake projectformat_code(formatter, source) - Format source codeThe examples/ folder contains sample source files you can use to test the MCP server:
hello.cpp - Simple C++ "Hello World" programhello.rs - Simple Rust "Hello World" programTry these prompts with MCP-compatible agents to generate assembly code for the example files:
For C++ example:
Compile the hello.cpp file from the examples folder with GCC and show me the exact generated assembly code with optimization level -O2.
For Rust example:
Compile the hello.rs file from the examples folder with the latest Rust compiler and show me the exact generated assembly code with release optimizations.
fastmcp>=0.2.0 - MCP server frameworkhttpx>=0.25.0 - HTTP client for API requestsClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Godbolt Compiler Explorer MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/godbolt-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.