Skip to content
LangChain

contactapi for LangChain

io.github.kozmos-tech/contactapi

An open-source API for collecting and managing contacts and signups.

client:LangChain transport:stdio runtime:npm

Install contactapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

contactapi in other clients