MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::McpGateway::Config Struct Reference

#include <MRMCPGateway/MRMCPGatewayConfig.h>

Public Attributes

int mcpPort = 7887
 -mcpPort N forwarded to spawned MI; targetUrl is derived from this if –target-url is omitted.
std::string targetUrl = "http:/// 127.0.0.1:7887"
std::string ssePath = "/sse"
std::string messagesPath = "/messages"
std::filesystem::path launchCommand
std::vector< std::string > launchArgs
std::chrono::seconds launchTimeout { 30 }
std::string toolsCacheNamespace
 –tools-cache-namespace <name> (optional sub-folder)

Detailed Description

Aggregates all values parsed from the gateway's command-line. Passed by const-ref to the cache, backend-probe, and local-tool-registration helpers — letting them read what they need without each replicating its own subset of CLI parsing.

Member Data Documentation

◆ launchArgs

std::vector<std::string> MR::McpGateway::Config::launchArgs

◆ launchCommand

std::filesystem::path MR::McpGateway::Config::launchCommand

◆ launchTimeout

std::chrono::seconds MR::McpGateway::Config::launchTimeout { 30 }

◆ mcpPort

int MR::McpGateway::Config::mcpPort = 7887

-mcpPort N forwarded to spawned MI; targetUrl is derived from this if –target-url is omitted.

◆ messagesPath

std::string MR::McpGateway::Config::messagesPath = "/messages"

◆ ssePath

std::string MR::McpGateway::Config::ssePath = "/sse"

◆ targetUrl

std::string MR::McpGateway::Config::targetUrl = "http:/// 127.0.0.1:7887"

◆ toolsCacheNamespace

std::string MR::McpGateway::Config::toolsCacheNamespace

–tools-cache-namespace <name> (optional sub-folder)


The documentation for this struct was generated from the following file: