Chrome Testing MCP Server
Tests and analyzes Angular web applications through Chrome automation: detects the Angular framework and version, lists component selectors, waits for Angular to load, captures multi-device screenshots, and collects performance, network, and console-error metrics into HTML/JSON reports. Also detects DevExtreme widgets (DataGrid, Scheduler, Form, Chart, etc.) on the page.
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.
Chrome Testing MCP Server
A Model Context Protocol (MCP) server for automated testing of Angular and DevExtreme web UI applications using Chrome browser automation. Works with Cursor, Claude Code, and any MCP-compatible client.
Features
π§ͺ Virtual Tester Capabilities
Automated Page Testing: Navigate to URLs and collect comprehensive metrics
Multi-Device Screenshots: Capture screenshots at mobile, tablet, laptop, and desktop viewports
Performance Analysis: Core Web Vitals (FCP, LCP, CLS) and detailed timing metrics
Network Monitoring: Track all HTTP requests, API calls, and failures
Error Detection: Capture JavaScript errors and console warnings
HTML/JSON Reports: Generate beautiful, detailed test reports
π± Device Viewports
Device | Resolution | Scale | Type |
Mobile (iPhone 14) | 390x844 | 3x | Touch |
Tablet (iPad) | 820x1180 | 2x | Touch |
Laptop (14") | 1366x768 | 1x | Desktop |
Desktop (24" Widescreen) | 1920x1080 | 1x | Desktop |
π§ DevExtreme Component Detection
Automatically detects and analyzes DevExtreme widgets:
DataGrid, TreeList, PivotGrid
Chart, Scheduler
Form, Popup, Button
TextBox, SelectBox, DateBox
Menu, Tabs, Accordion
And more...
π °οΈ Angular Application Support
Detects Angular framework
Identifies Angular version
Lists component selectors
Analyzes application structure
Related MCP server: Chrome DevTools MCP
Installation
Prerequisites
Node.js 18 or higher
Chrome/Chromium browser (Puppeteer will download one automatically)
Setup
# Clone or download the project
cd chrome-testing-mcp-server
# Install dependencies
npm install
# Build the project
npm run buildConfiguration
For Cursor IDE
Add to your .cursor/mcp.json:
{
"mcpServers": {
"chrome-testing": {
"command": "node",
"args": ["/path/to/chrome-testing-mcp-server/dist/index.js"]
}
}
}For Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"chrome-testing": {
"command": "node",
"args": ["/path/to/chrome-testing-mcp-server/dist/index.js"]
}
}
}For Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"chrome-testing": {
"command": "node",
"args": ["/path/to/chrome-testing-mcp-server/dist/index.js"]
}
}
}Available Tools
Browser Control
Tool | Description |
| Launch a Chrome browser instance |
| Navigate to a URL |
| Close the browser |
| Check browser status |
Testing & Analysis
Tool | Description |
| Run comprehensive test suite |
| Capture multi-device screenshots |
| Get performance metrics |
| Get network request details |
| Get console errors |
| Generate test report |
Framework Inspection
Tool | Description |
| Find DevExtreme components |
| Analyze Angular application |
Interaction
Tool | Description |
| Wait for element to appear |
| Click an element |
| Type text into input |
| Execute custom JavaScript |
Usage Examples
Basic Test Flow
User: Test my Angular application at https://myapp.example.com
Claude will:
1. Launch browser
2. Navigate to URL
3. Wait for Angular to load
4. Capture screenshots at all device sizes
5. Collect performance metrics
6. Monitor network requests
7. Check for errors
8. Generate detailed reportRun Full Test Suite
User: Run a complete test on https://app.example.com and save the report
Tools used:
- chrome_launch_browser (headless: true)
- chrome_run_full_test (url: "https://app.example.com")
- chrome_close_browser
Output: HTML report with screenshots, performance data, network analysisCheck Performance
User: What's the performance like on the dashboard page?
Tools used:
- chrome_navigate (url: "https://app.example.com/dashboard")
- chrome_get_performance (response_format: "markdown")Find Slow API Calls
User: Which API calls are taking more than 500ms?
Tools used:
- chrome_get_network_requests (filterType: "api", minDuration: 500)Multi-Device Screenshots
User: Show me how the app looks on mobile and desktop
Tools used:
- chrome_capture_screenshots (devices: ["mobile", "desktop"])Inspect DevExtreme Components
User: What DevExtreme components are on this page?
Tools used:
- chrome_inspect_devextreme (componentType: "all")Performance Thresholds
The following thresholds are used to evaluate performance:
Metric | Good | Needs Improvement |
First Contentful Paint | β€ 1.8s | > 1.8s |
Largest Contentful Paint | β€ 2.5s | > 2.5s |
Cumulative Layout Shift | β€ 0.1 | > 0.1 |
API Response Time | β€ 500ms | > 500ms |
Report Output
HTML Report Includes:
π Performance metrics with visual indicators
π Network analysis with API call details
π¨ Console errors and warnings
π± Multi-device screenshots
π Resource timing breakdown
β±οΈ Slowest requests identification
JSON Report Structure:
{
"id": "test-1234567890",
"url": "https://example.com",
"timestamp": "2024-01-15T10:30:00.000Z",
"duration": 5234,
"performance": {
"metrics": {
"firstContentfulPaint": 1200,
"largestContentfulPaint": 2100,
"cumulativeLayoutShift": 0.05,
"domContentLoaded": 1500,
"loadComplete": 2800
}
},
"networkSummary": {
"totalRequests": 45,
"failedRequests": 0,
"apiCalls": 12,
"averageLatency": 234
},
"errors": [],
"screenshots": [...]
}Troubleshooting
Browser fails to launch
Ensure Chrome/Chromium is installed or let Puppeteer download it
On Linux, install required dependencies:
apt-get install chromium-browserTry with
headless: falsefor debugging
Timeout errors
Increase timeout in navigate/wait commands
Check if the page requires authentication
Verify the URL is accessible
Network requests not captured
Ensure you call
chrome_navigateafterchrome_launch_browserSome requests may fire before monitoring starts
DevExtreme components not found
Verify DevExtreme is loaded on the page
Wait for dynamic content with
chrome_wait_for_elementCheck component selectors with browser DevTools
Development
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server
npm startArchitecture
chrome-testing-mcp-server/
βββ src/
β βββ index.ts # MCP server setup and tool registration
β βββ types.ts # TypeScript interfaces
β βββ constants.ts # Configuration constants
β βββ schemas/
β β βββ index.ts # Zod validation schemas
β βββ services/
β βββ browser.ts # Puppeteer browser automation
βββ package.json
βββ tsconfig.json
βββ README.mdLicense
MIT License - See LICENSE file for details.
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Add tests if applicable
Submit a pull request
Support
For issues and feature requests, please create an issue in the repository.
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
Automate cloud Chromeβnavigate, click, type, screenshot, run code, record screen video
Capture screenshots, detect visual regressions between page versions, and analyze with AI.
Save regression flows for your web app, run them in cloud Chromium, read failures with screenshots.
Website checker for AI coding agents. Measures your site in a real browser, with evidence.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to perform automated web testing by controlling a Chrome browser to navigate, interact with pages, capture screenshots, extract console logs, and simulate mobile devices for responsive design testing.7ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control and inspect a live Chrome browser for automated web debugging, performance analysis, and Lighthouse audits. It allows agents to capture screenshots, monitor network requests, and measure Core Web Vitals using plain-English prompts.Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI-driven UI inspection and optimization by scanning websites with configurable viewports, capturing screenshots, running deterministic accessibility and layout checks, and generating prioritized reports with fix prompts.2MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to see, measure, and verify web pages through a real Chrome browser, including screenshots, responsive layout and accessibility audits, pixel diffing against baselines, secure logins, and deployed-fix verification.271MIT