"Find all conversations mentioning Nissan from the last week"
"Get the full details of vCon 01f344c1-02c2-478f-9441-f25bdc85bdaf
and summarize the conversation"
"Create a new vCon for a customer service call between an agent
named Alice and a customer named Bob about a product inquiry"
"Add sentiment analysis to vCon 01f344c1-02c2-478f-9441-f25bdc85bdaf
showing positive sentiment with score 0.85"
cd /Users/thomashowe/Documents/GitHub/vcon-mcp
npx tsx scripts/test-mcp-tools.ts
npm test
01f344c1-02c2-478f-9441-f25bdc85bdaf - Chevrolet Silverado inquiry
ac8b993d-f67d-4579-8d38-63e56b71234a - Champion Chevrolet GMC
554f6095-8b89-40a6-9103-64d905b5b385 - Pride Chevrolet
002c489d-3eec-4596-bc72-da4eb3b05caa - Burleson Nissan reservation
# Find the dev server process
ps aux | grep "tsx watch"
# Server logs appear in the terminal where you ran `npm run dev`
# Connect to database
psql postgresql://postgres:[email protected]:54322/postgres
# Useful queries
SELECT COUNT(*) FROM vcons;
SELECT uuid, subject FROM vcons LIMIT 5;
SELECT * FROM parties WHERE name ILIKE '%customer%';
supabase status
for i in {1..100}; do
npx tsx -e "
import { getSupabaseClient } from './src/db/client.js';
import { VConQueries } from './src/db/queries.js';
const supabase = getSupabaseClient();
const queries = new VConQueries(supabase);
await queries.createVCon({
vcon: '0.3.0',
uuid: crypto.randomUUID(),
created_at: new Date().toISOString(),
subject: 'Load Test vCon $i',
parties: [{ name: 'Test User' }]
});
"
done
// Example: Test with webhook
const result = await fetch('YOUR_WEBHOOK_URL', {
method: 'POST',
body: JSON.stringify({
tool: 'search_vcons',
params: { subject: 'test' }
})
});