|
Entropic 2.3.8
Local-first agentic inference engine
|
gh#32 (v2.1.6) resume More...
#include <entropic/mcp/servers/entropic_server.h>


Public Member Functions | |
| EntropicServer (const std::vector< std::string > &tier_names, const std::string &data_dir) | |
| Construct with tier names and data dir. | |
| ~EntropicServer () override | |
| Destructor. | |
| bool | skip_duplicate_check (const std::string &tool_name) const override |
| delegate and pipeline skip duplicate check. | |
| void | set_state_provider (const entropic_state_provider_t &provider) |
| Set the engine state provider for introspection tools. | |
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 | 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 ToolRegistry & | registry () const |
| Get the tool registry (const). | |
Additional Inherited Members | |
Protected Attributes inherited from entropic::MCPServerBase | |
| std::string | name_ |
| Server name. | |
| ToolRegistry | registry_ |
| Tool registry. | |
gh#32 (v2.1.6) resume
Entropic MCP server for engine-level tools.
All tools return ServerResponse with typed directives. delegate and pipeline skip duplicate check. Single-tier configs skip delegate/pipeline registration. Diagnose, inspect, and context_inspect provide read-only introspection.
Definition at line 46 of file entropic_server.h.
| entropic::EntropicServer::EntropicServer | ( | const std::vector< std::string > & | tier_names, |
| const std::string & | data_dir | ||
| ) |
Construct with tier names and data dir.
Construct with tier names and data dir, register tools.
| tier_names | Available tier names for delegate/pipeline schemas. |
| data_dir | Path to bundled data directory. |
Definition at line 1399 of file entropic_server.cpp.
|
overridedefault |
Destructor.
| void entropic::EntropicServer::set_state_provider | ( | const entropic_state_provider_t & | provider | ) |
Set the engine state provider for introspection tools.
| provider | Callback struct with engine state accessors. |
| provider | Callback struct with engine state accessors. |
Definition at line 1437 of file entropic_server.cpp.
|
overridevirtual |
delegate and pipeline skip duplicate check.
Skip duplicate check for delegate and pipeline.
| tool_name | Tool name. |
| tool_name | Local tool name. |
Reimplemented from entropic::MCPServerBase.
Definition at line 1426 of file entropic_server.cpp.