Walkthrough Agent
FreeNot checkedAn MCP server that reads app source code, generates contextually valid dummy data, and drives a browser through pages with narrated steps, error correction, and
About
An MCP server that reads app source code, generates contextually valid dummy data, and drives a browser through pages with narrated steps, error correction, and output reports.
README
An agentic MCP server that reads your app's source code, generates contextually valid dummy data, and drives a browser through your pages — narrating every step.
What it does
Developer runs agent
↓
Agent reads source folder → understands page structure
↓
Gemini generates contextually valid dummy inputs
↓
Playwright opens localhost URL + fills inputs + navigates
↓
On validation error → extract error from DOM → Gemini corrects inputs → retry (up to 3x)
↓
Output: terminal narration + screenshots + markdown report + Playwright trace
Setup
git clone <this repo>
cd walkthrough-agent
npm install
npx playwright install chromium
cp .env.example .env
# Add your GEMINI_API_KEY to .env
Get a free Gemini API key at aistudio.google.com.
Usage
Standalone CLI (fastest)
# Analyze + generate inputs + run browser walkthrough
npx walkthrough-agent --url http://localhost:3000/signup --folder ./src/app/signup
# DOM-only mode (no source folder needed)
npx walkthrough-agent --url http://localhost:3000/login
# Analyze only — print PageAnalysis + InputMap, no browser
npx walkthrough-agent --url http://localhost:3000/signup --folder ./src --analyze-only
# Override entry file detection
npx walkthrough-agent --url http://localhost:3000 --folder ./src --entry App.tsx
# Adjust max retries
npx walkthrough-agent --url http://localhost:3000/signup --folder ./src --retries 5
Output
Each run creates a timestamped directory:
output/run-2026-01-15-143022/
report.md ← walkthrough narrative
trace.zip ← Playwright trace (open at trace.playwright.dev)
screenshots/
01-page-load.png
02-fill-email.png
03-submit.png
04-result.png
As an MCP Server (Gemini CLI)
- Build first:
npm run build - Add to your Gemini CLI config:
{
"mcpServers": {
"walkthrough-agent": {
"command": "node",
"args": ["/path/to/walkthrough-agent/dist/server.js"],
"env": { "GEMINI_API_KEY": "your-key-here" }
}
}
}
- Tools available in Gemini CLI:
analyze_page— extract form structure from source + live DOMgenerate_inputs— generate valid dummy datarun_walkthrough— drive Playwright through the pagegenerate_report— write markdown report
Example terminal output
Walkthrough Agent
──────────────────────────────────────────────────
Analyzing ./src/app/signup ...
Entry file: page.tsx
Found: email, password, confirm-password, submit
Validation rules: valid email, min 8 chars, must match password
Generating inputs...
email → [email protected]
password → Walkthrough#42
confirm-password → Walkthrough#42
Output directory: output/run-2026-01-15-143022
Opening http://localhost:3000/signup
Page loaded
email filled
password filled
confirm-password filled
Submitting...
Error detected: "Password must contain a special character"
Retry 1/3 — correcting inputs...
Submission successful
──────────────────────────────────────────────────
Screenshot(s) saved: 6 files in output/run-.../screenshots
Report saved: output/run-.../report.md
Trace saved: output/run-.../trace.zip
Known concerns (before shipping v1)
See PLAN.md for items to address before implementation:
- FormElement stable key algorithm
- Error selector → fieldId mapping
analyze_pagePlaywright lifecycle in DOM-only mode- TypeScript build tooling verified above
- Gemini free-tier quota — verify before heavy use
- Report schema — implemented in
src/tools/report.ts
v2 roadmap
- Auth support (
--session-cookieflag) - Multi-page flow chaining
- Negative test case generation
- CI/CD — GitHub Action that posts walkthrough report as PR comment
- Claude Desktop MCP support
Installing Walkthrough Agent
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/sbhoyar1009/walkthrough-mcp-toolFAQ
Is Walkthrough Agent MCP free?
Yes, Walkthrough Agent MCP is free — one-click install via Unyly at no cost.
Does Walkthrough Agent need an API key?
No, Walkthrough Agent runs without API keys or environment variables.
Is Walkthrough Agent hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Walkthrough Agent in Claude Desktop, Claude Code or Cursor?
Open Walkthrough Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Walkthrough Agent with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
