Location:Documentation Index
Fetch the complete documentation index at: https://docs.datris.ai/llms.txt
Use this file to discover all available pages before exploring further.
examples/test-mcp-server/
An integration test script that exercises the MCP server tools end-to-end. It imports the _dispatch function from server.py and calls each tool directly, testing the full round-trip through the REST API.
Test Flow
- Connectivity — verify server is reachable (
get_version) - Service health — check all backend services (
check_service_health) - Metadata discovery — list PostgreSQL databases/schemas/tables, MongoDB databases/collections, and all vector store collections
- CSV → PostgreSQL — create pipeline, upload CSV, wait for ingestion, inspect columns, query with SQL and natural language
- JSON → MongoDB — create pipeline, upload JSON, wait, query with find()
- Data profiling — profile a CSV file with AI
- Config upload — upload a validation schema
- Secrets — update an AI provider secret
- Kill job — test kill with a dummy token (graceful handling)
- Cleanup — delete structured pipelines
- PDF → pgvector — create pipeline, search, AI answer (RAG), cleanup (requires PDF test file)
- Summary — report pass/fail counts
Setup
Run
docker compose up. Natural language queries and vector search require an AI provider to be configured.