MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

M
MCP Elicitation
作者 @hemanth

Simpe mcp elicitation demo

创建于 8/1/2025
更新于 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.

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx mcp-elicitation

Cursor 配置 (mcp.json)

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