Skip to main content
Documents Stack 0.2.0-dev.20260703.2. Lights, gardener, and durable meta-thread tools are documented in the 2026-07-03 changelog entry.
Stack exposes a Model Context Protocol (MCP) server so Codex (and other agents) can operate Synth through typed tools instead of scraping persistence or guessing API routes.

Run the server

Stdio (default for Codex in Stack):
HTTP (when stackd is healthy):
Stack registers MCP on Codex turns from the Agent pane when configured. See stackd. For hosted Managed Research without the Stack cockpit, see MCP Quickstart.

Start here: stack_status

Codex should call stack_status first. It returns bridge mode, environment, local optimizer state, remote SMR/Factory snapshot, hosted optimizer jobs, auth readiness, and suggested next actions. Then choose local-only or remote-only mode in the TUI (x) before live actions so tools match the intended surface.

Live operations tools

Downloads save under .stack/downloads/<environment>/<run-id>/.

Monitor and goal tools

Used by the sidecar monitor and gardener in Goal mode. Thread/goal creation must go through these owner tools; agents should not claim durable thread creation from local transcript edits or raw persistence writes.

Skills and guidance

Bundled skills install to ~/.stack/skills/ on make install. Stack mirrors them into the workspace .codex/skills/ for Codex discovery and never writes to ~/.codex/skills.

Codex skills to load

Load in this order when helping a Stack user:
  1. synth-stack-productivity — OSS + hosted map
  2. stack-local-setup — install, auth, local GEPA
  3. synth-via-stack — containers and optimizers
  4. stack-agent-bridge — live MCP operator workflow
  5. oss-gepa / gepa — when working with synth-optimizers
Skills ship in the Stack repo under .codex/skills/.

Rules of thumb

  • Use owner routes and MCP tools — do not bypass Stack to hit backend persistence.
  • Preview before download on large artifacts.
  • Never paste API keys into prompts or logs.
  • Start with stack_status, narrow to local or remote, then act.

Next