Package com.codeborne.selenide.mcp
Class SelenideMcpServer
java.lang.Object
com.codeborne.selenide.mcp.SelenideMcpServer
MCP (Model Context Protocol) server that exposes Selenide browser automation
as tools consumable by AI assistants such as Claude.
Start via main(String[]) passing CLI arguments to configure the browser session.
See the module README for the full list of supported parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionSelenideMcpServer(SelenideConfig config) Creates a server backed by a browser session configured with the givenconfig. -
Method Summary
-
Constructor Details
-
SelenideMcpServer
Creates a server backed by a browser session configured with the givenconfig.
-
-
Method Details
-
start
Starts the MCP server over stdio and blocks until the JVM shuts down.- Parameters:
args- command-line arguments;--caps=codegenenables the codegen toolset
-
main
-