Skip to main content

Server

smithy​

CLI for running and managing smithy MCP Servers and Agents.

smithy <command> [flags]
FlagTypeDefaultDescription
-h, --helpbool—Show context-sensitive help.
-l, --log-levelenum(debug,info,warn,error)infoLog level (one of: debug,info,warn,error).

mcp​

Run and manage MCP Smithy servers.

smithy mcp [flags]

mcp up​

Start a named MCP server via the stack daemon.

smithy mcp up [flags]
ArgumentRequiredDefaultDescription
nameyes—MCP server name (must exist in the stack file).
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
-d, --detachbool—Return after the service starts instead of following logs.

mcp down​

Stop a named MCP server in the stack daemon.

smithy mcp down [flags]
ArgumentRequiredDefaultDescription
nameyes—MCP server name.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.

mcp serve​

Run MCP server.

smithy mcp serve [flags]
FlagTypeDefaultDescription
-c, --configstring.mcpsmithy.yamlPath to config.
--transportenum(stdio,http)stdioTransport to use (one of: stdio,http).
--addrstring:8080Listen address (HTTP transport only).
--watchboolfalseWatch config file and hot-reload on change.

mcp validate​

Validate config file.

smithy mcp validate [flags]
FlagTypeDefaultDescription
-c, --configstring.mcpsmithy.yamlPath to config.

mcp sources​

Manage sources.

smithy mcp sources [flags]

mcp setup​

Start config-authoring MCP server assistant.

smithy mcp setup [flags]

agent​

Run and manage Agent Smithy servers.

smithy agent [flags]

agent up​

Start a named agent via the stack daemon.

smithy agent up [flags]
ArgumentRequiredDefaultDescription
nameyes—Agent name (must exist in the stack file).
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
-d, --detachbool—Return after the service starts instead of opening the dashboard.

agent down​

Stop a named agent in the stack daemon.

smithy agent down [flags]
ArgumentRequiredDefaultDescription
nameyes—Agent name.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.

agent chat​

Chat with a daemon-supervised agent over a2a or mcp-http.

smithy agent chat [flags]
ArgumentRequiredDefaultDescription
nameyes—Agent name (must exist in the stack file).
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
-s, --stackstring—Stack name (defaults to the stem of --config).
--resetbool—Discard any persisted contextID and start a fresh conversation.

agent serve​

Start the agent server.

smithy agent serve [flags]
FlagTypeDefaultDescription
-c, --configstring.agentsmithy.yamlPath to config.
--transportenum(a2a,stdio,mcp-stdio,mcp-http,none)a2aTransport to use (one of: a2a,stdio,mcp-stdio,mcp-http,none).
--addrstring:8080Listen address (HTTP-like transports).
--watchboolfalseWatch config file and hot-reload on change.
-o, --oncestring—(stdio only) Send a single prompt, print the reply, then exit.
-v, --verbosebool—(stdio only) Print tool calls and intermediate steps.

agent validate​

Validate config file.

smithy agent validate [flags]
FlagTypeDefaultDescription
-c, --configstring.agentsmithy.yamlPath to config.

agent setup​

Start the config-authoring MCP assistant.

smithy agent setup [flags]

stack​

Run and manage multi Agent and MCP server stacks.

smithy stack [flags]

stack up​

Start a named stack and follow its log.

smithy stack up [flags]
ArgumentRequiredDefaultDescription
nameno—Stack name. Defaults to the stack file's basename without extension.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
-d, --detachbool—Return after the daemon is ready instead of following its log.

stack ls​

List all stacks under ./.smithy/.

smithy stack ls [flags]

stack ps​

List services in a running stack.

smithy stack ps [flags]
ArgumentRequiredDefaultDescription
nameno—Stack name.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.

stack logs​

Stream the daemon log for a stack.

smithy stack logs [flags]
ArgumentRequiredDefaultDescription
nameno—Stack name.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
-f, --followbool—Follow log output in --json mode.
--jsonbool—Output raw log instead of the interactive TUI.

stack down​

Stop a running stack.

smithy stack down [flags]
ArgumentRequiredDefaultDescription
nameno—Stack name.
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.

stack validate​

Validate a stack file.

smithy stack validate [flags]
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.

stack setup​

Run setup steps for stack services.

smithy stack setup [flags]

daemon​

Internal: run a stack as a daemon (re-exec target of stack up -d).

smithy __daemon__ [flags]
FlagTypeDefaultDescription
-c, --configstringsmithy-stack.yamlPath to config.
--namestring—Stack name.
--start-allbool—Start all services on daemon startup.