Skip to main content
Glama

Compiler Explorer MCP

by torshepherd

list_compilers_for_language

Retrieve a list of available compilers for a specific programming language using the Compiler Explorer MCP server. Input a language (e.g., 'cpp', 'rust') to return unversioned compiler names like 'gcc' or 'clang' for efficient code compilation environment setup.

Instructions

Get available compilers for a specific programming language.

Args: language: Programming language to get compilers for (e.g., 'cpp', 'rust') Returns: List of unversioned compiler names available for the language Raises: HTTPException: If the API request fails Example: >>> await list_compilers_for_language("cpp") ["gcc", "clang", "msvc"]

Input Schema

NameRequiredDescriptionDefault
languageYes

Input Schema (JSON Schema)

{ "properties": { "language": { "title": "Language", "type": "string" } }, "required": [ "language" ], "title": "list_compilers_for_languageArguments", "type": "object" }
Install Server

Other Tools from Compiler Explorer MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/torshepherd/compiler-explorer-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server