cartesia mcp for LangChain
io.github.mrfentmen/cartesia-mcp
Query the Cartesia API: voice list, localized voices, and speech synthesis.
client:LangChain
transport:stdio
runtime:npm
Install cartesia mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"cartesia-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "cartesia-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs