The MCP User Profile Management Server enables interactive creation and management of user profiles with built-in elicitation capabilities for missing data.
Create User Profiles: Use the
create_user_profile
function to create new profiles, with interactive prompts to collect missing information such as name, email, age, and roleList User Profiles: Use the
list_users
function to retrieve all stored user profilesValidation and Elicitation: Enforces validation rules (name length, email format, age range, role selection) and interactively prompts for missing or invalid data
VS Code Integration: Pre-configured for seamless VS Code MCP integration and debugging
MCP User Profile Management Server Showcasing Elicitation Capabilities
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
2. Start the Server
Development Mode (with file watching):
Production Mode:
Direct execution:
VS Code Integration
The project comes pre-configured for VS Code MCP integration. Configuration file is located at .vscode/mcp.json
:
Usage Examples
Create Complete Profile
Create Profile with Interactive Prompts
List All Users
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables creating and managing user profiles with interactive elicitation capabilities that prompt users for missing required information. Demonstrates MCP's elicitation feature by validating profile data and requesting additional details when fields are incomplete.
Related MCP Servers
- -securityFlicense-qualityOur MCP Tools are designed to enhance AI-driven automated interview services by ensuring a seamless and contextually relevant candidate assessment process. These tools leverage advanced AI models to analyze responses, evaluate competencies, and provide real-time feedback, maLast updated -
- -security-license-qualityAn MCP server that provides tools for interacting with Anthropic's prompt engineering APIs, allowing users to generate, improve, and templatize prompts based on task descriptions and feedback.Last updated -1ISC License
- AsecurityFlicenseAqualityA demonstration server that showcases how to collect user input dynamically using the Model Context Protocol (MCP) elicitation system across tools, resources, and prompts.Last updated -109,417