{"repo":"wong2/litemcp","free":true,"listed":false,"github":"https://github.com/wong2/litemcp","clone":"git clone https://github.com/wong2/litemcp.git","description":"A TypeScript framework for building MCP servers elegantly","language":"TypeScript","stars":185,"topics":["mcp","model-context-protocol","typescript","typescript-library"],"license":"MIT","category":"mcp-servers","readme_excerpt":"LiteMCP A TypeScript framework for building MCP (Model Context Protocol) servers elegantly Deprecate notice : Since the official SDK already offers a high-level API similar to this project, this project will no longer be maintained. If you like the CLI commands in this project, you can use them independently: https://github.com/wong2/mcp-cli Features - Simple Tool, Resource, Prompt definition - Full TypeScript support - Built-in logging - Built-in error handling - Built-in CLI for testing and debugging - Built-in support for SSE transport Installation Quickstart You can test the server in terminal with: Core Concepts Tools Tools in MCP allow servers to expose executable functions that can be invoked by clients and used by LLMs to perform actions. Resources Resources represent any kind of data that an MCP server wants to make available to clients. This can include: - File contents - Screenshots and images - Log files - And more Each resource is identified by a unique URI and can contain either text or binary data. You can also return binary contents in load : Prompts Prompts enable servers to define reusable prompt templates and workflows that clients can easily surface to users and LLMs. They provide a powerful way to standardize and share common LLM interactions. Logging You can send log messages to the client with server.logger The logger object has the following methods: - debug(message: string, context?: JsonValue) - info(message: string, context?: JsonValue) - warn(messa","default_branch":null,"files":null,"tree":[],"storefront":"/r/wong2","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wong2/litemcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}