Getting Started
Quick start guide to understand and build this project
π― What Is This Project?
This project provides:
Complete Documentation for building an IETF vCon-compliant MCP server
Corrections to common implementation mistakes in the spec
Step-by-step Build Guide to implement from scratch
Reference Materials from IETF vCon working group
π Start Here
New to vCon?
Read in this order:
README.md (5 min)
Overview of the project
Documentation structure
Critical corrections summary
QUICK_REFERENCE.md (5 min)
Critical field corrections
Common mistakes to avoid
Quick checklist
CLAUDE.md (15 min)
Complete implementation guide for AI-assisted development
Corrected TypeScript types and patterns
Database schema and queries
Already Know vCon?
Fast track:
IMPLEMENTATION_CORRECTIONS.md (15 min)
All 7 critical spec issues
What was wrong vs. what's correct
Why each correction matters
CLAUDE.md (30 min)
Complete implementation guide
Corrected TypeScript types
Database schema and queries
MCP tool definitions
Migrating Existing Code?
MIGRATION_GUIDE.md (30 min)
Database migration SQL
Code refactoring steps
Verification queries
Use as checklist while migrating
π΄ Critical Corrections
β οΈ These are MANDATORY for IETF spec compliance:
1. Analysis Schema Field
2. Analysis Vendor Requirement
3. Analysis Body Type
See QUICK_REFERENCE.md for all 7 corrections.
π Quick Setup (5 Minutes)
Prerequisites
Node.js 18+ installed
Supabase account (free tier works)
Git installed
Setup Steps
π Documentation Map
π Learning Paths
Path 1: Complete Beginner (6 hours)
Goal: Build a working vCon MCP server from scratch
Read background material (1 hour)
background_docs/vcon_quickstart_guide.mddraft-ietf-vcon-vcon-core (introduction; the repo's
background_docs/holds only the older -00 text)
Understand corrections (30 min)
docs/reference/QUICK_REFERENCE.mddocs/reference/IMPLEMENTATION_CORRECTIONS.md
Follow the implementation guide (4 hours)
CLAUDE.mdβ complete patterns, types, and DB schema
Test and verify (30 min)
Run
npm testTest with AI assistant
Path 2: Experienced Developer (2 hours)
Goal: Implement spec-compliant vCon server quickly
Review corrections (15 min)
docs/reference/QUICK_REFERENCE.md
Study implementation (30 min)
CLAUDE.md
Build core (1 hour)
Database schema
TypeScript types
Database queries
Add MCP layer (15 min)
Tool definitions
Server setup
Path 3: Migration (3 hours)
Goal: Fix existing implementation to match spec
Identify issues (30 min)
docs/reference/IMPLEMENTATION_CORRECTIONS.mdCompare with your code
Plan migration (30 min)
docs/reference/MIGRATION_GUIDE.mdBackup database and code
Execute migration (1.5 hours)
Database schema changes
Code refactoring
Update tests
Verify (30 min)
Run verification queries
Run
npm testManual review
Path 4: AI-Assisted Build (30 min + AI time)
Goal: Use Claude Code to build for you
Prepare instructions (15 min)
Read
docs/reference/QUICK_REFERENCE.mdSet up Supabase
Provide to AI (5 min)
Review & test (10 min)
Verify no
schema_versionin codeCheck vendor is required
Run
npm test
π οΈ What You'll Build
Core Components
TypeScript Types (
src/types/vcon.ts)All IETF vCon objects
Corrected field names
Type validation helpers
Database Layer (
src/db/)Supabase client
CRUD operations
Search queries
MCP Server (
src/index.ts)Tool definitions
Request handlers
Error handling
Utilities (
src/utils/)vCon validation
Privacy helpers
Serialization
MCP Tools Provided (46 tools)
CRUD:
create_vcon,get_vcon,update_vcon,delete_vcon,add_party,add_dialog,add_analysis,add_attachment,create_vcon_from_templateSub-resource update/remove:
update_party,remove_party,update_dialog,remove_dialog,update_analysis,remove_analysis,update_attachment,remove_attachmentSearch:
search_vcons,search_vcons_content,search_vcons_semantic,search_vcons_hybridContract:
vcon_fetch,vcon_search,vcon_capabilities,vcon_taxonomy,vcon_aggregate,vcon_graph_shape,describe_response_shapeTags:
manage_tag,get_tags,remove_all_tags,search_by_tags,get_unique_tagsAnalytics:
get_database_analytics,get_monthly_growth_analytics,get_content_analytics,get_tag_analytics,get_attachment_analytics,get_database_health_metricsDatabase:
get_database_shape,get_database_stats,analyze_query,get_database_size_info,get_smart_search_limitsSchema:
get_schema,get_examples
REST API
All MCP tools are also available as REST endpoints at /api/v1 when running in HTTP transport mode. See the REST API Reference for details.
Database Schema
vcons- Main vCon recordsparties- Conversation participantsdialog- Recordings, texts, transfersanalysis- AI/ML analysis resultsattachments- File attachmentsparty_history- Event timeline
π Pre-Build Checklist
Before you start building:
β οΈ Common Pitfalls
Mistake #1: Using Wrong Field Names
Mistake #2: Making Vendor Optional
Mistake #3: Wrong Body Type
Mistake #4: Adding Default Values
Mistake #5: Forgetting New Fields
π§ͺ Testing Your Implementation
Quick Compliance Check
Integration Test
Create a test vCon:
π Getting Help
Documentation Questions
Check README.md troubleshooting section
Search for your error in the Building Guide
Review relevant correction in IMPLEMENTATION_CORRECTIONS.md
Spec Questions
Consult draft-ietf-vcon-vcon-core
Cross-reference section numbers in correction docs
Cross-reference the Implementation Corrections for before/after examples
Implementation Questions
Follow CLAUDE.md step-by-step
Use code examples from the Building Guide
Check MIGRATION_GUIDE.md for specific fixes
π― Success Criteria
Your implementation is successful when:
π Next Actions
Choose your path:
I'm Ready to Build
β Read CLAUDE.md and follow the patterns there
I Need to Understand Corrections First
β Read IMPLEMENTATION_CORRECTIONS.md
I'm Migrating Existing Code
β Follow MIGRATION_GUIDE.md
I Want the Quick Version
β Read QUICK_REFERENCE.md then dive into CLAUDE.md
π Project Status
β Complete:
Git repository initialized
All documentation created
Build guide written
Example code provided
β³ Next Steps:
Follow the Building Guide to implement
Run compliance tests
Deploy MCP server
Ready? Start with CLAUDE.md
Questions? Check README.md β Troubleshooting
Need quick reference? Use QUICK_REFERENCE.md
Last Updated: June 2026 Project: vCon MCP Server Documentation v1.2.0 Spec: draft-ietf-vcon-vcon-core-02 (v0.4.0)
Last updated