Skip to main content
Glama

MCP Elicitations Demo Server

by soriat

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 name
  • contact-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:

  1. Tools show how to collect input during tool execution
  2. Resources demonstrate dynamic content generation based on user input
  3. 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.

-
security - not tested
F
license - not found
-
quality - not tested

A demonstration server that showcases how to collect user input dynamically using the Model Context Protocol (MCP) elicitation system across tools, resources, and prompts.

  1. What are Elicitations?
    1. Available MCP Components
      1. Tools
      2. Resources
      3. Prompts
    2. How It Works
      1. Running the Server
        1. Example Elicitation Schemas
          1. Simple Name Request
          2. Contact Information Request

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A specialized Model Context Protocol (MCP) server that enables AI-powered interview roleplay scenarios for practice with realistic conversational feedback.
          Last updated -
          15
          3
          TypeScript
        • -
          security
          A
          license
          -
          quality
          A dynamic MCP server implementation that automatically loads tools, resources, and prompts from their respective directories, allowing for easy extension and configuration.
          Last updated -
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          A demonstration server showing MCP implementation in Python with resource handling, tool operations, and reusable prompts for a simple user/post system with local database.
          Last updated -
          Python
          • Apple
          • Linux
        • -
          security
          A
          license
          -
          quality
          A demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.
          Last updated -
          41
          7
          TypeScript
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/soriat/soria-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server