Skip to content
LangChain

SPM for LangChain

io.github.veridicaltech/spm-mcp

Evidence-gated agent memory: cites a stored source or refuses. Hosted or fully local.

client:LangChain transport:streamable-http runtime:oci

Install SPM in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "spm-mcp": {
            "transport": "streamable_http",
            "url": "https://api.spmos.ai/mcp",
        }
})

tools = await client.get_tools()

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

SPM in other clients