Compiler Explorer MCP Server は公式ですか?
はい。オープンソースの Compiler Explorer プロジェクトの一部で、`docs/MCP.md` に説明があり、公式の MCP Registry にも登録されています。
@Compiler Explorer
基本情報
Compiler Explorer(godbolt.org)には MCP サーバーが組み込まれており、AI クライアントから言語・コンパイラ・ライブラリの一覧取得、ソースのコンパイルや実行とアセンブリ出力の確認、アセンブリ命令のドキュメント参照、短縮 URL の作成と解決ができます。認証不要で無料で利用できます。
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 は、Compiler Explorer(godbolt.org)に組み込まれた認証不要の MCP エンドポイントです。AI アシスタントからコンパイラの一覧取得、コードのコンパイルや実行、生成されたアセンブリの確認、結果の Compiler Explorer 短縮リンクでの共有ができます。
Compiler Explorer は、さまざまな言語・コンパイラ・バージョンでコードが何にコンパイルされるかを確認できる Web ツールです。その MCP サーバーを使うと、LLM クライアントが Web UI と同じように操作できます。Compiler Explorer のドキュメントでは URL を https://godbolt.org/mcp としています。このページの URL https://compiler-explorer.com/mcp は、同じ公開デプロイメントの Compiler Explorer のもう一つのドメインで、同じツールを返します。このサーバーは公式の MCP Registry にも io.github.compiler-explorer/compiler-explorer として登録されています。
インストールも API キーも不要です。エンドポイントはステートレスな Streamable HTTP で、ツール呼び出しは 1 回ごとに 1 つの JSON-RPC POST で完結し、セッション ID はありません。ブラウザで URL を開く(GET)と 405 Method Not Allowed が返りますが、これは想定どおりです。
claude mcp add --transport http compiler-explorer https://compiler-explorer.com/mcp
ドキュメントでは同じコマンドに https://godbolt.org/mcp を使っています。どちらの URL でも動作します。
Settings → Connectors → Add custom connector を開き、https://compiler-explorer.com/mcp を貼り付けます。サインインは不要です。
~/.cursor/mcp.json に追加します:
{
"mcpServers": {
"compiler-explorer": {
"url": "https://compiler-explorer.com/mcp"
}
}
}
.vscode/mcp.json に追加します:
{
"servers": {
"compiler-explorer": {
"type": "http",
"url": "https://compiler-explorer.com/mcp"
}
}
}
セルフホストの Compiler Explorer では、同じエンドポイントが <your-ce-host>/mcp で提供されます。
amd64、arm64、riscv などの命令セットのアセンブリ命令ドキュメント。https://godbolt.org/z/... 短縮リンクの相互変換:共有されたリンクを開いて再コンパイルしたり、新しいリンクを作成したりできます。プローブでは 7 つのツールが返され、3 つのグループに分かれます:
list_languages は各言語とその defaultCompiler、compilerCount を返します。list_compilers は言語、命令セット、フリーテキストで絞り込めます。latestPerMajor フラグを使うとメジャーバージョンごとに最新の安定版コンパイラだけを返し、lean: true で ID と名前だけを返します。list_libraries は言語ごとのライブラリを一覧表示します。compile はソース、コンパイラ ID、オプション、ライブラリを受け取り、アセンブリ、stdout、stderr を返します。execute: true を指定するとプログラムも実行します。出力は既定でアセンブリ 500 行、stdout と stderr 各 100 行に制限され、maxAsmLines、maxStdoutLines、maxStderrLines で引き上げられます。lookup_asm_instruction はニーモニックを説明します。generate_short_url はソースとコンパイラ設定を短縮リンクとして保存します。同じ内容で呼び出すと同じ URL が返ります。get_shortlink_info は短縮リンクをソースとコンパイラ設定に戻し、compile がそのまま受け取れる形式で返します。vpermq は何をする命令?」POST(と CORS 用の OPTIONS)のみを受け付けます。MCP クライアントから利用してください。compile は既定で出力行数を制限しています。maxAsmLines、maxStdoutLines、maxStderrLines を引き上げてください。isError: true となり、Compilation error: ... や Short link "abc" not found のような読みやすいメッセージが返ります。get_shortlink_info は複数ペインのリンクを基本的なコンパイル入力に平坦化します。はい。オープンソースの Compiler Explorer プロジェクトの一部で、`docs/MCP.md` に説明があり、公式の MCP Registry にも登録されています。
いいえ。エンドポイントは認証不要で、Compiler Explorer の公開 REST API と並んで提供されています。
どちらも同じ公開 Compiler Explorer サービスにつながります。ドキュメントでは `https://godbolt.org/mcp` が使われ、短縮リンクも `godbolt.org/z/...` の形式で返ります。
はい。`compile` に `execute: true` を渡すと、Compiler Explorer の一時的なサンドボックスでプログラムが実行されます。その影響は呼び出しの外に及びません。
はい。標準的なステートレスの Streamable HTTP サーバーなので、リモート MCP サーバーに対応したクライアントなら上記の設定で使えます。
はい。セルフホストのデプロイメントでは、同じエンドポイントが `<your-ce-host>/mcp` で提供されます。
Compiler Explorer のリモート MCP サーバーは、https://compiler-explorer.com/mcp にホストされた Model Context Protocol エンドポイントです。AI アシスタントはローカルに何もインストール・実行することなく接続できます。
エンドポイント https://compiler-explorer.com/mcp を Claude Code、Cursor、VS Code など任意の MCP 対応クライアントに追加してください。このページのセットアップ手順で各クライアントを一度に設定できます。
この掲載では Compiler Explorer の認証要件がまだ確認されていません。接続前に提供元のドキュメントをご確認ください。
Compiler Explorer は streamable-http エンドポイントを公開しており、これはリモート MCP サーバーで広く使われ、主要な MCP クライアントがサポートするトランスポートです。
Manage your Adobe Experience Manager content
Email for long-term client relationships: ARVX reads each person first and remembers every pair.
App Store keyword research, rank tracking, competitor analysis and authorized performance data.
The 9apes MCP server lets an AI assistant read the GitHub Actions data 9apes already collects for your organization: runs, jobs, steps, and their durations. Ask it why a build got slower, which jobs take the longest, or
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.
コメント