MCP Elicitations Demo Server
Demonstrates elicitations for collecting structured user input interactively across tools, resources, and prompts in the Model Context Protocol.
README
MCP Elicitations Demo Server
A demonstration server that showcases elicitations across different Model Context Protocol (MCP) use cases. This server demonstrates how to collect user input dynamically using the MCP elicitation system.
What are Elicitations?
Elicitations allow MCP servers to request structured input from users during tool execution, enabling interactive and dynamic workflows.
Available MCP Components
Tools
greeting- Simple greeting tool that asks for your namecontact-info- Collects structured contact information (name, email, age)
Resources
config://user- User greeting resource that dynamically requests your name
Prompts
greeting-prompt- Generates a personalized greeting prompt based on your name
How It Works
Each component demonstrates elicitations in different contexts:
- Tools show how to collect input during tool execution
- Resources demonstrate dynamic content generation based on user input
- Prompts showcase how to create personalized prompts using elicited data
Running the Server
npm install
npm run build
npm start
The server will run on http://localhost:3000
Example Elicitation Schemas
Simple Name Request
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the user"
}
},
"required": ["name"]
}
Contact Information Request
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Your full name"
},
"email": {
"type": "string",
"format": "email",
"description": "Your email address"
},
"age": {
"type": "number",
"minimum": 18,
"description": "Your age"
}
},
"required": ["name", "email"]
}
This demo showcases MCP elicitations for creating interactive, user-driven experiences across tools, resources, and prompts.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.