Back to Home
learn-automated-testing icon

selenium_mcp_server

Verified Safe

by learn-automated-testing

Overview

A Model Context Protocol (MCP) server that enables AI-powered browser automation for web testing, including automated test planning, code generation across multiple frameworks (pytest, Robot Framework, unittest), and self-healing of failing tests.

Installation

Run Command
npx ai-agent-selenium

Environment Variables

  • HEADLESS

Security Notes

The server's core functionality involves executing arbitrary JavaScript in a browser via the 'javascript_execute' tool and running shell commands (e.g., 'pytest', 'robot', 'pkill' for session reset). While these are essential for browser automation and test execution, they grant significant power to the MCP client. A compromised MCP client could potentially use these tools for malicious browser control or system interaction. However, these are expected functionalities for such a test automation tool. The server itself does not contain hardcoded sensitive credentials or obvious internal vulnerabilities. Human review/approval gates for test plans and file save locations (as detailed in `FINAL_CHANGES_SUMMARY.md`) provide a layer of user oversight to the agent workflow, mitigating some automation risks.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassHigh
Avg Tokens750
Stars1
Forks0
Last Update2025-11-24

Tags

seleniummcpbrowser automationAI agentsweb testingtest automationcode generationtest healingcontinuous integration