ce-analyzer-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CE_API_BASE_URL | No | Absolute 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_TOKEN | No | Optional secret. Empty is treated as unset. Never put a token in an MCP tool argument. | |
| CE_API_VERIFY_TLS | No | Verifies HTTPS certificates. Setting it to `false` disables verification and is insecure. | true |
| CE_API_AUTH_HEADER | No | Must be a valid HTTP field name. | Authorization |
| CE_API_AUTH_SCHEME | No | Empty 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_CONCURRENCY | No | Integer from 1 through 32; controls the global request semaphore and HTTP connection limits. | 4 |
| CE_API_ALLOW_INSECURE_HTTP | No | Plain 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_SECONDS | No | Integer from 0 through 86,400; `0` disables the in-memory metadata cache. | 300 |
| CE_API_READ_TIMEOUT_SECONDS | No | Number greater than 0 and at most 600; also used for write timeout. | 60 |
| CE_API_CONNECT_TIMEOUT_SECONDS | No | Number greater than 0 and at most 120; also used for the connection-pool timeout. | 5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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