Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::ExternalServerConfig Struct Reference

Parsed server entry from .mcp.json. More...

#include <entropic/mcp/mcp_json_discovery.h>

Public Attributes

std::string name
 Server name.
 
std::string transport
 "stdio" | "sse"
 
std::string command
 Stdio command (empty for SSE)
 
std::vector< std::string > args
 Stdio command args.
 
std::map< std::string, std::string > env
 Stdio env vars.
 
std::string url
 SSE URL (empty for stdio)
 
std::string working_dir
 gh#166 (v2.13.0): cwd for the spawned child ("" = inherit).
 

Detailed Description

Parsed server entry from .mcp.json.

Version
1.8.7

Definition at line 31 of file mcp_json_discovery.h.

Member Data Documentation

◆ args

std::vector<std::string> entropic::ExternalServerConfig::args

Stdio command args.

Definition at line 35 of file mcp_json_discovery.h.

◆ command

std::string entropic::ExternalServerConfig::command

Stdio command (empty for SSE)

Definition at line 34 of file mcp_json_discovery.h.

◆ env

std::map<std::string, std::string> entropic::ExternalServerConfig::env

Stdio env vars.

Definition at line 36 of file mcp_json_discovery.h.

◆ name

std::string entropic::ExternalServerConfig::name

Server name.

Definition at line 32 of file mcp_json_discovery.h.

◆ transport

std::string entropic::ExternalServerConfig::transport

"stdio" | "sse"

Definition at line 33 of file mcp_json_discovery.h.

◆ url

std::string entropic::ExternalServerConfig::url

SSE URL (empty for stdio)

Definition at line 37 of file mcp_json_discovery.h.

◆ working_dir

std::string entropic::ExternalServerConfig::working_dir

gh#166 (v2.13.0): cwd for the spawned child ("" = inherit).

An external server is a separate process, and before this it took whatever cwd the HOST happened to have — which made a repo-scoped server useless in a second workspace. ServerManager fills this with its own root when a spec leaves it empty.

Definition at line 44 of file mcp_json_discovery.h.


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