Labsco
MCP SERVER

Intelligent Form Collection Server

by xiaoshi7915

Collect a dispute-mediation intake form through conversation, validating each field as it arrives.

Forms & Surveys
Summary
An intake form filled in by talking, not by tabbing through fields.

It knows the seven fields a mediation case needs and pulls them out of what the applicant actually says, checking as it goes — an 11-digit phone number is caught on the way in rather than after filing. The completed record lands in MySQL.

What it is

A guided intake collector for mediation cases: it opens a session, extracts the applicant's details and the incident description from what they say, validates each field, and files the completed form to MySQL.

What you get
  • A collection session per applicant, tracked from first message to submission
  • Fields extracted from ordinary conversation rather than asked one box at a time
  • The seven required fields enforced: name, phone (11 digits), address, incident time, place, description, number of people involved
  • Validation run over the collected data before anything is filed
  • Progress reported mid-collection, so the person knows what is still missing
  • Completed forms written to a MySQL database
  • Session statistics across collections
  • Results laid out as Markdown tables, with streaming output
Requirements

A MySQL connection string and a DeepSeek API key — the field extraction runs on DeepSeek. A recent Python, or Docker Compose; the service listens on port 7000 with /health, /mcp and /sse endpoints.

Setup effort

Build from source — clone the repository and build it, then point your client at the binary