Singularity - MCP Discovery & Security Gateway for LangChain
io.github.gaurav-kumar-sinha-060705/singularity
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
client:LangChain
transport:streamable-http
Install Singularity - MCP Discovery & Security Gateway in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"singularity": {
"transport": "streamable_http",
"url": "https://singularity-osd2.onrender.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs