MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMCPGatewayConfig.h
Go to the documentation of this file.
1#pragma once
2
3#include <chrono>
4#include <filesystem>
5#include <string>
6#include <vector>
7
8namespace MR::McpGateway
9{
10
14struct Config
15{
16 int mcpPort = 7887;
17 std::string targetUrl = "http:/// 127.0.0.1:7887";
18 std::string ssePath = "/sse";
19 std::string messagesPath = "/messages";
20 std::filesystem::path launchCommand;
21 std::vector<std::string> launchArgs;
22 std::chrono::seconds launchTimeout{ 30 };
23 std::string toolsCacheNamespace;
24};
25
26}
Definition MRMCPGatewayBackend.h:10
Definition MRMCPGatewayConfig.h:15
std::vector< std::string > launchArgs
Definition MRMCPGatewayConfig.h:21
std::string messagesPath
Definition MRMCPGatewayConfig.h:19
std::filesystem::path launchCommand
Definition MRMCPGatewayConfig.h:20
std::string toolsCacheNamespace
–tools-cache-namespace <name> (optional sub-folder)
Definition MRMCPGatewayConfig.h:23
std::string targetUrl
Definition MRMCPGatewayConfig.h:17
std::string ssePath
Definition MRMCPGatewayConfig.h:18
int mcpPort
-mcpPort N forwarded to spawned MI; targetUrl is derived from this if –target-url is omitted.
Definition MRMCPGatewayConfig.h:16
std::chrono::seconds launchTimeout
Definition MRMCPGatewayConfig.h:22