FrameworkOrchestrator
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FrameworkOrchestrator
An MCP (Model Context Protocol) server that lets coding assistants such as GitHub Copilot agent mode, Claude Code and Cursor scaffold QA automation frameworks and generate page objects, tests and locators that follow your house style, compile, and never overwrite your code.
Host LLM generates, server guarantees. The server makes no LLM API calls and needs no API keys. Your assistant's own model writes the code. The server supplies deterministic context (stack detection, templates, conventions, existing classes) and safe actions (scaffold, write, dedupe locators, compile and report errors).
You: "Create a Playwright TypeScript framework with a LoginPage and a login test"
└─ assistant ── detect_project ─► plan_framework ─► (you approve the file list) ─► scaffold_framework
generate_class ─► writes the class body ─► write_file ─► add_locators ─► validate ─► fix ─► validateSupported stacks
Template pack | Stack | Class kinds |
|
| Selenium 4 + Java 21 + TestNG + Maven, Page Object Model | page, test, util, api_client |
|
| Playwright Test + TypeScript + npm, Page Object Model with fixtures | page, test |
|
New stacks are added as data (a template pack plus a conventions file), not code. See Adding a stack.
Related MCP server: LocatorLabs MCP Server
Tools
Tool | What it does | Writes? |
| Detects language, build tool, test tool, runner, pattern, base package, matching pack and existing classes (javalang for Java, tree-sitter for TypeScript) | No |
| Lists template packs and their variables | No |
| Builds a manifest of every file it would create ( | No |
| Renders the approved manifest (build file, base classes, config, agent instructions) and skips existing files | Yes |
| Returns a compilable skeleton with | No |
| Writes a file inside the workspace; refuses | Yes |
| Adds only new, unique locators to a page class (AST-based dedupe, so | Yes |
| Runs | No |
| Health check | No |
Every write tool supports dry_run. Errors come back as {"status": "error", "errors": [{file, line, message, code}]},
never as stack traces. Full contracts: docs/04-MCP-TOOLS-SPEC.md.
Slash commands (MCP prompts)
Prompt | Arguments | Flow |
| tool, language, pattern, requirements | detect, plan, approve, scaffold, generate, validate |
| page_name, description, html_snippet? | one page class plus its locators |
| page_class_path, html_snippet | pick locators from HTML and add only new ones |
| jira_text | turn ticket text into tests and page classes |
They appear as /mcp.framework-orchestrator.<name> in VS Code Copilot and /mcp__framework-orchestrator__<name>
in Claude Code. Resources: conventions://{pack} (house style) and template://{pack}/{kind} (raw templates).
Requirements
Python 3.11+ and uv
To compile generated projects with
validate: JDK + Maven for the Java pack; Node.js + npm for the Playwright pack (runnpm installin the generated project first)
Install
git clone https://github.com/vaibhavf775-jpg/framework-orchestrator-mcp.git
cd framework-orchestrator-mcp
uv sync
uv run framework-orchestrator # starts the stdio server; your assistant normally launches it for youConnect it to your assistant
The repo's own .mcp.json and .vscode/mcp.json use --directory . / ${workspaceFolder}, so they only work
when this repo is the open workspace (handy for developing the server). To use it from your test project,
point --directory at the absolute path of your clone.
Claude Code (.mcp.json in your project, or claude mcp add):
{
"mcpServers": {
"framework-orchestrator": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/framework-orchestrator", "framework-orchestrator"]
}
}
}VS Code / GitHub Copilot (.vscode/mcp.json in your project):
{
"servers": {
"framework-orchestrator": {
"type": "stdio",
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/framework-orchestrator", "framework-orchestrator"]
}
}
}Check it is connected with /mcp in Claude Code or MCP: List Servers in VS Code, then ask the assistant to
call ping. On Windows use a path like C:/Users/you/framework-orchestrator.
Example requests
"What automation stack is this project?" →
detect_project"Create a Selenium Java TestNG framework with base package com.acme.qa and a LoginPage + LoginTest."
"Scaffold a Playwright TypeScript framework named acme-e2e for https://qa.acme.com."
"Add locators for this HTML to pages/CheckoutPage.ts:
<button data-testid="pay">Pay now</button>..."/mcp__framework-orchestrator__new-page-classwith a page name, a description and an HTML snippet
The assistant always shows the planned file list and waits for your approval before anything is written. Re-running a scaffold skips every file that already exists.
Safety guarantees
No overwrites. Existing files are reported as
skipped. Only an explicitoverwrite=truereplaces a file, and the bundled prompts ask you before using it.Root-scoped writes. Paths with
.., absolute paths and symlinks that escape the workspace are refused (OUTSIDE_ROOT).Approval first.
plan_frameworkwrites nothing;scaffold_frameworkonly writes the manifest you approved.Minimal edits.
add_locatorsinserts lines and never reformats existing ones; line endings are preserved.No network or LLM calls from the server.
validateruns your local toolchain with a 300 s timeout and no shell.
Development
uv run ruff check . # lint
uv run mypy src # strict type check
uv run pytest -q # unit + MCP stdio integration tests
# Optional: scaffold the Playwright pack, add locators, npm install and type-check it for real
FO_RUN_NPM=1 uv run pytest -q tests/integration/test_playwright_tsc.pyProject rules for contributors (human or AI) are in CLAUDE.md: no LLM clients in the server, every
prompt in RICE-PoT format, a thin server.py with logic in core/, safe writes, AST parsing instead of regex for
source code, functions under 40 lines and modules under 300.
Layout
src/framework_orchestrator/
server.py MCP registration only (tools, prompts, resources)
core/ detector, planner, scaffolder, generator, locators, writer, validator, ...
core/parsers/ javalang (Java), tree-sitter (TypeScript), build-output parsers
templates/<pack>/ pack.yaml + scaffold/ + kinds/ Jinja2 templates (StrictUndefined)
conventions/<pack>.md house style, served as conventions://<pack> and copied into generated projects
prompts/ RICE-PoT slash commands; prompts/_internal/ holds tool instructions
tests/ unit, integration (real MCP client over stdio), fixtures and golden filesAdding a stack
Create
templates/<tool>-<language>-<runner>-<pattern>/withpack.yaml(detect,variables,kinds,naming),scaffold/andkinds/templates that compile with everyTODO(llm)left in place.Write
conventions/<pack>.md.Add a fixture project, a detector test and golden-file render tests.
No Python changes are needed for a new stack in a supported language. A new language needs a parser registered in
core/parsers/sources.py and, for add_locators, a LocatorEditor registered in core/locators.py.
Details: docs/05-TEMPLATES-AND-CONVENTIONS.md.
Design docs
Doc | Contents |
Responsibilities, components and request flow | |
Folder and module layout | |
Mandatory prompt format: Role, Instructions, Context, Example, Parameters, Output, Tone | |
Contract for every tool, prompt and resource | |
Template packs, variables and conventions files | |
The phased build plan (phases 0 to 6) with their prompts | |
Test strategy and done criteria |
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Approved test intent, reviewed Playwright automation and run evidence, inside your editor.
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
QA platform for agents: coverage signals, in-repo test plans, verified tests and release governance.
AI code governance and code review for Claude Code, Copilot and Cursor. Checks rules and security.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to generate standardized code using scaffolding templates, enforce architectural patterns, and validate outputs programmatically. Supports creating projects from boilerplates and adding features to existing codebases while maintaining team conventions.160AGPL 3.0
- AlicenseAqualityDmaintenanceGenerates intelligent Playwright locators with reliability rankings, creates Page Object Models, and runs test automation scripts directly from your IDE or AI assistant.511 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute browser automation, perform QA tasks, and generate test code through natural language commands using Playwright.7MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAutomates repository analysis, test planning, and generation of end-to-end tests with Playwright, acting as an intelligent quality assistant.MIT