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
versionstringyes—Schema version. Must be "1".
mcpsmap[string]MCPno—Named MCP servers managed by this stack file.
agentsmap[string]Agentno—Named agents managed by this stack file.
env_filestring[]no—EnvFile 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
configstringyes—Path to the mcpsmithy config file (.mcpsmithy.yaml). Resolved
relative to the stack file's directory.
transportTransportno—Wire transport exposed by the server. Defaults to whatever the
referenced mcpsmithy config selects when unset.
addrstringno—Listen address (host:port) for http transports. Mirrors
mcpsmithy's --addr flag. Ignored for stdio.
autorestartbooleanno—Restart 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
configstringyes—Path to the agentsmithy config file (.agentsmithy.yaml).
Resolved relative to the stack file's directory.
transportAgentTransportno—Wire transport exposed by the agent. Defaults to a2a when unset.
addrstringno—Listen address (host:port) for http-like transports. Mirrors
agentsmithy's --addr flag. Ignored for stdio transports.
autostartbooleanno—AutoStart controls whether the agent starts with the stack.
Defaults to true for server transports, false for none.
autorestartbooleanno—Restart 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.
noneAgentTransportNone runs the agent once (no server). Suitable for
one-shot or cron-triggered agents.