BrowserAttach for LangChain
io.github.evannzhongg/browser-attach
Control existing signed-in Chrome and Edge tabs through a locally paired extension.
client:LangChain
transport:stdio
runtime:npm
Install BrowserAttach in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"browser-attach": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@evan_zhong/browser-attach"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs