Installation

Complete guide to installing and setting up the vCon MCP Server.

Prerequisites

Before you begin, ensure you have the following installed:

Required

Optional


Installation Methods

Choose the installation method that best fits your needs:


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 client

  • zod - Runtime validation

  • Development tools (TypeScript, Vitest, etc.)

Step 3: Set Up Environment Variables

Configure the following required variables:

Getting Supabase Credentials:

  1. Go to supabase.comarrow-up-right and sign in

  2. Create a new project (or select existing)

  3. Go to SettingsAPI

  4. Copy the Project URL to SUPABASE_URL

  5. Copy 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 tables

  • 002_indexes.sql - Performance indexes

  • 003_rls_policies.sql - Row-level security

  • 004_search_functions.sql - Full-text search

  • 005_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

Tag
Description

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.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.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

  1. Quit Claude Desktop completely

  2. Reopen Claude Desktop

  3. Start a new conversation

  4. The vCon tools should now be available

Step 4: Verify in Claude

Ask Claude:

You should see vCon tools listed like:

  • create_vcon

  • get_vcon

  • search_vcons

  • add_analysis

  • And 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:

  1. ✅ Built the project (npm run build)

  2. ✅ Used absolute path in config

  3. ✅ Restarted Claude Desktop completely

  4. ✅ .env file in project root

  5. ✅ Valid Supabase credentials

Debug:

Tests failing

Database connection issues


Environment Variables Reference

Complete list of supported environment variables:

Variable
Required
Description
Default

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:

  1. Basic Usage Guide - Learn to use the server

  2. Search Guide - Master search capabilities

  3. Tag Management - Organize your vCons

  4. API Referencearrow-up-right - Detailed tool documentation


Getting Help

If you encounter issues:

  1. Check Troubleshooting section above

  2. Report bugs with detailed error messages


Installation successful? Continue to Basic Usage

Last updated