Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::DiagnosticsServer Class Reference

Diagnostics MCP server with LSP client. More...

#include <entropic/mcp/servers/diagnostics.h>

Inheritance diagram for entropic::DiagnosticsServer:
Collaboration diagram for entropic::DiagnosticsServer:

Public Member Functions

 DiagnosticsServer (const std::filesystem::path &root_dir, const std::string &data_dir)
 Construct with root directory and data dir.
 
 ~DiagnosticsServer () override
 Destructor.
 
const std::filesystem::path & root_dir () const
 Get the root directory.
 
- Public Member Functions inherited from entropic::MCPServerBase
 MCPServerBase (std::string name)
 Construct with server name.
 
const std::string & name () const
 Get the server name.
 
void register_tool (ToolBase *tool)
 Register a tool with this server.
 
std::string list_tools () const
 List all registered tools as a JSON array string.
 
std::string execute (const std::string &tool_name, const std::string &args_json)
 Execute a tool and wrap result in ServerResponse JSON.
 
virtual std::string get_permission_pattern (const std::string &tool_name, const std::string &args_json) const
 Generate permission pattern for 'Always Allow/Deny'.
 
virtual bool skip_duplicate_check (const std::string &tool_name) const
 Check if a tool should skip duplicate detection.
 
virtual bool configure (const std::string &config_json)
 Configure the server after creation.
 
virtual bool set_working_dir (const std::string &path)
 Set the working directory.
 
const ToolRegistryregistry () const
 Get the tool registry (const).
 

Additional Inherited Members

- Protected Attributes inherited from entropic::MCPServerBase
std::string name_
 Server name.
 
ToolRegistry registry_
 Tool registry.
 

Detailed Description

Diagnostics MCP server with LSP client.

Version
1.8.5

Definition at line 25 of file diagnostics.h.

Constructor & Destructor Documentation

◆ DiagnosticsServer()

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

Construct with root directory and data dir.

Parameters
root_dirProject root directory.
data_dirPath to bundled data directory.
Version
1.8.5
Parameters
root_dirProject root directory.
data_dirPath to bundled data directory.

Definition at line 125 of file diagnostics.cpp.

Member Function Documentation

◆ root_dir()

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

Get the root directory.

Returns
Root directory path.
Version
1.8.5
Returns
Root directory path.

Definition at line 161 of file diagnostics.cpp.


The documentation for this class was generated from the following files: