mcp-ts-starter

mcp-ts-starter

2

This project is a basic Model Context Protocol (MCP) server built in TypeScript, showcasing core functionalities like resource handling and transport support. It includes tools for echoing messages and server debugging, making it useful for testing MCP integrations.

Hello World MCP Server

A simple Model Context Protocol (MCP) server implementation built with TypeScript. This server demonstrates basic MCP functionality.

Features

  • SSE and STDIO transport support
  • Resource handling with static and dynamic resources
  • Sample prompt implementation
  • Example tool that echoes messages
  • Debug tool for server introspection

Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Installation

Use the package manager of your choice to install dependencies and build the server.

Running the Server

The server supports HTTP/SSE transport for web browsers and STDIO transport for command-line integrations.

Server API

Provides static and dynamic resources, an echo tool, and a debug tool for introspection.