AgentWorkshop.MCP (AgentWorkshop v0.3.0)

Copy Markdown View Source

MCP server for Workshop. Exposes all Workshop functions as MCP tools.

Quick start

AgentWorkshop.MCP.start(port: 4222)

# Then in .mcp.json:
# {"mcpServers": {"workshop": {"type": "http", "url": "http://localhost:4222/mcp"}}}

Available tools

ToolDescription
configureSet global defaults (model, context)
create_agentCreate a named agent with role and options
askSend a message and wait for response
castSend a message asynchronously
await / await_allWait for async results
statusDashboard of all agents
resultGet last response from an agent
pipeChain output from one agent to another
fanSend same message to multiple agents
infoDetailed agent info as JSON
agentsList all agent names
reset / dismissAgent lifecycle management
costShow costs across all agents

Summary

Functions

Start the Workshop MCP server over HTTP.

Functions

start(opts \\ [])

@spec start(keyword()) :: Supervisor.on_start()

Start the Workshop MCP server over HTTP.

Options

  • :port - HTTP port (default: 4222)
  • :request_timeout - MCP request timeout in ms (default: 300_000 / 5 min)
  • :session_idle_timeout - Session idle timeout in ms (default: 1_800_000 / 30 min)
  • :debug - when true, skip suppression of Anubis transport debug logs (default: false)