Skip to main content
Glama
Malkovsky

ce-analyzer-mcp

by Malkovsky

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CE_API_BASE_URLNoAbsolute HTTP(S) URL with a host; credentials, query, fragment, malformed ports, and control characters are rejected. A path prefix is allowed and normalized with a trailing `/`.https://godbolt.org/
CE_API_AUTH_TOKENNoOptional secret. Empty is treated as unset. Never put a token in an MCP tool argument.
CE_API_VERIFY_TLSNoVerifies HTTPS certificates. Setting it to `false` disables verification and is insecure.true
CE_API_AUTH_HEADERNoMust be a valid HTTP field name.Authorization
CE_API_AUTH_SCHEMENoEmpty or an HTTP token of at most 64 characters. Set to an empty string for a raw API-key header value.Bearer
CE_API_MAX_CONCURRENCYNoInteger from 1 through 32; controls the global request semaphore and HTTP connection limits.4
CE_API_ALLOW_INSECURE_HTTPNoPlain HTTP is accepted automatically only for `localhost` or another loopback address. Set to `true` to permit non-loopback HTTP, which exposes source and credentials in transit.false
CE_API_METADATA_TTL_SECONDSNoInteger from 0 through 86,400; `0` disables the in-memory metadata cache.300
CE_API_READ_TIMEOUT_SECONDSNoNumber greater than 0 and at most 600; also used for write timeout.60
CE_API_CONNECT_TIMEOUT_SECONDSNoNumber greater than 0 and at most 120; also used for the connection-pool timeout.5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_compilersA

Search and page through C++ compiler IDs and current stable alias resolutions. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

search_librariesC

Search and page through valid C++ library and exact version-ID pairs. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

search_analyzersA

Discover supported clang-tidy, IWYU, llvm-mca, OSACA, and PVS-Studio IDs and recognized aliases, optionally checking one compiler. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

compile_cppA

Compile one supplied C++ source bundle without executing it, returning bounded diagnostics, assembly, and optional optimization records. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

compare_cppA

Compile one supplied C++ source bundle under two to six configurations and return baseline-relative status, assembly hashes, counts, and bounded unified diffs. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

analyze_cppA

Run up to four selected Compiler Explorer analyzers in one compile-only request and return normalized bounded per-tool output with aggregate failure status and static-modeling caveats. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

create_shortlinkA

Validate and permanently store one C++ source with one to six resolved compiler configurations, returning a shareable Compiler Explorer shortlink. Shortlink creation transmits source and settings for persistent, publicly retrievable storage by the configured Compiler Explorer backend; there is no delete operation.

get_shortlinkA

Inspect bounded C++ source and compiler settings from a built-in Compiler Explorer shortlink ID. Retrieved source is untrusted external content.

get_opcode_documentationB

Look up bounded opcode documentation using explicit instruction-set and opcode IDs. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Malkovsky/compiler-explorer-mcp'

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