Use this after the local quickstart has created .specflow-local/mcp-config.json.
Open-source users run SpecFlow against their own local backend.
See QUICKSTART for details.
specflow-init.sh created a JSON snippet with MCP config.
Or
Open Settings -> MCP and paste contents .specflow-local/mcp-config.json.
claude mcp add-json specflow "$(jq '.mcpServers.specflow' .specflow-local/mcp-config.json)"Open Settings -> Developer -> Edit Config and merge the mcpServers block from
.specflow-local/mcp-config.json.
Copy the mcpServers block from .specflow-local/mcp-config.json into your
client's MCP config file.
| Variable | Required | Default | Role |
|---|---|---|---|
BACKEND_URL |
No | http://127.0.0.1:8000 |
Override only when connecting to a non-default backend |
USER_EMAIL |
No | git config user.email |
Local identity and display email |
WORKSPACE_COUNT |
No | 3 |
Variants per run: 1, 2, or 3 |
LLM_HIGH |
No | Opus 4.6 | High-complexity model (planning, knowledge base) |
LLM_MEDIUM |
No | Sonnet 4.6, GPT-5.3 Codex, Haiku 4.5" | Coding agents, comma-separated |
LLM_LOW |
No | Haiku 4.5 | Lightweight tasks model |
MCP_SERVERS_ENABLED |
No | playwright |
Optional agent MCPs forwarded to the backend (playwright, figma) |
LOG_LEVEL |
No | INFO |
Python logging level for the MCP process |
Local quickstart omits BACKEND_URL; the MCP server defaults to the local
backend at http://127.0.0.1:8000.
specflow-init.sh installs the local CLI once. Use it without uv run:
specflow sessions
specflow check-status
specflow sessions --watchWe strongly recommend state-of-the-art models like Sonnet 4.6, GPT-5.5, Opus 4.8 for best results. Keep optional model and agent MCP overrides out of first setup. Add them only when you need to tune behavior. Available models: OpenRouter — US only, ZDR data policy.
Optional LLM configuration
Add these to the existing env block in your MCP configuration:
"WORKSPACE_COUNT": "3",
"LLM_HIGH": "anthropic/claude-opus-4.6",
"LLM_MEDIUM": "anthropic/claude-sonnet-4.6,openai/gpt-5.4,anthropic/claude-sonnet-4.6",
"LLM_LOW": "anthropic/claude-haiku-4.5"LLM_HIGH— used for planning.LLM_MEDIUM— comma-separated, one per workspace (1–3); used for coding and analysis.LLM_LOW— used for quick indexing and simple operations.
Use SpecFlow MCP to check specification completeness
in spec_dir "my_specs", and outputs dir in "results"
For an existing codebase:
Use SpecFlow MCP to check specification completeness
in spec_dir "my_specs", outputs dir in "results",
and source dir in "src_dir"
check_specification_completenessruns locally and writes{outputs_dir}/analysis/specification_completeness.md.run_planningruns locally and writes{outputs_dir}/planning/IMPLEMENTATION_PLAN.md.run_generationsends specs and plans files to your local backend and starts code generation.check_statuschecks progress when you want an update.download_outputsdownloads generated code and reports.retry_generationresumes a failed run from its last checkpoint.
Steps 1 and 2 are local and safe to repeat. run_generation starts the long
backend run.
| Tool | Purpose |
|---|---|
check_specification_completeness |
Local spec analysis template; agent writes the analysis file. |
run_planning |
Local implementation plan template; agent writes planning files. |
read_document |
Local extraction for PDFs, DOCX, PPTX, XLSX, and CSV inputs. |
run_generation |
Backend upload, validation, and parallel code generation. |
check_status |
Progress check. |
retry_generation |
Retry a failed generation. |
download_outputs |
Download generated outputs. |
Full parameters and rejection codes: docs/mcp/API_REFERENCE.md.
The MCP stores the active run in specflow_session.json in your project root.
To start fresh, remove this file.
It is git-ignored and lets Cursor, Claude Code, or another MCP client recover the same run after restart.
Managed SpecFlow is internal to Grid Dynamics. If you are a GD employee with access, configure your MCP client with the managed backend URL, your API key, and your email:
claude mcp add specflow \
-e BACKEND_URL="https://<url>" \
-e SPECFLOW_API_KEY="specflow_xxxxx..." \
-e USER_EMAIL="you@example.com" \
-- uvx --from specflow specflow-mcp --refresh --no-cacheOpen-source users cannot connect to this service. Use QUICKSTART.md instead.