Installation
Complete guide to installing and setting up the vCon MCP Server.
Prerequisites
Before you begin, ensure you have the following installed:
Required
Node.js 18.0 or higher
Check version:
node --versionDownload: nodejs.org
npm 9.0 or higher (comes with Node.js)
Check version:
npm --version
Git (for cloning the repository)
Check version:
git --versionDownload: git-scm.com
Supabase Account (free tier available)
Sign up: supabase.com
Optional
OpenAI API Key (for semantic search with embeddings)
Sign up: platform.openai.com
Claude Desktop (for using the server with Claude AI)
Download: claude.ai/download
Installation Methods
Choose the installation method that best fits your needs:
Method 1: Quick Install (Recommended)
Perfect for getting started quickly with the server.
Step 1: Clone the Repository
Step 2: Install Dependencies
This will install all required dependencies:
@modelcontextprotocol/sdk- MCP protocol implementation@supabase/supabase-js- Supabase clientzod- Runtime validationDevelopment tools (TypeScript, Vitest, etc.)
Step 3: Set Up Environment Variables
Configure the following required variables:
Getting Supabase Credentials:
Go to supabase.com and sign in
Create a new project (or select existing)
Go to Settings → API
Copy the Project URL to
SUPABASE_URLCopy the anon public key to
SUPABASE_ANON_KEY
Step 4: Set Up Database Schema
Run the database migrations to create the required tables:
Migration files included:
001_initial_schema.sql- Core vCon tables002_indexes.sql- Performance indexes003_rls_policies.sql- Row-level security004_search_functions.sql- Full-text search005_vector_extension.sql- Semantic search (optional)
Step 5: Build the Project
This compiles TypeScript to JavaScript in the dist/ directory.
Step 6: Verify Installation
✅ Installation complete! Proceed to Basic Usage.
Method 2: Development Install
For developers who want to contribute or modify the code.
Step 1: Fork and Clone
Step 2: Install with Dev Dependencies
Step 3: Set Up Environment
Step 4: Set Up Database
Step 5: Start Development Server
This starts the server in watch mode - changes will reload automatically.
Step 6: Run Tests in Watch Mode
Method 3: npm Global Install
Install the server globally to use from anywhere (coming soon).
Method 4: Docker Install
Use Docker for containerized deployment. The vCon MCP Server is available on ECR Public.
Quick Start
Available Image Tags
main
Latest stable build from main branch
main-<sha>
Specific commit (e.g., main-abc1234)
1.2.3, 1.2, 1
Semantic version releases
Running Scripts
The Docker image includes utility scripts:
Docker Compose
Connecting to Local Services
When connecting to services running on your host machine (like local Supabase):
Build Locally (Optional)
For complete Docker documentation, see the Docker Deployment Guide.
Configuring Claude Desktop
To use the vCon MCP Server with Claude Desktop:
Step 1: Locate Config File
The Claude Desktop configuration file location depends on your OS:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Step 2: Edit Configuration
Add the vCon MCP Server to your configuration:
Important: Use the absolute path to your dist/index.js file.
To find the absolute path:
Step 3: Restart Claude Desktop
Quit Claude Desktop completely
Reopen Claude Desktop
Start a new conversation
The vCon tools should now be available
Step 4: Verify in Claude
Ask Claude:
You should see vCon tools listed like:
create_vconget_vconsearch_vconsadd_analysisAnd more...
Optional: Semantic Search Setup
To enable AI-powered semantic search:
Step 1: Enable pgvector Extension
In your Supabase SQL Editor:
Step 2: Run Vector Migrations
Step 3: Add OpenAI API Key
Step 4: Generate Embeddings (Optional)
If you have existing vCons, generate embeddings:
Now you can use semantic search tools like search_vcons_semantic and search_vcons_hybrid.
Troubleshooting
Error: "Cannot find module 'dotenv'"
Solution: Install dependencies
Error: "ENOENT: no such file or directory"
Solution: Make sure you built the project
Error: "Invalid Supabase URL"
Solution: Check your .env file:
Error: "relation 'vcons' does not exist"
Solution: Run database migrations
Error: "Permission denied" when running scripts
Solution: Make scripts executable
Claude Desktop doesn't show vCon tools
Checklist:
✅ Built the project (
npm run build)✅ Used absolute path in config
✅ Restarted Claude Desktop completely
✅ .env file in project root
✅ Valid Supabase credentials
Debug:
Tests failing
Database connection issues
Environment Variables Reference
Complete list of supported environment variables:
SUPABASE_URL
✅ Yes
Your Supabase project URL
-
SUPABASE_ANON_KEY
✅ Yes
Supabase anon public key
-
SUPABASE_SERVICE_ROLE_KEY
❌ No
Service role key (admin operations)
-
OPENAI_API_KEY
❌ No
OpenAI API key for embeddings
-
AZURE_OPENAI_EMBEDDING_ENDPOINT
❌ No
Azure OpenAI base endpoint (e.g., https://your-resource.openai.azure.com)
-
AZURE_OPENAI_EMBEDDING_API_KEY
❌ No
Azure OpenAI API key
-
VCON_PLUGINS_PATH
❌ No
Comma-separated plugin paths
-
VCON_LICENSE_KEY
❌ No
Enterprise license key
-
MCP_SERVER_NAME
❌ No
Server name for MCP
vcon-mcp-server
LOG_LEVEL
❌ No
Logging level (debug/info/warn/error)
info
Verifying Your Installation
Quick Verification Script
Manual Verification
Updating
To update to the latest version:
Uninstalling
To completely remove the vCon MCP Server:
Next Steps
Once installation is complete:
Basic Usage Guide - Learn to use the server
Search Guide - Master search capabilities
Tag Management - Organize your vCons
API Reference - Detailed tool documentation
Getting Help
If you encounter issues:
Check Troubleshooting section above
Search GitHub Issues
Ask in GitHub Discussions
Report bugs with detailed error messages
Installation successful? Continue to Basic Usage →
Last updated