Selenium MCP server with JAVA MAVEN TESTNG, it executes browser automation tasks by converting natural language test steps into Selenium WebDriver commands using a LLM.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-selenium-server-ai": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This JAVA MAVEN TESTNG Project implements a Selenium Master Control Program (MCP) server in Java that executes browser automation tasks by converting natural language test steps into Selenium WebDriver commands using a Language Model (LLM). The server supports local Ollama or remote LLM endpoints and is configurable via property files. A TestNG-based client is included to send test prompts and log results.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in browser / developer-tools
Browser automation with Puppeteer for web scraping and testing
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP Security Weekly
Get CVE alerts and security updates for Mcp Selenium Server Ai and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Selenium MCP Server with AI
This JAVA MAVEN TESTNG Project implements a Selenium Master Control Program (MCP) server in Java that executes browser automation tasks by converting natural language test steps into Selenium WebDriver commands using a Language Model (LLM). The server supports local Ollama or remote LLM endpoints and is configurable via property files. A TestNG-based client is included to send test prompts and log results.
Project Structure
Application Flow:
Prerequisites
Setup
STEP 1:
Install Dependencies:Run the following command to download dependencies: mvn install
Configure the Server:Edit config.properties in the project root to set:
Sample config.properties:
STEP 2:
Configure Selenium Operations:The selenium_operations.properties file defines supported Selenium commands and their parameters. It includes operations like start_browser, navigate, click_element, and more. Modify this file to add or change operations if needed. Example
Set Up Ollama (if using local LLM):
Install Ollama (see Ollama documentation). Start Ollama server:
ollama serve
Ensure the specified model (e.g., llama3) is pulled:ollama pull llama3
Running the Server
Start the Server:Run the McpServer class:
mvn exec:java -Dexec.mainClass="McpServer"
Or, use your IDE to run McpServer.java. The server will start on the configured port (default: http://localhost:8080) and listen for POST requests to /execute.
Verify Server:Check the console for: MCP Server started on port 8080
Running the Client
Run Tests:Execute the TestNG client to send test steps and generate results: mvn test
Or, run SeleniumTestClient.java in your IDE with the TestNG plugin. The client sends a sample test prompt (e.g., navigating to https://example.com, clicking a link, and verifying text) and logs results using TestNG.
View Test Results:TestNG generates reports in the