Skip to content
LangChain

JProfiler for LangChain

io.github.ej-technologies/jprofiler-mcp

Java profiling with AI agent integration. Profile CPU, memory, JDBC, HTTP and more.

client:LangChain transport:stdio runtime:npm

Install JProfiler in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

JProfiler in other clients