When Claude Code has MCP access to Schaltwerk, you can manage sessions using natural language.Documentation Index
Fetch the complete documentation index at: https://schaltwerk.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What You Can Ask
Create a New Spec
Create a New Spec
You: “Create a Schaltwerk spec to add user authentication with JWT tokens”Claude: Creates a spec with the task description, ready to start when you’re ready
Check Session Status
Check Session Status
You: “Which Schaltwerk sessions are ready for review?”Claude: Lists all reviewed sessions that need your attention
Start Existing Specs
Start Existing Specs
You: “Start the user-auth spec in Schaltwerk”Claude: Converts the spec to a running session with worktree
Decide What to Work On
Decide What to Work On
You: “What Schaltwerk specs should I prioritize?”Claude: Reviews your specs and suggests what to work on based on dependencies and importance
Merge Sessions
Merge Sessions
You: “Merge the user-auth session to main”Claude: Checks the session is reviewed, runs tests, and merges if everything passes
Example Workflows
1. Creating Multiple Specs
You: “I need to build a complete authentication system. Create Schaltwerk specs for each part.” Claude creates:auth-registration- User signup with validationauth-login- Login with JWT tokensauth-password-reset- Password reset flowauth-session-management- Token refresh and logout
2. Starting Work
You: “Which spec should I start first?” Claude: “Start withauth-registration since the other specs depend on it. Shall I start this session for you?”
You: “Yes, start it”
Claude: Starts the session - now visible in your sidebar
3. Reviewing Progress
You: “Show me the status of all auth sessions” Claude:auth-registration- ✅ Reviewed, ready to mergeauth-login- 🔄 Runningauth-password-reset- 📝 Spec (not started)auth-session-management- 📝 Spec (not started)
4. Browsing Specs Before Starting
You: “List the specs in this project with their sizes” Claude: Usesschaltwerk_spec_list to return something like:
auth-password-reset— 1.2 KB (updated 2 minutes ago)auth-session-management— 3.6 KB (updated yesterday)
auth-password-reset”
Claude: Calls schaltwerk_spec_read and shows the spec content so you can review it before starting work.
5. Merging Work
You: “The auth-registration session looks good. Merge it to main.” Claude:- Checks tests pass
- Verifies no conflicts
- Merges to main
- Cleans up the session
Best Prompts
Be Specific
“Create a spec for OAuth login with Google and GitHub”vs ❌ “Add OAuth”
Mention Files
“Fix the validation bug in src/auth/validator.js”vs ❌ “Fix the bug”
Set Context
“Add error handling to all API endpoints in the payment module”vs ❌ “Add error handling”
Ask for Help
“What’s the best way to organize these features into sessions?”Claude can suggest how to structure your work
Next Steps
MCP Setup
Set up Claude Code with MCP
Using Schaltwerk
Learn the workflow

