Описание
MCP server demonstrating elicitation
README
A demonstration Model Context Protocol (MCP) server showcasing elicitation capabilities.
Demo
https://github.com/user-attachments/assets/ce89872b-a015-48a6-b56f-6be6fee44ff0
Key Point
Ask response from user:
Collect info using command palette:
Success:
Project Overview
This project implements an MCP server with interactive elicitation capabilities, allowing clients to create and manage user profiles. When information is missing, the server uses MCP's elicitation feature to prompt users for required data.
Available Tools
create_user_profile
Creates a new user profile with interactive elicitation support for missing fields.
Parameters (all optional):
name(string): User's full nameemail(string): User's email addressage(number): User's agerole(string): User's role
Validation Rules:
- Name: 2-100 characters
- Email: 5-100 characters, must follow email format
- Age: Between 13-120 years
- Role: Select from predefined options (developer, designer, manager, analyst, tester)
list_users
Lists all user profiles currently stored in the system.
Installation & Setup
1. Install Dependencies
npm install
2. Start the Server
Development Mode (with file watching):
npm run dev
Production Mode:
npm start
Direct execution:
node index.js
VS Code Integration
The project comes pre-configured for VS Code MCP integration. Configuration file is located at .vscode/mcp.json:
{
"servers": {
"elicitationDemo": {
"type": "stdio",
"command": "node",
"args": ["index.js"],
"cwd": "${workspaceFolder}",
"dev": {
"watch": "*.js",
"debug": { "type": "node" }
}
}
}
}
Usage Examples
Create Complete Profile
create_user_profile({
name: "John Doe",
email: "[email protected]",
age: 28,
role: "developer"
})
Create Profile with Interactive Prompts
// Provide partial information, system will prompt for missing data
create_user_profile({
name: "Jane Smith"
// Missing email, age, role - will trigger interactive elicitation
})
List All Users
list_users()
Установка Elicitation Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/SLdragon/mcp-elicitation-serverFAQ
Elicitation Server MCP бесплатный?
Да, Elicitation Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Elicitation Server?
Нет, Elicitation Server работает без API-ключей и переменных окружения.
Elicitation Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Elicitation Server в Claude Desktop, Claude Code или Cursor?
Открой Elicitation Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Elicitation Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
