LeDuy23/MCP_Server-TS
3.1
If you are the rightful owner of MCP_Server-TS and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This project involves a server that manages user data and integrates with the Gemini API to generate realistic sample users. It includes a command-line client for interactive queries and data management.
Tools
2
Resources
0
Prompts
0
MCP Server & Client (TypeScript + Gemini LLM)
Overview
- A server that manages user data, with the ability to add, remove, and query users.
- Integration with the Gemini API to generate realistic sample users.
- A command-line client that connects to the MCP server, lists available tools/resources/prompts, and allows interactive queries.
The project demonstrates backend protocol implementation, CLI-based client interaction, and schema-based data handling.
Features
Server
- User Management
- Retrieve all users
- Fetch an individual user's profile
- Create new users manually
- Generate sample users with realistic details
- MCP Endpoints
- Resources: read-only access to user data
- Tools: create or modify user records
- Prompts: parameterized AI-assisted operations
- Local Storage
- Uses a JSON file (
users.json) for persistence
- Uses a JSON file (
Client
- Command-line interface with menu-based navigation
- Dynamically lists available tools, prompts, and resources from the server
- Runs server tools and prompts interactively
- Query mode that accepts freeform input and uses available tools to respond