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_vcontoolCreate 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 conversationchat_conversation- Multi-party text chatemail_thread- Email conversationvideo_meeting- Video conference callcustom- 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 partiesvcon://v1/vcons/{uuid}/dialog- Just dialogvcon://v1/vcons/{uuid}/analysis- Just analysisvcon://v1/vcons/{uuid}/attachments- Just attachmentsvcon://v1/vcons/{uuid}/metadata- Just metadatavcon://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:
Keyword Search
Full-text search across dialog and analysis:
Semantic Search
AI-powered search by meaning (requires embeddings):
Hybrid Search
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:
Search vCons by date range
Filter for support + billing tags
Filter for negative sentiment
Analyze common themes
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
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
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
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
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
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
Search Guide - Master all search capabilities
Tag Management - Organize with tags
Prompts Guide - Understand prompts
API Reference - Complete tool documentation
Advanced Usage
Plugin Development - Extend functionality
Custom Tools - Add your own tools
Embeddings & Search - Set up semantic search
Examples
Code Examples - Real-world examples
Integration Patterns - Integration guides
Getting Help
Quick Help in Claude
Documentation
Installation Guide - Setup troubleshooting
API Reference - Tool parameters
Reference Docs - Technical specifications
Community
GitHub Issues - Bug reports
GitHub Discussions - Questions and ideas
Discord - Real-time chat (coming soon)
Quick Reference
Most Common Commands
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