Supavec MCP Server

by taishikato

4 stars
159 downloads
Not rated
GitHub Website

Description

# Supavec MCP Server A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that enables AI assistants to fetch relevant embeddings and content from [Supavec](https://supavec.com). ## Features - 🔍 **Fetch Embeddings**: Search and retrieve relevant content from…

About

# Supavec MCP Server A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that enables AI assistants to fetch relevant embeddings and content from [Supavec](https://supavec.com). ## Features - 🔍 **Fetch Embeddings**: Search and retrieve relevant content from Supavec files using embeddings - 🤖 **AI…

Details

Author
taishikato
GitHub stars
4
Downloads
159
Categories
Database, Other, Knowledge Base, Search, AI

- Fetch embeddings from Supavec files by ID and query
- List all user-uploaded files with pagination
- Flexible authentication: command-line argument or environment variable
- Easy one-command setup via npx
- Integrates with Cursor, Claude, VS Code Copilot, and other MCP tools
- Supports file type, creation date, and team ID in responses

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Supavec MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npx @supavec/mcp-server --api-key your_api_key or globally with npm install -g @supavec/mcp-server. Configure by adding the server to your MCP client’s JSON configuration (e.g., .cursor/mcp.json). Provide your Supavec API key via the --api-key argument or the SUPAVEC_API_KEY environment variable.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "supavec mcp server": {
            "supavec-mcp-server": {
                "command": "npx",
                "args": [
                    "@supavec/mcp-server",
                    "--api-key",
                    "your_api_key"
                ]
            }
        }
    }
}

McpServers

{
    "supavec-mcp-server": {
        "command": "npx",
        "args": [
            "@supavec/mcp-server",
            "--api-key",
            "your_api_key"
        ]
    }
}

Supavec MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to fetch relevant embeddings and content from Supavec.

Features

- 🔍 Fetch Embeddings: Search and retrieve relevant content from Supavec files using embeddings
- 🤖 AI Integration: Works with Cursor, Claude, VS Code Copilot, and other MCP-compatible tools
- 🔑 Flexible Authentication: Support for both command-line arguments and environment variables
- ⚡ Easy Setup: One-command installation via npx

Installation

Quick Start with npx (Recommended)

No installation required! Use directly with npx:

npx @supavec/mcp-server --api-key your_api_key

Global Installation

npm install -g @supavec/mcp-server
supavec-mcp --api-key your_api_key

Configuration

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "supavec": {
      "command": "npx",
      "args": [
        "-y",
        "@supavec/mcp-server@latest",
        "--api-key",
        "your_supavec_api_key"
      ]
    }
  }
}

VS Code (Copilot)

Add to your .vscode/mcp.json:

{
  "servers": {
    "supavec": {
      "command": "npx",
      "args": [
        "-y", 
        "@supavec/mcp-server@latest",
        "--api-key",
        "your_supavec_api_key"
      ]
    }
  }
}

Claude Desktop

Add to your Claude configuration:

{
  "mcpServers": {
    "supavec": {
      "command": "npx",
      "args": [
        "-y",
        "@supavec/mcp-server@latest", 
        "--api-key",
        "your_supavec_api_key"
      ]
    }
  }
}

Environment Variables

Alternatively, set your API key as an environment variable:

export SUPAVEC_API_KEY=your_supavec_api_key

Then use in your MCP configuration without the --api-key argument:

{
  "mcpServers": {
    "supavec": {
      "command": "npx",
      "args": ["-y", "@supavec/mcp-server@latest"]
    }
  }
}

Authentication

Get Your API Key

1. Visit Supavec
2. Sign up or log in to your account
3. Navigate to your API settings
4. Generate a new API key

Usage Priority

The server checks for API keys in this order:
1. --api-key command line argument (highest priority)
2. SUPAVEC_API_KEY environment variable

Available Tools

fetch-embeddings

Fetch embeddings for a file by ID and query.

Parameters:
- file_id (string, required): ID of the file to get embeddings for
- query (string, required): Query to search for in the file

Example:

Ask your AI assistant: "Using Supavec, find information about 'authentication' in file abc123"

list-user-files

List all files uploaded to Supavec for the current user.

Parameters:
- limit (number, optional): Number of files to fetch (default: 10)
- offset (number, optional): Offset for pagination (default: 0)
- order_dir (string, optional): Order direction for results - "asc" or "desc" (default: "desc")

Example:

Ask your AI assistant: "List my Supavec files" or "Show me the first 20 files from my Supavec account"

Response includes:
- File ID and name
- File type and creation date
- Team ID
- Pagination information

Command Line Usage

Help

supavec-mcp --help

With API Key

supavec-mcp --api-key your_api_key_here

With Environment Variable

export SUPAVEC_API_KEY=your_api_key_here
supavec-mcp

Examples

Using with Cursor

1. Configure Supavec MCP in .cursor/mcp.json
2. Open Cursor and start a new chat
3. Ask: "Search for 'database setup' information in my Supavec file xyz789"
4. The AI will use the Supavec MCP to fetch relevant content

Using with Claude

1. Configure Supavec MCP in Claude settings
2. In a conversation, ask: "Find documentation about API endpoints in file abc123"
3. Claude will search your Supavec files and return relevant information

Troubleshooting

Common Issues

"Error: Supavec API key is required"
- Ensure you've provided an API key via --api-key or SUPAVEC_API_KEY environment variable

"Failed to fetch data: status 401"
- Your API key may be invalid or expired. Check your Supavec account settings

"Failed to fetch data: status 404"
- The file ID may not exist or you may not have access to it

Debug Mode

Run with environment variables to see more details:

DEBUG=1 supavec-mcp --api-key your_key

Development

Requirements

- Node.js 16.0.0 or higher
- TypeScript

Setup

git clone https://github.com/supavec/mcp-server.git
cd supavec-mcp-server
npm install
npm run build

Testing

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.