MCP SERVER
You need iterative development and repeatable tests to use coding agents effectively.
Work one story at a time. The agent reads the acceptance criteria, writes BDD tests and code. Run the tests on every commit. Move to the next story.
claude mcp add --transport http mainline \
https://mainline.dev/mcp \
--header "Authorization: Bearer YOUR_PERSONAL_TOKEN"
Make a personal token under Profile, then Coding agents. Read-only. Works solo or with a team.
LIST_MAPS
Every map for your team. The agent starts here.
GET_MAP
Activities, steps, stories, status, release slices, personas. What's being built for whom and where each story sits.
GET_STORY
Customer can save a shipping address
Given a logged-in customer at checkout
When they save an address
Then it appears pre-filled on their next order
The agent sees your ACs and can make them executable.
GET_FEATURE_FILE
The story's scenarios as a Gherkin .feature file, tagged with the story and scenario IDs, with pending step stubs in Kotlin, Java, Ruby, TypeScript or Python.
Mainline already stores your acceptance criteria as given/when/then scenarios. The MCP hands them to the agent. No copy-paste, no re-explaining what you already wrote down.
PRIVACY
Your acceptance criteria, in your agent's context.
Included in every install, read-only, two minutes to set up.