.substrate/ directory at that location — this is the working directory your agent runtime must also use when it spawns the MCP server.
1
Initialize a .substrate/ directory
Create a blank Substrate workspace in your project:Or start with the bundled You can also pass a path to a local directory that contains a published workflow definition in place of a template name.
web-delivery starter — a ready-made board with a Spec → Plan → Build → Review → QA → Done pipeline and pre-configured gates:2
Open the local inspector
Start the read-only web inspector to browse your board:This opens the inspector at http://localhost:7475. If that port is already in use, Substrate scans ports 7475–7499 and prints the URL it actually bound. The board view auto-refreshes within seconds as task state changes.
3
Connect your agent
Register the stdio MCP server with your agent runtime, then ask the agent to call
whoami to confirm the connection. Full instructions are in the MCP setup guide.4
Let the agent work
Once connected, your agent follows this loop:Every write operation returns an envelope that names the policies that fired. Your agent uses that feedback to stay within the workflow’s rails without any additional prompting.
What gets created
Aftersubstrate init, your project gains the following structure:
.substrate/
Next steps
MCP Setup
Register the stdio MCP server and install the agent skill for Claude Code.
How It Works
Understand boards, stages, gates, and the policy envelope in depth.