Skip to content
LangChain

Execute apify-native-mcp for LangChain

io.github.evozim/apify-native-mcp

Premium agentic endpoint for apify-native-mcp.

client:LangChain transport:sse

Install Execute apify-native-mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "apify-native-mcp": {
            "transport": "streamable_http",
            "url": "https://api.m2mcent.com/apify-native-mcp/sse",
        }
})

tools = await client.get_tools()

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

Execute apify-native-mcp in other clients