include/entropic/mcp/servers/diagnostics.h

← API

include/entropic/mcp/servers/diagnostics.h

entropic::DiagnosticsServer

Diagnostics MCP server with LSP client.

Inherits from entropic::MCPServerBase.

entropic::DiagnosticsServer::DiagnosticsServer(const std::filesystem::path &root_dir, const std::string &data_dir)

Construct with root directory and data dir.

The thinnest MCPServerBase subclass in the tree: it builds its two tools, registers them, and overrides nothing — so it inherits tool-level permission patterns, duplicate checking, and the standard envelope purely from the base.

Parameters
  • root_dir — Project root directory.
  • data_dir — Path to bundled data directory.

entropic::DiagnosticsServer::~DiagnosticsServer() override

Destructor.

const std::filesystem::path & entropic::DiagnosticsServer::root_dir() const

Get the root directory.

Returns
Root directory path.