Skip to main content

Version 1

Auto-generated from config struct types and tags.

Config

Config is the root of smithy-stack.yaml. One file declares one supervised stack of MCP servers and agents.

FieldTypeRequiredDefaultExclusivityDescription
versionstringyesSchema version. Must be "1".
mcpsmap[string]MCPnoNamed MCP servers managed by this stack file.
agentsmap[string]AgentnoNamed agents managed by this stack file.
env_filestring[]noEnvFile is an optional list of dotenv files (KEY=VALUE) loaded
into the daemon process before any service starts. Paths are
resolved relative to the stack file's directory. Compose-style
semantics: the shell environment wins over file values; among
declared files, the first listed wins. A .env next to the
stack file is loaded automatically when this list is empty.

MCP

MCP is a single MCP server entry. The referenced config is loaded by mcpsmithy and served in-process by the supervisor.

FieldTypeRequiredDefaultExclusivityDescription
configstringyesPath to the mcpsmithy config file (.mcpsmithy.yaml). Resolved
relative to the stack file's directory.
transportTransportnoWire transport exposed by the server. Defaults to whatever the
referenced mcpsmithy config selects when unset.
addrstringnoListen address (host:port) for http transports. Mirrors
mcpsmithy's --addr flag. Ignored for stdio.
autorestartbooleannoRestart on non-zero exit. Defaults to true when unset; set false
to opt out per-entry (one-shot or hand-managed servers).

Agent

Agent is a single agent entry. The referenced config is loaded by agentsmithy and served in-process by the supervisor.

FieldTypeRequiredDefaultExclusivityDescription
configstringyesPath to the agentsmithy config file (.agentsmithy.yaml).
Resolved relative to the stack file's directory.
transportAgentTransportnoWire transport exposed by the agent. Defaults to a2a when unset.
addrstringnoListen address (host:port) for http-like transports. Mirrors
agentsmithy's --addr flag. Ignored for stdio transports.
autorestartbooleannoRestart on non-zero exit. Defaults to true when unset; set false
to opt out per-entry (one-shot or hand-managed agents).

Enum Reference

Transport

Transport selects the wire protocol an MCP server exposes.

ValueDescription
stdioTransportStdio runs the server over stdio.
httpTransportHTTP serves the server over streamable HTTP.

AgentTransport

AgentTransport selects the wire protocol an agent exposes.

ValueDescription
a2aAgentTransportA2A serves the agent as A2A JSON-RPC over HTTP.
mcp-httpAgentTransportMCPHTTP serves the agent as an MCP server over
streamable HTTP.
mcp-stdioAgentTransportMCPStdio serves the agent as an MCP server over
stdio.
stdioAgentTransportStdio runs the agent's line REPL over stdio.