Vectorize MCP Server Setup Guide

Installation

Running with npx

  1. Set up the required environment variables:

    export VECTORIZE_ORG_ID=YOUR_ORG_ID
     export VECTORIZE_TOKEN=YOUR_TOKEN
     export VECTORIZE_PIPELINE_ID=YOUR_PIPELINE_ID
     
  2. Run the Vectorize MCP Server using npx:

    npx -y @vectorize-io/vectorize-mcp-server@latest
     

Configuration

Configuration on Claude/Windsurf/Cursor/Cline

  1. Configure the MCP server with the following JSON structure:
    {
      "mcpServers": {
      "vectorize": {
      "command": "npx",
      "args": ["-y", "@vectorize-io/vectorize-mcp-server@latest"],
      "env": {
      "VECTORIZE_ORG_ID": "your-org-id",
      "VECTORIZE_TOKEN": "your-token",
      "VECTORIZE_PIPELINE_ID": "your-pipeline-id"
      }
      }
      }
     }
     

Tools

Retrieve Documents

  • Perform vector search and retrieve documents:
    {
      "name": "retrieve",
      "arguments": {
      "question": "Financial health of the company",
      "k": 5
      }
     }
     

Text Extraction and Chunking

  • Extract text from a document and chunk it into Markdown format:
    {
      "name": "extract",
      "arguments": {
      "base64document": "base64-encoded-document",
      "contentType": "application/pdf"
      }
     }
     

Deep Research

  • Generate a Private Deep Research from your pipeline:
    {
      "name": "deep-research",
      "arguments": {
      "query": "Generate a financial status report about the company",
      "webSearch": true
      }
     }
     

Development

  1. Install dependencies:

    npm install
     
  2. Run the development server:

    npm run dev
     

Contributing

  1. Fork the repository.
  2. Create your feature branch.
  3. Submit a pull request.
Share this post: