LiteMCP
@wong2
关于 LiteMCP
A TypeScript framework for building MCP servers elegantly
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"litemcp": {
"command": "npx",
"args": [
"litemcp",
"dev",
"server.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is LiteMCP?
LiteMCP is a TypeScript framework for building MCP (Model Context Protocol) servers elegantly. It offers simple definitions for tools, resources, and prompts, with built-in logging, error handling, and CLI support for testing. The project is deprecated because the official TypeScript SDK now provides a similar high-level API.
How to use LiteMCP?
Install litemcp and zod via npm. Create a server instance, define tools, resources, or prompts, then call server.start(). Test your server in the terminal with npx litemcp dev server.js or npx litemcp dev server.ts.
Key features of LiteMCP
- Simple Tool, Resource, and Prompt definition
- Full TypeScript support
- Built-in logging and error handling
- Built-in CLI for testing and debugging
- Built-in support for SSE transport
Use cases of LiteMCP
- Exposing executable functions (tools) that LLMs can invoke
- Making file contents, logs, or binary data available as resources
- Reusable prompt templates for standardized LLM interactions
FAQ from LiteMCP
What is LiteMCP and how does it differ from the official MCP SDK?
LiteMCP is a TypeScript framework with built-in CLI and logging. It is now deprecated because the official MCP TypeScript SDK offers a similar high-level API. The CLI commands can be used independently via mcp-cli.
What dependencies are required?
LiteMCP requires litemcp and zod (for parameter validation).
What transport types are supported?
The default transport is stdio. SSE (Server-Sent Events) transport is also supported via configuration.
Is authentication supported?
Authentication is not mentioned in the documentation. The server does not include built-in auth mechanisms.
Can I define resource templates?
Resource templates are on the roadmap but not yet implemented in the current version.
其他 分类下的更多 MCP 服务器
Codelf
unbugA search tool helps dev to solve the naming things problem.
ICSS
chokcoco不止于 CSS
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
评论