AI-augmented Playwright + pytest framework for testing MCP servers and UI flows, with optional self-healing, visual triage, fuzzing, and flaky-test analysis.
MCP Test Framework (Playwright + Python + AI)
An AI-augmented test automation framework for Model Context Protocol (MCP) servers and any UI in front of them, built on Playwright (Python) and pytest.
It gives you two things at once: 1. A normal, deterministic test framework (page objects, fixtures, MCP client, reporting) that works with zero AI dependency. 2. A set of opt-in AI modules (ai/) that plug into that framework to reduce maintenance burden and catch things static assertions miss — self-healing locators, visual regression triage, MCP fuzzing, flaky-test root-causing, and more.
Every AI feature is behind a flag in .env / config/settings.py and degrades gracefully (raises a clear error or skips) if ANTHROPICAPIKEY isn't set — the core suite never depends on AI to run.
Out of the box, tests/mcp/ runs against the bundled examples/demoserver.py (a ~40-line FastMCP server with example tools, a resource, and a prompt), so make test-mcp is green on a fresh clone with no external setup. To test your real server, point MCPSERVERCOMMAND / MCPSERVERARGS (or the mcpserver block in config/environments.yaml) at it — a python/python3 command is automatically resolved to the interpreter running pytest, so the server sees the same virtualenv.
TESTENV=staging pytest switches which block of config/environments.yaml is loaded.
By default, the UI examples point at https://rahulshettyacademy.com/practice. If you want to override it for local experimentation, set BASEURL before running pytest.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/vidhyampp--MCP-Test-Framework.html)
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools list them.
gary23w/f-ck_data_brokersfck_data_brokers.py is a free, open-source Python script that sends opt-out and deletion requests to data brokers on your behalf.
LiCinCan/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
2akouwu/reverifyStop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is
cranebeaker/coop-anythingCo-op Anything: point your AI agent at any single-player game and play it with friends (online and/or splitscreen!). MCP server and playbook to let you reverse engineer, fix, test, ship and share what
anujasid/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.