include/entropic/mcp/servers/web.h

← API

include/entropic/mcp/servers/web.h

entropic::WebServer

Web MCP server for web fetch and search.

Inherits from entropic::MCPServerBase.

entropic::WebServer::WebServer(const std::string &data_dir)

Construct with data dir.

Construct with data dir, register both tools. 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.

Parameters
  • data_dir — Path to bundled data directory.

entropic::WebServer::~WebServer() override

Destructor.