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

gh#32 (v2.1.6) resume More...

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

Inheritance diagram for entropic::EntropicServer:
Collaboration diagram for entropic::EntropicServer:

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 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

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.

Version
2.0.6-rc16

Definition at line 46 of file entropic_server.h.

Constructor & Destructor Documentation

◆ EntropicServer()

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.

Parameters
tier_namesAvailable tier names for delegate/pipeline schemas.
data_dirPath to bundled data directory.
Version
1.9.12

Definition at line 1399 of file entropic_server.cpp.

◆ ~EntropicServer()

entropic::EntropicServer::~EntropicServer ( )
overridedefault

Destructor.

Version
1.9.12

Member Function Documentation

◆ set_state_provider()

void entropic::EntropicServer::set_state_provider ( const entropic_state_provider_t provider)

Set the engine state provider for introspection tools.

Parameters
providerCallback struct with engine state accessors.
Version
2.0.6-rc16
Parameters
providerCallback struct with engine state accessors.

Definition at line 1437 of file entropic_server.cpp.

◆ skip_duplicate_check()

bool entropic::EntropicServer::skip_duplicate_check ( const std::string &  tool_name) const
overridevirtual

delegate and pipeline skip duplicate check.

Skip duplicate check for delegate and pipeline.

Parameters
tool_nameTool name.
Returns
true for delegate and pipeline.
Version
1.8.5
Parameters
tool_nameLocal tool name.
Returns
true for delegate and pipeline.

Reimplemented from entropic::MCPServerBase.

Definition at line 1426 of file entropic_server.cpp.


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