Basic Usage

Learn how to use the vCon MCP Server with AI assistants and common workflows.

Prerequisites

Before starting, ensure you have:

  • ✅ Completed Installation

  • ✅ Configured Claude Desktop or another MCP client

  • ✅ Database migrations applied

  • ✅ Valid Supabase credentials in .env


Quick Start

Your First vCon

Let's create your first vCon using Claude Desktop:

1. Ask Claude:

Create a vCon for a customer support call between Alice (agent) 
and Bob (customer) discussing a refund request.

Claude will:

  • Use the create_vcon tool

  • Create parties for Alice and Bob

  • Set subject to describe the call

  • Return the vCon UUID

2. View the vCon:

3. Add a transcript:

4. Add analysis:

Congratulations! You've created a complete vCon with dialog and analysis.


Core Operations

Creating vCons

Basic Creation

Using Templates

Available templates:

  • phone_call - Two-party phone conversation

  • chat_conversation - Multi-party text chat

  • email_thread - Email conversation

  • video_meeting - Video conference call

  • custom - Start from scratch

With Multiple Parties


Reading vCons

Get by UUID

Get Recent vCons

Or use the vcon://v1/vcons/recent resource:

Get Specific Fields

Use resources:

  • vcon://v1/vcons/{uuid}/parties - Just parties

  • vcon://v1/vcons/{uuid}/dialog - Just dialog

  • vcon://v1/vcons/{uuid}/analysis - Just analysis

  • vcon://v1/vcons/{uuid}/attachments - Just attachments

  • vcon://v1/vcons/{uuid}/metadata - Just metadata

  • vcon://v1/vcons/{uuid}/transcript - Transcript analysis (derived)

  • vcon://v1/vcons/{uuid}/summary - Summary analysis (derived)

  • vcon://v1/vcons/{uuid}/tags - Tags as object (derived)


Searching vCons

Basic Search (Filtering)

Search by subject, party name, or date:

Full-text search across dialog and analysis:

AI-powered search by meaning (requires embeddings):

Combines keyword and semantic for best results:


Adding Content

Add Dialog

Add conversation segments:

Add Analysis

Add AI/ML analysis results:

Add Attachments

Attach related files:


Updating vCons

Update top-level vCon metadata:

Note: To modify parties, dialog, or analysis, add new items. The vCon spec favors immutability.


Tagging & Organization

Add Tags

Search by Tags

View All Tags

Remove Tags

See Tag Management Guide for complete tag documentation.


Deleting vCons

Warning: This permanently deletes the vCon and all related data (parties, dialog, analysis, attachments). This action cannot be undone.


Common Workflows

Workflow 1: Customer Support Call

Step 1: Create vCon

Step 2: Add Recording

Step 3: Add Transcript

Step 4: Add Sentiment

Step 5: Tag for Organization

Step 6: Search Later


Workflow 2: Sales Call Analysis

Step 1: Create from Template

Step 2: Add Transcript

Step 3: Extract Action Items

Step 4: Generate Summary

Step 5: Tag


Workflow 3: Research Dataset

Step 1: Batch Create vCons

Step 2: Add Interview Transcripts

Step 3: Add Analysis

Step 4: Search Across Dataset

Step 5: Export Findings


Using with Claude Desktop

Example Conversations

Natural Language Commands

Claude understands natural language - you don't need precise syntax:

Complex Queries

Claude will:

  1. Search vCons by date range

  2. Filter for support + billing tags

  3. Filter for negative sentiment

  4. Analyze common themes

  5. Present findings

Multi-Step Operations

Claude can chain multiple tool calls automatically.


Tips & Best Practices

Creating vCons

DO:

  • Use descriptive subjects

  • Add all parties involved

  • Include timestamps when known

  • Use templates for common scenarios

DON'T:

  • Create duplicate vCons

  • Leave subject empty unless truly unknown

  • Forget to specify party roles

Adding Content

DO:

  • Reference dialog indexes in analysis

  • Include vendor info for all analysis

  • Use appropriate encoding (none/json/base64url)

  • Add timestamps to dialog

DON'T:

  • Store large files directly (use URLs instead)

  • Mix encoding types inconsistently

  • Forget to specify analysis type

Searching

DO:

  • Use semantic search for conceptual queries

  • Use keyword search for exact terms

  • Use hybrid search when uncertain

  • Add tags for better organization

DON'T:

  • Search by vCon content without indexes

  • Expect instant results with semantic search (requires embeddings)

  • Over-complicate search queries

Tagging

DO:

  • Use consistent tag naming (e.g., department:sales)

  • Tag early and often

  • Use hierarchical tags (e.g., issue:billing:refund)

  • Document your tag schema

DON'T:

  • Create one-off tag names

  • Use spaces in tag keys

  • Forget to remove outdated tags


Understanding Resources

Resources provide read-only access to vCon data:

List Resources

Common Resources

Resource
Purpose
Example

vcon://v1/vcons/recent

10 most recent vCons

Full vCon objects

vcon://v1/vcons/recent/25

Recent with custom limit

Max 100

vcon://v1/vcons/{uuid}

Specific vCon

Complete vCon

vcon://v1/vcons/{uuid}/metadata

Just metadata

Without dialog/analysis

vcon://v1/vcons/{uuid}/parties

Just parties

Array of parties

vcon://v1/vcons/{uuid}/dialog

All dialog

Array of dialog objects

vcon://v1/vcons/{uuid}/analysis

All analysis

Array of analysis objects

vcon://v1/vcons/{uuid}/attachments

All attachments

Array of attachment objects

vcon://v1/vcons/{uuid}/transcript

Transcript analysis

Filtered analysis array

vcon://v1/vcons/{uuid}/summary

Summary analysis

Filtered analysis array

vcon://v1/vcons/{uuid}/tags

Tags

Parsed tags object

Using Resources

Resources are faster than tools for simple reads.


Understanding Prompts

Prompts guide Claude in using the right search strategy:

Available Prompts

  1. find_by_exact_tags - Precise tag matches

  2. find_by_semantic_search - Meaning-based search

  3. find_by_keywords - Text search

  4. find_recent_by_topic - Recent vCons on topic

  5. find_by_customer - Customer-specific vCons

  6. discover_available_tags - Explore tag schema

  7. complex_search - Multi-criteria queries

  8. find_similar_conversations - Similar to example

  9. help_me_search - Search strategy help

Using Prompts

Claude automatically selects the right prompt, but you can request:

See Prompts Guide for detailed documentation.


Error Handling

Common Errors

"vCon not found"

Solution: Check the UUID is correct:

"Invalid vCon data"

Solution: Include required fields:

"Search returned no results"

Solution: Broaden search criteria:


Performance Tips

For Large Datasets

  1. Use tags for filtering before search

  2. Use date ranges to limit scope

  3. Use resources for simple reads

  4. Index dialog content for keyword search

  5. Generate embeddings for semantic search

For Fast Queries

  1. Query by UUID when known (fastest)

  2. Use resources instead of tools for reads

  3. Limit results to what you need

  4. Cache frequently accessed vCons


Database Tools

The server includes database inspection tools:

View Database Structure

Uses get_database_shape tool.

View Performance Stats

Uses get_database_stats tool.

Analyze Query Performance

Uses analyze_query tool.

See Database Tools Guide for details.


Next Steps

Learn More

Advanced Usage

Examples


Getting Help

Quick Help in Claude

Documentation

Community

  • GitHub Issues - Bug reports

  • GitHub Discussions - Questions and ideas

  • Discord - Real-time chat (coming soon)


Quick Reference

Most Common Commands

Task
Example

Create vCon

Create a vCon for a support call

Get vCon

Show me vCon abc-123

Search

Find vCons about billing from last week

Add dialog

Add a text dialog saying "Hello"

Add analysis

Add sentiment analysis from OpenAI

Tag

Tag this vCon as priority:high

Delete

Delete vCon abc-123

Key Concepts

  • vCon - Container for conversation data

  • Party - Participant in conversation

  • Dialog - Conversation segment (recording, text, etc.)

  • Analysis - AI/ML results (transcript, sentiment, etc.)

  • Attachment - Related files

  • Tags - Metadata for organization

  • Resources - Read-only data access

  • Prompts - Search strategy guidance


Ready to dive deeper? Continue to Search Guide

Last updated