n8n MCP Community for LangChain
io.github.drzamarian/n8n-mcp-community
A security-focused MCP server for self-hosted n8n Community Edition.
client:LangChain
transport:stdio
runtime:npm
Install n8n MCP Community in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"n8n-mcp-community": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "n8n-mcp-community"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs