Skip to content
LangChain

MCP Fortress for LangChain

io.github.mcp-fortress/mcp-fortress

Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

client:LangChain transport:streamable-http

Install MCP Fortress in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-fortress": {
            "transport": "streamable_http",
            "url": "https://server.smithery.ai/@mcp-fortress/mcp-fortress-server/mcp",
        }
})

tools = await client.get_tools()

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

MCP Fortress in other clients