
Supavec
STDIOMCP server for fetching relevant content from Supavec
MCP server for fetching relevant content from Supavec
A Model Context Protocol (MCP) server that enables AI assistants to fetch relevant embeddings and content from Supavec.
No installation required! Use directly with npx:
npx @supavec/mcp-server --api-key your_api_key
npm install -g @supavec/mcp-server supavec-mcp --api-key your_api_key
Add to your .cursor/mcp.json
:
{ "mcpServers": { "supavec": { "command": "npx", "args": [ "-y", "@supavec/mcp-server@latest", "--api-key", "your_supavec_api_key" ] } } }
Add to your .vscode/mcp.json
:
{ "servers": { "supavec": { "command": "npx", "args": [ "-y", "@supavec/mcp-server@latest", "--api-key", "your_supavec_api_key" ] } } }
Add to your Claude configuration:
{ "mcpServers": { "supavec": { "command": "npx", "args": [ "-y", "@supavec/mcp-server@latest", "--api-key", "your_supavec_api_key" ] } } }
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"] } } }
The server checks for API keys in this order:
--api-key
command line argument (highest priority)SUPAVEC_API_KEY
environment variablefetch-embeddings
Fetch embeddings for a file by ID and query.
Parameters:
file_id
(string, required): ID of the file to get embeddings forquery
(string, required): Query to search for in the fileExample:
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:
supavec-mcp --help
supavec-mcp --api-key your_api_key_here
export SUPAVEC_API_KEY=your_api_key_here supavec-mcp
.cursor/mcp.json
"Error: Supavec API key is required"
--api-key
or SUPAVEC_API_KEY
environment variable"Failed to fetch data: status 401"
"Failed to fetch data: status 404"
Run with environment variables to see more details:
DEBUG=1 supavec-mcp --api-key your_key
git clone https://github.com/supavec/mcp-server.git cd supavec-mcp-server npm install npm run build
# Test with MCP Inspector npm run inspector # Test command line npm run build node build/index.js --help
git checkout -b feature-name
git commit -am 'Add feature'
git push origin feature-name
MIT License - see LICENSE for details.