cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::client::ProcessStdioTransportOptions Struct Reference

Configuration for a child-process stdio transport. More...

#include <process_stdio_transport.hpp>

Public Attributes

std::string command
 Executable to launch.
 
std::vector< std::string > args
 Command-line arguments passed to the executable.
 
std::string cwd
 Optional working directory for the child process.
 
std::unordered_map< std::string, std::string > env
 Extra environment variables for the child process.
 
std::optional< std::chrono::milliseconds > request_timeout
 Optional maximum time to wait for a JSON-RPC response from the child.
 

Detailed Description

Configuration for a child-process stdio transport.

Member Data Documentation

◆ request_timeout

std::optional<std::chrono::milliseconds> mcp::client::ProcessStdioTransportOptions::request_timeout
Initial value:
=
std::chrono::seconds(30)

Optional maximum time to wait for a JSON-RPC response from the child.

A null value waits indefinitely.


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