N8N_HTTP_STREAMABLE_SETUP.md
This guide shows how to configure the n8n-nodes-mcp community node to connect to n8n-mcp using the recommended HTTP Streamable transport.
Install n8n-nodes-mcp community node:
n8n-nodes-mcpEnsure environment variable is set:
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
# Stop any existing containers
docker stop n8n n8n-mcp && docker rm n8n n8n-mcp
# Start with HTTP Streamable configuration
docker-compose -f docker-compose.n8n.yml up -d
# Services will be available at:
# - n8n: http://localhost:5678
# - n8n-mcp: http://localhost:3000
n8n MCP Server{
"Authorization": "Bearer test-secure-token-123456789"
}
Add an MCP Client node to your workflow with these settings:
HTTP Streamablehttp://n8n-mcp:3000/mcpBearer AuthShows all available MCP tools:
tools_documentationlist_nodesget_node_infosearch_nodesget_node_essentialsvalidate_node_configExecute specific tools with arguments:
Example: Get Node Info
get_node_info{ "nodeType": "n8n-nodes-base.httpRequest" }Example: Search Nodes
search_nodes{ "query": "webhook", "limit": 5 }Import the pre-configured workflow:
examples/n8n-mcp-streamable-workflow.jsondocker psdocker logs n8n-mcphttp://n8n-mcp:3000/mcp (container name) not localhost# Test health check
curl http://localhost:3000/health
# Test MCP endpoint (should return error without proper JSON-RPC body)
curl -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer test-secure-token-123456789" \
-H "Content-Type: application/json"
/mcp endpoint handles all operations