MCP Test Project
This is a simple user management service built with Node.js, TypeScript, and the Model Context Protocol (MCP).
Prerequisites
Node.js
npm
Getting Started
Clone the repository:
git clone <repository-url>Install dependencies:
npm installBuild the project:
npm run server:buildRun the server in development mode:
npm run server:dev
Available Scripts
npm test
: Runs the test suite (currently empty).npm run server:build
: Compiles the TypeScript code to JavaScript.npm run server:build:watch
: Compiles the TypeScript code in watch mode.npm run server:dev
: Runs the server in development mode usingtsx
.npm run server:dev:watch
: Runs the server in development mode with watch mode enabled.npm run server:inspect
: Inspects the server using the MCP inspector.
Project Structure
API
The server exposes the following functionalities through the Model Context Protocol:
Resources
get-users
: Retrieves a list of all users.
Tools
create-user
: Creates a new user with the following parameters:name
(string)email
(string)password
(string)address
(string)phone
(string)
Tools
A simple user management service that enables creating new users and retrieving user lists through the Model Context Protocol. Supports user creation with name, email, password, address, and phone parameters.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -122MIT License
- AsecurityAlicenseAqualityA dynamic service that creates and manages Model Context Protocol (MCP) servers, allowing users to spawn, customize, and control multiple MCP servers as child processes.Last updated -5495MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables performing PostgreSQL database operations (create, read, update, delete) on User and Post entities through MCP tools.Last updated -
- AsecurityFlicenseAqualityA Model Context Protocol service for comprehensive email management that supports multiple email providers, with complete functionality for viewing, organizing, and batch processing emails.Last updated -10