Best CMake MCP Servers
CMake is an open-source, cross-platform family of tools designed to build, test and package software. It uses a compiler-independent build process that allows developers to use the compiler of their choice.
Why this server?
Captures CMake build logs.
AlicenseAqualityAmaintenanceThe logs of everything on one machine — app, build, GPU, containers, serial board, OS — interleaved in the order they happened, and readable by an agent. Read-only: it can tail, search and wait, and it cannot write, delete or configure anything.296 npm1MITWhy this server?
Provides read-only tools for querying CMake project build models via the CMake File API and compile_commands.json, including targets, sources, compile flags, include directories, defines, language standards, dependencies, artifacts, install rules, cache variables, toolchains, and exact compiler invocations across multiple build directories.
AlicenseAqualityBmaintenanceEnables AI assistants to query the build model of CMake projects across multiple projects and build directories, inspecting targets, sources, compile flags, includes, defines, dependencies, artifacts, install rules, cache variables, toolchains, and exact compiler invocations. It is read-only, relying on CMake File API replies and compile_commands.json without ever running CMake.12MITWhy this server?
Detects and analyzes C/C++ projects using CMake build systems to extract structural information about sources, headers, and dependencies.
AlicenseAqualityAmaintenanceStructural graph map of any codebase. Scans entities, relationships, and feature flows across 13 languages so LLMs navigate by structure instead of reading everything.6315 PyPI58MITWhy this server?
Provides tools to find and analyze CMakeLists.txt files to understand repository build structures.
AlicenseAqualityAmaintenanceAn MCP server that connects LLMs to CERN GitLab to discover and analyze High Energy Physics code, documentation, and analysis examples. It provides 14 tools for repository browsing, dependency parsing, and CI/CD configuration analysis.1597 PyPI4AGPL 3.0Why this server?
Supports CMake project configuration and building for SailfishOS applications, including generating CMakeLists.txt files and managing CMake-based build processes.
AlicenseAqualityDmaintenanceA MCP server for SailfishOS application development, creates new projects and add features following guidelines, performs build96MITWhy this server?
Scaffolds C++26-ready CMake projects via the /cpp26-init command, setting CXX_STANDARD to 26, -std=c++2c, and CMAKE_EXPORT_COMPILE_COMMANDS ON, along with .clangd configuration.
AlicenseAqualityCmaintenanceC++26 paper reference MCP with lookup_paper, fuzzy search, and compiler_status tools over a 216-paper ISO/IEC 14882:2026 corpus. Backs a Claude Code plugin that biases the model toward final-form C++26 idioms (reflection, contracts, std::execution senders, expansion statements, #embed).33MITWhy this server?
Allows generating and modifying CMake build configurations for STM32 projects, including adding custom source files to CMake source lists.
AlicenseAqualityBmaintenanceMCP server that wraps STM32CubeMX CLI to let AI load .ioc projects, modify pin/peripheral configurations, generate HAL code, and export pinout tables.5191 PyPIMITWhy this server?
Provides CMake support by discovering local CMake installations, allowing CMake as a toolchain option for IOC creation and planning, with CMake project generation planned.
AlicenseAqualityBmaintenanceAn MCP server that enables AI agents to inspect, plan, validate, and apply STM32CubeMX .ioc configuration changes, and generate STM32CubeIDE projects, ensuring safe and testable embedded-system workflows.93MITWhy this server?
Provides tools for configuring and building CMake projects, managing kits and presets, listing targets, and running CTest tests.
AlicenseBqualityAmaintenanceAn MCP server for C++ development that currently provides a server_status diagnostic tool. It validates a workspace directory and is designed to expand into build, test, and debugging capabilities.25375 PyPIMIT