SDODS
ReferenceCLI commands

sdods mcp, serve

Start the MCP server or the web server.

mcp

sdods mcp [-p <slug>] [-e <env>] [--caps <list>] [--list-tools]
sdods mcp --http [--port <n>] [--host <host>] [--token <token>]
sdods mcp install claude|codex|cursor|vscode|windsurf|gemini [-p <slug>] [-e <env>] [--caps <list>] [--http-url <url>] [--token-placeholder <text>] [--with-playwright] [--file] [--print]
FlagMeaning
--caps <list>capabilities: core,analyze,run,data,browser,agents,issues,schedules or all (default core,analyze,run,data,browser,schedules)
--list-toolsprint the tool catalogue and exit
--httpstreamable HTTP instead of stdio; --port (default 4001), --host (default 127.0.0.1)
--tokenaccept this single bearer token (development only; the server uses sdods tokens)
installregister the server with a client: claude and codex go through the client's own CLI (claude mcp add -s project …, codex mcp add …) when it is installed, otherwise the config file is merged (.mcp.json, ~/.codex/config.toml [mcp_servers.sdods], .cursor/mcp.json, .vscode/mcp.json, ~/.codeium/windsurf/mcp_config.json, .gemini/settings.json); stdio entries launch npx -y @sdods/cli mcp; --file forces the file path, --http-url configures the HTTP transport with the bearer token read from SDODS_TOKEN (never written into the file), --with-playwright also registers the raw upstream Playwright MCP server (off by default — the sdods server already wraps it as browser_*), --print shows the snippet

The stdio server exposes 86 tools, five prompts and resources for features, run summaries, NDJSON and screenshots; see MCP tools.

serve

sdods serve [--port <n>] [--host <host>] [--open] [--no-scheduler] [--auth-disabled]

Starts the Fastify server: REST API, Server-Sent Events, the web UI, MCP over HTTP at /mcp and the cron scheduler. --auth-disabled makes every request a local admin (development only). When no user exists the server prints a one-time setup URL; sdods users create --admin is the CLI alternative.

Environment: PORT, HOST, SESSION_SECRET, SDODS_PUBLIC_URL, AUTH_DISABLED, SDODS_PROJECTS_DIR, SDODS_ARTIFACTS_DIR, SDODS_MAX_CONCURRENT_RUNS, DB_DRIVER, DATABASE_URL, SQLITE_PATH.

Using an AI coding agent? Install SDODS:

Install the SDODS plugin in Claude Code: skills, subagents, commands and the MCP server.

  1. /plugin marketplace add YarlisAISolutions/sdods-skills
  2. /plugin install sdods@sdods
Learn more about using SDODS with AI tools

On this page