Lab build

n8n MCP server with Pinecone RAG

n8n workflow exposed as an authenticated MCP server with Pinecone RAG tools for Claude and Cursor.

Role
Builder, end to end
Group
Agents and MCP
Services
AI & LLM systems

What it does

An MCP server built in n8n exposes workflow tools to hosts such as Claude Desktop, Cursor and Windsurf, secured with authentication. A Google Drive workflow builds a Pinecone vector database that the server's RAG agent queries, extra APIs are attached through HTTP Request nodes, and n8n is self-hosted so the server is reachable remotely.

What was built

  1. 01

    n8n MCP server trigger publishes workflow tools to Claude Desktop, Cursor, n8n and Windsurf clients.

  2. 02

    Google Drive workflow embeds documents into a Pinecone index for retrieval.

  3. 03

    RAG agent tool queries one or several vector databases from inside the MCP server.

  4. 04

    Authentication protects the server endpoint, and n8n is self-hosted for remote access.

The pipeline, layer by layer

Four layers, one pipeline.

  1. L1Hosts

    • Claude Desktop
    • Cursor
  2. L2Server

    • n8n MCP server
    • Authentication
  3. L3Tools

    • RAG agent tool
    • HTTP Request nodes
    • Zapier actions
  4. L4Data

    • Google Drive ingest
    • Pinecone index

Stack

  • n8n
  • Model Context Protocol
  • Pinecone
  • Google Drive
  • Google Cloud Console
  • Claude Desktop
  • Cursor
  • Zapier

Next lab build · 40 / 46

Python MCP server

Python MCP server exposing tools, resources and prompt templates over stdio, SSE and streamable HTTP.

Previous: CrewAI debate crew

Need a system like this in production? Tell us about it.