MCP.so
登录

LiteMCP MCP Server

@wong2

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

wong2

关于 LiteMCP MCP Server

A TypeScript framework for building MCP servers elegantly

LiteMCP MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "litemcp": {
      "command": "npx",
      "args": [
        "litemcp",
        "dev",
        "server.js"
      ]
    }
  }
}

LiteMCP MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

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`.

2

What dependencies are required?

LiteMCP requires `litemcp` and `zod` (for parameter validation).

3

What transport types are supported?

The default transport is `stdio`. SSE (Server-Sent Events) transport is also supported via configuration.

4

Is authentication supported?

Authentication is not mentioned in the documentation. The server does not include built-in auth mechanisms.

5

Can I define resource templates?

Resource templates are on the roadmap but not yet implemented in the current version.

评论

其他 分类下的更多 MCP 服务器