MCP.so
登录
服务器

Lite_MCP_sdk

@S2thend

a light weight version of mcp sdk inspired by official model context protocol sdk, NOW focus on sse only no stdio

概览

What is Lite_MCP_sdk?

Lite_MCP_sdk is a JavaScript project that provides two packages: litemcpjs for quickly starting a remote SSE MCP server and client with minimal code, and lite-mcp-sdk for more low-level control over the MCP protocol. It is designed to be accessible to beginners who know minimal JavaScript.

How to use Lite_MCP_sdk?

Install via npm: npm install litemcpjs for the quick-start package, or npm install lite-mcp-sdk for the SDK. For lite-mcp-sdk, import the Server or Client class, create an SSE transport, and connect. The README includes copy-paste examples for both server (using Express) and client.

Key features of Lite_MCP_sdk?

  • No fixed Zod types; uses custom validators instead.
  • SSE‑only transport, no stdio support, for simplicity.
  • Fully JavaScript codebase (no TypeScript).
  • Clean architecture with minimal dependencies.
  • Detailed documentation with ready‑to‑copy examples.
  • Authentication left to the user for flexibility.

Use cases of Lite_MCP_sdk?

  • Building a remote MCP server that exposes tools over SSE.
  • Creating a lightweight MCP client that connects to SSE servers.
  • Beginners learning the MCP protocol without complex setups.
  • Developers who prefer JavaScript over TypeScript for MCP.

FAQ from Lite_MCP_sdk

What is the difference between litemcpjs and lite-m

标签

来自「开发工具」的更多内容