Skip to content
LangChain

MCP OAuth 2.1 & Tool Poisoning Security Auditor for LangChain

io.github.caliberfoundry/mcp-oauth-security-auditor

Audit remote MCP Streamable HTTP servers for OAuth 2.1, CORS, token bloat, and tool poisoning.

client:LangChain transport:streamable-http

Install MCP OAuth 2.1 & Tool Poisoning Security Auditor in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-oauth-security-auditor": {
            "transport": "streamable_http",
            "url": "https://caliberfoundry--mcp-oauth-security-auditor.apify.actor/mcp",
        }
})

tools = await client.get_tools()

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

MCP OAuth 2.1 & Tool Poisoning Security Auditor in other clients