schelling protocol for LangChain
io.github.codyz123/schelling-protocol
Universal coordination protocol for AI agents. Discovery, matching, and negotiation.
client:LangChain
transport:stdio
runtime:npm
Install schelling protocol in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"schelling-protocol": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@schelling/mcp-server"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs