Selenide
MCP server giving AI agents browser automation with smart waits for UI tests
Selenide is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 7.19.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp -- npx -y @selenide/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@selenide/mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@selenide/mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@selenide/mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@selenide/mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp -- npx -y @selenide/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@selenide/mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@selenide/mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Or run: gemini mcp add -s user mcp npx -- -y @selenide/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@selenide/mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Selenide
Selenide's MCP server lets AI assistants drive a real browser as part of testing workflows, building on the Selenium WebDriver stack that the wider Selenide Java framework is known for. Instead of forcing an agent to juggle raw WebDriver calls and timing issues, the server packages browser control behind the same waiting logic that Selenide uses for AJAX-heavy pages.
It is installed by adding a short entry to a project's .mcp.json file that launches the npm package through npx, so it can be wired into any MCP-capable client without a separate build step. The companion Selenide CLI can also install agent skills into a project.
The server suits Java and JavaScript teams who already write or maintain browser-based UI tests and want an assistant to help author, run or debug them. It is open source under the MIT license.
What it does
- Smart waits for AJAX
- Browser actions wait for dynamic page elements to settle, reducing flaky timing failures.
- Installs via npx
- Runs as a stdio server launched with a single .mcp.json entry.
- Selenium WebDriver based
- Built on Selenium WebDriver 4 and compatible with its ecosystem.
- Concise test API
- Uses Selenide's fluent, readable syntax for locating elements and asserting state.
- Optional CLI skills
- A companion CLI can install agent skills into a project.
Good for
- Letting an AI assistant write browser UI tests for a web app
- Debugging failing UI tests with an agent that can drive the browser
- Automating login and navigation flows inside a test suite
- Adding agent-driven browser checks to an existing Selenide project
Pricing
Open source
Free and open source under MIT.
Prices change. Check selenide.org before you buy.
Selenide FAQ
How do I install the Selenide MCP server?
Create a .mcp.json file in your project with a selenide entry that runs npx against @selenide/mcp at the pinned version.
What license is Selenide under?
Selenide is distributed under the MIT license.
What is the underlying browser technology?
Selenide is built on and compatible with Selenium WebDriver 4.0 and later.
Is Selenide free?
Yes. Selenide is open source, so you can use and self-host it for free.
How do I add Selenide to Claude Code?
Run this command in your terminal: claude mcp add mcp -- npx -y @selenide/mcp
What are the best alternatives to Selenide?
The closest alternatives to Selenide are Selenium MCP, Selenium Webdriver MCP, Selenium MCP, Selenium AI Agent and Selenix MCP Server.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.