Atlas / MCP servers / wong2 / LiteMCP

LiteMCPSAFE

mcp/wong2/litemcp

A TypeScript framework for building MCP servers elegantly

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
5 1r · 4w · 0d
Transport
stdio
License
MIT
Stars
185
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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

npm install litemcp zod

Quickstart

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:

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.

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 uniq

Read from source at commit 8a11c8060054OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add litemcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "litemcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (5)

1 read · 4 write · 0 destructive.

ToolRiskDescription
addwriteAdd two numbers
changesreadGit diff or description of changes
devwriteRun server with mcp-cli
git-commitwriteGenerate a Git commit message
inspectwriteRun server with MCP inspector
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, citty, execa, mcp-proxy, zod-to-json-schema, @tsconfig/node22, @types/node, tsup
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 8a11c8060054full audit observations/trust-audit/mcp-server/wong2__litemcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-068a11c8060054SAFEB89first audit
06

Questions

What is the LiteMCP MCP server?

A TypeScript framework for building MCP servers elegantly

What tools does LiteMCP expose?

5 in total: 1 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is LiteMCP safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does LiteMCP need?

No credential environment variables were found in its source, so it appears to need none.

How does LiteMCP run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as litemcp at 0.9.0.

How current is this page?

The grade is for one exact copy of the source (8a11c8060054), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement