Learn how to use the vCon MCP Server with AI assistants and common workflows.
Before starting, ensure you have:
✅ Configured Claude Desktop or another MCP client
✅ Database migrations applied
✅ Valid Supabase credentials in .env
Your First vCon
Let's create your first vCon using Claude Desktop:
1. Ask Claude:
Copy Create a vCon for a customer support call between Alice (agent)
and Bob (customer) discussing a refund request. Claude will:
Create parties for Alice and Bob
Set subject to describe the call
2. View the vCon:
3. Add a transcript:
4. Add analysis:
Congratulations! You've created a complete vCon with dialog and analysis.
Core Operations
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
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:
Semantic Search
AI-powered search by meaning (requires embeddings):
Combines keyword and semantic for best results:
Add conversation segments:
Add AI/ML analysis results:
Add Attachments
Attach related files:
Update top-level vCon metadata:
Note: To modify parties, dialog, or analysis, add new items. The vCon spec favors immutability.
Tagging & Organization
See Tag Management Guide for complete tag documentation.
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:
Search vCons by date range
Filter for support + billing tags
Filter for negative sentiment
Multi-Step Operations
Claude can chain multiple tool calls automatically.
Tips & Best Practices
✅ DO:
Include timestamps when known
Use templates for common scenarios
❌ DON'T:
Leave subject empty unless truly unknown
Forget to specify party roles
✅ DO:
Reference dialog indexes in analysis
Include vendor info for all analysis
Use appropriate encoding (none/json/base64url)
❌ DON'T:
Store large files directly (use URLs instead)
Mix encoding types inconsistently
Forget to specify analysis type
✅ 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
✅ DO:
Use consistent tag naming (e.g., department:sales)
Use hierarchical tags (e.g., issue:billing:refund)
❌ DON'T:
Forget to remove outdated tags
Understanding Resources
Resources provide read-only access to vCon data:
Common Resources
vcon://v1/vcons/recent/25
vcon://v1/vcons/{uuid}/metadata
vcon://v1/vcons/{uuid}/parties
vcon://v1/vcons/{uuid}/dialog
vcon://v1/vcons/{uuid}/analysis
Array of analysis objects
vcon://v1/vcons/{uuid}/attachments
Array of attachment objects
vcon://v1/vcons/{uuid}/transcript
vcon://v1/vcons/{uuid}/summary
vcon://v1/vcons/{uuid}/tags
Using Resources
Resources are faster than tools for simple reads.
Understanding Prompts
Prompts guide Claude in using the right search strategy:
Available Prompts
find_by_exact_tags - Precise tag matches
find_by_semantic_search - Meaning-based search
find_by_keywords - Text search
find_recent_by_topic - Recent vCons on topic
find_by_customer - Customer-specific vCons
discover_available_tags - Explore tag schema
complex_search - Multi-criteria queries
find_similar_conversations - Similar to example
help_me_search - Search strategy help
Claude automatically selects the right prompt, but you can request:
See Prompts Guide for detailed documentation.
"vCon not found"
Solution: Check the UUID is correct:
"Invalid vCon data"
Solution: Include required fields:
"Search returned no results"
Solution: Broaden search criteria:
For Large Datasets
Use tags for filtering before search
Use date ranges to limit scope
Use resources for simple reads
Index dialog content for keyword search
Generate embeddings for semantic search
For Fast Queries
Query by UUID when known (fastest)
Use resources instead of tools for reads
Limit results to what you need
Cache frequently accessed vCons
The server includes database inspection tools:
View Database Structure
Uses get_database_shape tool.
Uses get_database_stats tool.
Uses analyze_query tool.
See Database Tools Guide for details.
Quick Help in Claude
GitHub Issues - Bug reports
GitHub Discussions - Questions and ideas
Discord - Real-time chat (coming soon)
Quick Reference
Most Common Commands
Create a vCon for a support call
Find vCons about billing from last week
Add a text dialog saying "Hello"
Add sentiment analysis from OpenAI
Tag this vCon as priority:high
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 2 months ago