simple-mcp-server

simple-mcp-server

0

The project is a Model Context Protocol (MCP) server that facilitates user data management. It features TypeScript implementation, user data retrieval tools, and supports ES Modules. It is designed for easy development and extension with built-in compilation tools.

A simple MCP Server

A Model Context Protocol (MCP) server implementation that provides tools for user data management.

Features

  • User data retrieval tools
  • TypeScript implementation
  • ES Modules support
  • Built-in TypeScript compilation

Prerequisites

  • Node.js (v20 or higher)
  • npm (v9 or higher)

Installation

  1. Clone the repository.
  2. Install dependencies using npm.

Development

Building the Project

  • Compile TypeScript files to JavaScript.
  • Output files to the 'build' directory.

Using the MCP Inspector

  • The inspector will be available at http://localhost:5173.

Available Tools

  • get_users: Retrieves a list of all users.
  • get_user: Retrieves a specific user by name.

Dependencies

  • @modelcontextprotocol/sdk
  • dotenv
  • typescript
  • zod