Skip to content
LangChain

gsep mcp for LangChain

io.github.gsepcore/gsep-mcp

AI agent security via MCP: C3 firewall, C4 immune system, C5 action guard, self-evolving prompts.

client:LangChain transport:stdio runtime:npm

Install gsep mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "gsep-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@gsep/mcp"],
        }
})

tools = await client.get_tools()

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

gsep mcp in other clients