examples/test-mcp-server/
An integration test script that exercises the MCP server tools end-to-end. Tests the full round-trip: create pipeline from sample data, upload data, wait for ingestion, then query it back.
Test Flow
- CSV → PostgreSQL — create pipeline (auto-detects schema from sample data), upload CSV, wait, query back with SQL and natural language
- JSON → MongoDB — create pipeline, upload JSON, wait, query back with find()
- PDF → pgvector — create pipeline, upload PDF, wait for chunking/embedding, semantic search
- Cleanup — delete all test pipelines (destination data is cleaned up automatically)
Setup
Run
docker compose up. Natural language queries and vector search require an AI provider to be configured.