wong2/litemcp

View on GitHub ↗

A TypeScript framework for building MCP servers elegantly

185 ★16 forksTypeScriptUpdated 1y ago

What you need to know

Deprecated TypeScript framework for building MCP servers with simple tool, resource and prompt definitions

Install

npm install litemcp zod

Usage

  • Build a server with server.addTool, addResource and addPrompt, then start it
  • Debug with npx litemcp dev server.js or inspect with npx litemcp inspect

Key features

  • Simple tool, resource and prompt definition with zod schemas
  • Full TypeScript support
  • Built-in logging and error handling
  • Built-in CLI for testing and debugging
  • SSE transport support

Best for

TypeScript developers who want a lightweight MCP server framework

Caveats

  • No longer maintained - the official TypeScript SDK now offers a similar high-level API
  • Resource templates not yet supported

Reviewed 2026-08-11

Topics

mcpmodel-context-protocoltypescripttypescript-library
Stars
185★
Forks
16
Language
TypeScript
License
MIT
Created
2024-12-09
Last push
2025-04-27