Skip to content
LangChain

Objective Trust for LangChain

io.github.anhmtk/objective-trust

Ranks MCP endpoints by health and your own outcomes before you pay.

client:LangChain transport:streamable-http

Install Objective Trust in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "objective-trust": {
            "transport": "streamable_http",
            "url": "https://agentshare.dev/mcp/objective-trust",
        }
})

tools = await client.get_tools()

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

Objective Trust in other clients