Getting Started

Quick start guide to understand and build this project

🎯 What Is This Project?

This project provides:

  1. Complete Documentation for building an IETF vCon-compliant MCP server

  2. Corrections to common implementation mistakes in the spec

  3. Step-by-step Build Guide to implement from scratch

  4. Reference Materials from IETF vCon working group

📚 Start Here

New to vCon?

Read in this order:

  1. README.mdarrow-up-right (5 min)

    • Overview of the project

    • Documentation structure

    • Critical corrections summary

  2. QUICK_REFERENCE.mdarrow-up-right (5 min)

    • Critical field corrections

    • Common mistakes to avoid

    • Quick checklist

  3. BUILD_GUIDE.mdarrow-up-right (60 min read, 4-6 hrs to implement)

    • Complete step-by-step implementation

    • Code examples for every component

    • Testing and deployment

Already Know vCon?

Fast track:

  1. IMPLEMENTATION_CORRECTIONS.mdarrow-up-right (15 min)

    • All 7 critical spec issues

    • What was wrong vs. what's correct

    • Why each correction matters

  2. CLAUDE_CODE_INSTRUCTIONS.mdarrow-up-right (30 min)

    • Complete implementation guide

    • Corrected TypeScript types

    • Database schema and queries

    • MCP tool definitions

  3. BUILD_GUIDE.mdarrow-up-right → Jump to Phase 4

    • Skip setup if you have environment ready

    • Start with Core Implementation

Migrating Existing Code?

  1. MIGRATION_GUIDE.mdarrow-up-right (30 min)

    • Database migration SQL

    • Code refactoring steps

    • Verification queries

  2. QUICK_REFERENCE.mdarrow-up-right

    • 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.mdarrow-up-right 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

  1. Read background material (1 hour)

    • background_docs/vcon_quickstart_guide.md

    • background_docs/draft-ietf-vcon-vcon-core-00.txt (introduction)

  2. Understand corrections (30 min)

    • QUICK_REFERENCE.md

    • IMPLEMENTATION_CORRECTIONS.md

  3. Follow build guide (4 hours)

    • BUILD_GUIDE.md - Complete all 7 phases

  4. Test and verify (30 min)

    • Run compliance tests

    • Test with AI assistant

Path 2: Experienced Developer (2 hours)

Goal: Implement spec-compliant vCon server quickly

  1. Review corrections (15 min)

    • QUICK_REFERENCE.md

  2. Study implementation (30 min)

    • CLAUDE_CODE_INSTRUCTIONS.md

  3. Build core (1 hour)

    • Database schema

    • TypeScript types

    • Database queries

  4. Add MCP layer (15 min)

    • Tool definitions

    • Server setup

Path 3: Migration (3 hours)

Goal: Fix existing implementation to match spec

  1. Identify issues (30 min)

    • IMPLEMENTATION_CORRECTIONS.md

    • Compare with your code

  2. Plan migration (30 min)

    • MIGRATION_GUIDE.md

    • Backup database and code

  3. Execute migration (1.5 hours)

    • Database schema changes

    • Code refactoring

    • Update tests

  4. Verify (30 min)

    • Run verification queries

    • Compliance tests

    • Manual review

Path 4: AI-Assisted Build (30 min + AI time)

Goal: Use Claude Code to build for you

  1. Prepare instructions (15 min)

    • Read QUICK_REFERENCE.md

    • Set up Supabase

  2. Provide to AI (5 min)

  3. Review & test (10 min)

    • Verify no schema_version in code

    • Check vendor is required

    • Run compliance tests

🛠️ What You'll Build

Core Components

  1. TypeScript Types (src/types/vcon.ts)

    • All IETF vCon objects

    • Corrected field names

    • Type validation helpers

  2. Database Layer (src/db/)

    • Supabase client

    • CRUD operations

    • Search queries

  3. MCP Server (src/index.ts)

    • Tool definitions

    • Request handlers

    • Error handling

  4. Utilities (src/utils/)

    • vCon validation

    • Privacy helpers

    • Serialization

MCP Tools Provided

  • create_vcon - Create new vCon

  • add_analysis - Add analysis to vCon

  • add_dialog - Add dialog to vCon

  • get_vcon - Retrieve vCon by UUID

  • search_vcons - Search vCon database

  • update_vcon - Update vCon fields

Database Schema

  • vcons - Main vCon records

  • parties - Conversation participants

  • dialog - Recordings, texts, transfers

  • analysis - AI/ML analysis results

  • attachments - File attachments

  • party_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

Spec Questions

  • Consult background_docs/draft-ietf-vcon-vcon-core-00.txt

  • Cross-reference section numbers in correction docs

  • Check VISUAL_REFERENCE.mdarrow-up-right for before/after examples

Implementation Questions

🎯 Success Criteria

Your implementation is successful when:

🚀 Next Actions

Choose your path:

I'm Ready to Build

→ Go to BUILD_GUIDE.mdarrow-up-right and start at Phase 1

I Need to Understand Corrections First

→ Read IMPLEMENTATION_CORRECTIONS.mdarrow-up-right

I'm Migrating Existing Code

→ Follow MIGRATION_GUIDE.mdarrow-up-right

I Want the Quick Version

→ Read QUICK_REFERENCE.mdarrow-up-right then jump to BUILD_GUIDE.mdarrow-up-right Phase 4


📊 Project Status

Complete:

  • Git repository initialized

  • All documentation created

  • Build guide written

  • Example code provided

Next Steps:

  • Follow BUILD_GUIDE.md to implement

  • Run compliance tests

  • Deploy MCP server


Ready? Start with BUILD_GUIDE.mdarrow-up-right

Questions? Check README.mdarrow-up-right → Troubleshooting

Need quick reference? Use QUICK_REFERENCE.mdarrow-up-right


Last Updated: October 7, 2025 Project: vCon MCP Server Documentation v1.0.0 Spec: draft-ietf-vcon-vcon-core-00

Last updated