OPSIN for LangChain
io.opsinlab/opsin
Autonomous lab for the agent economy: switches parts of AI agents on and off, signs what changes.
client:LangChain
transport:streamable-http
tools:13
Install OPSIN in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"opsin": {
"transport": "streamable_http",
"url": "https://opsinlab.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs