MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

M
MCP Elicitation

Simpe mcp elicitation demo

Created 8/1/2025
Updated 5 months ago
Repository documentation and setup instructions

MCP Elicitation Demo

A simple demo of FastMCP's elicitation feature for interactive user input during tool execution.

https://github.com/user-attachments/assets/b8e456df-5dfc-4605-bd2e-2bf3c8feca30

Quick Start

  1. Install dependencies:

    uv install fastmcp
    
  2. Run the server:

    uv run python server.py
    
  3. Run the client (in another terminal):

    uv run python client.py
    

What it does

  • Server: Provides a book_doctor_appointment tool that collects user info step-by-step
  • Client: Interactive appointment booking with smart input validation and retry logic

The client handles input validation on the client side and only re-prompts for invalid inputs, not the entire flow.

Quick Setup
Installation guide for this server

Install Package (if required)

uvx mcp-elicitation

Cursor configuration (mcp.json)

{ "mcpServers": { "hemanth-mcp-elicitation": { "command": "uvx", "args": [ "mcp-elicitation" ] } } }