mermaid mcp app for LangChain
io.github.finfin/mermaid-mcp-app
MCP App that renders Mermaid diagrams as interactive UI in Claude, VS Code and other MCP clients
client:LangChain
transport:stdio
runtime:npm
Install mermaid mcp app in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mermaid-mcp-app": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "mermaid-mcp-app"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs