Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
W

wong2/litemcp

A TypeScript framework for building MCP servers elegantly

Before you install: a copy-paste command is available · no license recorded · link reachable

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
  1. Copy the command above
  2. Paste it as one entry under mcpServers in claude_desktop_config.json — local servers take command + args (example: clients)
  3. Restart your client
Client config (built from the install command this repo gives)
{
  "mcpServers": {
    "wong2-litemcp": {
      "command": "npx",
      "args": ["litemcp"]
    }
  }
}

Parsed from the README we fetched on 2026-11-06; we have not executed it.

command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
  "servers": {
    "wong2-litemcp": {
      "command": "npx",
      "args": ["litemcp"]
    }
  }
}
Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio wong2-litemcp -- npx litemcp
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
Install
npx litemcp
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: npx litemcp. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# LiteMCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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
bash
npm install litemcp zod
## Quickstart
js
import { LiteMCP } from "litemcp";
import { z } from "zod";
const server = new LiteMCP("demo", "1.0.0");
server.addTool({
name: "add",
description: "Add two numbers",
parameters: z.object({
a: z.number(),
b: z.number(),
}),
execute: async (args) => {
return args.a + args.b;
},
});
server.addResource({
uri: "file:///logs/app.log",
name: "Application Logs",
mimeType: "text/plain",
async load() {
return {
text: "Example log content",
};
},
});
server.start();
You can test the server in terminal with:
bash
npx litemcp dev server.js
## 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.
js
server.addTool({
name: "fetch",
description: "Fetch the content of a url",
parameters: z.object({
url: z.string(),
}),
execute: async (args) => {
const content = await fetchWebpageContent(args.url);
return content;
},
});
### 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.
js
server.addResource({
uri: "file:///logs/app.log",
name: "Application Logs",
mimeType: "text/plain",
async load() {
return {
text: await readLogFile(),
};
},
});
You can also return binary contents in load:
js
async load() {
return {
blob: 'base64-encoded-data'
### 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.
js
server.addPrompt({
name: "git-commit",
description: "Generate a Git commit message",
arguments: [
name: "changes",
description: "Git diff or description of changes",
required: true,
},
],
load: async (args) => {
return Generate a concise but descriptive commit message for these changes:\n\n${args.changes};
},
});
### Logging
You can send log messages to the client with server.logger
js
server.addTool({
name: "download",
description: "Download a file from a url",
parameters: z.object({
url: z.string(),
}),
execute: async (args) => {
server.logger.info("Downloading file", { url: args.url });
// ...
server.logger.info("Downloaded file", { url: args.url });
return response;
},
});
The logger object has the following methods:
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/wong2-litemcp/)
Source
awesome · https://github.com/wong2/litemcp
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index