Best C++ MCP Servers
C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language. The C++ programming language is supported by a community of developers and promoted by organizations like the ISO C++ Standards Committee.
Why this server?
Indexes C++ codebases to provide symbol search, call graph navigation, and change impact analysis.
AlicenseAqualityAmaintenanceEnables read-only querying of a local repository through a deterministic tree-sitter symbol and edge graph, exposing keyword search with exact file:line hits, regex text search, per-file symbol skeletons, caller/callee traversal, and directory-level maps of clusters, hubs, and hotspots over stdio.1085 npm1Apache 2.0Why this server?
Provides AST-based structural editing for C++ source files, supporting classes, structs, unions, enums, namespaces, methods, fields, imports, comments, and symbol reads/edits.
AlicenseAqualityAmaintenanceAST-targeted code editing MCP server with 28 surgical tools for structural edits across 11 languages. Built on tree-sitter, replaces brittle search/replace with byte-correct edits keyed by symbol names.228MITWhy this server?
Provides access to C++ documentation through DevDocs.io, enabling search and retrieval of C++ language documentation content.
AlicenseAqualityDmaintenanceProvides access to 600+ documentation libraries from DevDocs.io including Python, JavaScript, React, Django, and more. Enables searching, browsing, and retrieving documentation content directly through Claude Desktop.55MITWhy this server?
Verifies C++ source files: compiles them with g++/c++ (or a configured toolchain) and optionally runs focused tests, returning static findings as part of a code-quality gate.
AlicenseAqualityCmaintenanceEnables coding agents to compile supplied files, run optional focused tests, and get static findings across ten programming languages, providing a deterministic feedback loop on the code they are about to return.1MITWhy this server?
Provides compiler-backed validation and verification for C++ projects built with the Gungnir C++23 web framework: runs bounded `gungnirc --check` diagnostics on `.gnr` modules or whole projects and performs read-only C++ IR verification, returning structured, sanitized diagnostics and metadata.
AlicenseBqualityBmaintenanceEnables MCP clients to connect over stdio and query the Gungnir C++23 web framework's server identity, group, and available capabilities through a read-only status tool, with support for legacy and modern protocol eras.1MITWhy this server?
Allows debugging C/C++ code via the Debug Adapter Protocol using CodeLLDB.
Why this server?
Provides tools for C++ code intelligence via clangd, including finding definitions, references, type information, symbol search, implementations, diagnostics, and hierarchy queries.
AlicenseAqualityFmaintenanceProvides C++ code intelligence tools for AI agents via the Model Context Protocol, enabling symbol navigation, type information, and diagnostics.950Mozilla Public 2.0Why this server?
Enables AST-aware pattern matching, search, and safe refactoring for C++ code using ast-grep, supporting structural code manipulation across files.
AlicenseAqualityDmaintenanceEnables structural code search and refactoring across 20+ programming languages using ast-grep patterns, with safe dry-run mode and flexible filtering.1MITWhy this server?
Locates C and C++ compilers and build systems to facilitate code compilation and development tasks.
AlicenseAqualityBmaintenanceEncoding-aware, indentation-smart file tools for AI coding agents. 20+ tools including read/edit with automatic encoding detection, smart indentation conversion, SSH, SFTP, process management, and system utilities.1124MIT