|
Entropic 2.11.1
Local-first agentic inference engine
|
Web MCP server for web fetch and search. More...
#include <entropic/mcp/servers/web.h>


Public Member Functions | |
| WebServer (const std::string &data_dir) | |
| Construct with data dir. | |
| ~WebServer () override | |
| Destructor. | |
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 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. | |
|
explicit |
Construct with data dir.
Construct with data dir, register both tools.
| data_dir | Path to bundled data directory. |
Another override-nothing MCPServerBase subclass: build the two tools, register them, and inherit dispatch, envelope shape and the default extension-point behaviour from the base.
| data_dir | Path to bundled data directory. @req REQ-MCP-001 |
|
overridedefault |
Destructor.
@dg_internal