Testing
β
Quick Test Results
Your MCP server is fully functional! All 11 tools tested successfully:
β search_vcons
β get_vcon
β create_vcon
β add_dialog
β add_analysis
β add_attachment
β delete_vcon
β update_vcon
β create_vcon_from_template
β get_schema
β get_examples
π§ Three Ways to Test
Option 1: MCP Inspector (Best for Development) π―
The MCP Inspector provides a GUI for testing your server.
Start the Inspector:
Then open http://localhost:5173 in your browser.
What you can do:
Browse available tools visually
Test each tool with form inputs
See real-time request/response logs
Debug tool parameters and results
Try these in the Inspector:
search_vcons
get_vcon
Option 2: Claude Desktop (Best for Real Usage) π¬
Integrate your MCP server directly with Claude Desktop.
Setup Steps:
Copy the config file:
Restart Claude Desktop
Verify it loaded:
Look for the π MCP icon in Claude Desktop
It should show "vcon" as an available server
You should see 11 tools available
Test in Claude:
Try asking Claude:
"Search for vCons about Chevrolet vehicles"
"Get the vCon with UUID 01f344c1-02c2-478f-9441-f25bdc85bdaf"
"Show me conversations from today"
"Create a new vCon for a customer support call"
Example prompts:
Option 3: Direct Script Testing (Best for Automation) π€
Run the test script directly to verify all functionality.
Run tests:
Unit test suite
Run the Vitest suite (includes search RPC method tests):
Relevant files:
tests/search.test.tsβ RPC wiring for keyword, semantic, hybrid search
What it tests:
β Search vCons by subject
β Retrieve full vCon with all relationships
β Create new vCon with parties
β Add dialog to vCon
β Add AI analysis
β Add attachments
β Search by party
β Delete vCon
Output shows:
Each test step with results
Actual data from your database
Success/failure status
Complete validation
π Sample Test Data
Your database has real production data:
Example vCon UUIDs to test with:
Sample Queries:
Search by subject:
Search by party:
Date range search:
π― Recommended Testing Flow
1. Quick Validation (2 minutes)
β Confirms all tools work
2. Interactive Testing (10 minutes)
Open http://localhost:5173
Test each tool manually
Experiment with different parameters
3. Real Usage (ongoing)
Set up Claude Desktop integration
Use natural language to interact with vCons
Build workflows with AI assistance
π Debugging
View Server Logs
Database Queries
Check Supabase Status
π Advanced Testing
Load Testing
Create a script to generate many vCons:
Integration Testing
Test with external systems:
π Test Checklist
Before deploying:
π You're Ready!
Your MCP server is fully tested and operational. Choose your preferred testing method:
Quick validation: Run
npx tsx scripts/test-mcp-tools.tsInteractive testing: Use MCP Inspector
Production usage: Integrate with Claude Desktop
All 4,443 production vCons are loaded and accessible!
Last updated