This workflow sets up a robust, scalable MCP (Multi-Agent Collaboration Protocol) server for a Brave Search AI agent. It acts as the public gateway, receiving user search queries via an SSE (Server-Sent Events) endpoint. When a request is received, it triggers a sub-workflow that intelligently decides whether to perform a web search or a local search using Brave’s MCP tools. The AI agent, powered by Google Gemini, analyzes the query and orchestrates the appropriate search method, using connected tools for web or local search and maintaining conversational context in memory. The results are summarized and streamed back to the user, providing an efficient, modular, and customizable search assistant suitable for integrating AI-powered search functionalities into various applications.
Automated Brave Search Response with n8n MCP Gateway
Node Count | >20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatGoogleGemini, @n8n/n8n-nodes-langchain.mcpTrigger, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.toolWorkflow, executeWorkflowTrigger, n8n-nodes-mcp.mcpClientTool, stickyNote |
Reviews
There are no reviews yet.