Skip to content
LangChain

selenium mcp for LangChain

io.github.pshivapr/selenium-mcp

Selenium Tools for MCP

client:LangChain transport:stdio runtime:npm

Install selenium mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "selenium-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "selenium-webdriver-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

selenium mcp in other clients