Skip to content
LangChain

MPT (Ministério Público do Trabalho) for LangChain

io.github.mcp-dir/mpt-mcp

Looks up records of a person or company at the Labor Public Prosecutor's Office (MPT) from the CPF o

client:LangChain transport:streamable-http tools:7

Install MPT (Ministério Público do Trabalho) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mpt-mcp": {
            "transport": "streamable_http",
            "url": "https://api.mcp.ai/p_mpt",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

MPT (Ministério Público do Trabalho) in other clients