Skip to content
LangChain

Kotlin & Java Library Sources for LangChain

io.github.aoreshkov/kotlin-lib-mcp

Kotlin/Java library sources, public API and KDoc from the real Maven sources jar, for AI agents

client:LangChain transport:stdio runtime:oci

Install Kotlin & Java Library Sources in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "kotlin-lib-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/aoreshkov/kotlin-lib-mcp:0.6.0"],
        }
})

tools = await client.get_tools()

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

Kotlin & Java Library Sources in other clients