独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
M

modelcontextprotocol/typescript-sdk

Official TypeScript SDK for MCP

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:npm install @modelcontextprotocol/server

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP TypeScript SDK

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

> [!IMPORTANT]
> This is the main branch: v2 of the SDK (@modelcontextprotocol/server, @modelcontextprotocol/client), the stable release line, implementing the 2026-07-28 MCP spec. Start with the v2 documentation; coming from v1, see the migration guide.
> v1.x (@modelcontextprotocol/sdk) lives on the v1.x branch and continues to receive bug fixes and security updates for at least six months after the v2 release (2026-07-27). Its documentation is at ts.sdk.modelcontextprotocol.io.
> Found a problem in v2? Open an issue.
> [!NOTE]
> Contributors without write access can have one open pull request at a time. Draft pull requests don't count toward the limit. For a feature or a larger change, please open an issue first; see CONTRIBUTING.md.
Table of Contents
Overview
Packages
Installation
Getting Started
Documentation
Contributing
License
## Overview
The Model Context Protocol (MCP) allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction.
This repository contains the TypeScript SDK implementation of the MCP specification. It runs on Node.js, Bun, and Deno, and ships:
MCP server libraries (tools/resources/prompts, Streamable HTTP, stdio, auth helpers)
MCP client libraries (transports, high-level helpers, OAuth helpers)
Optional middleware packages for specific runtimes/frameworks (Express, Fastify, Hono, Node.js HTTP)
Runnable examples (under examples/)
## Packages
This monorepo publishes split packages:
@modelcontextprotocol/server: build MCP servers
@modelcontextprotocol/client: build MCP clients
Tool and prompt schemas use Standard Schema — bring Zod v4, Valibot, ArkType, or any compatible library.
### Middleware packages (optional)
The SDK also publishes small "middleware" packages under packages/middleware/ that help you wire MCP into a specific runtime or web framework.
They are intentionally thin adapters: they should not introduce new MCP functionality or business logic. See packages/middleware/README.md for details.
@modelcontextprotocol/node: Node.js Streamable HTTP transport wrapper for IncomingMessage / ServerResponse
@modelcontextprotocol/express: Express helpers (app defaults + Host header validation)
@modelcontextprotocol/fastify: Fastify helpers (app defaults + Host header validation)
@modelcontextprotocol/hono: Hono helpers (app defaults + JSON body parsing hook + Host header validation)
## Installation
### Server
bash
npm install @modelcontextprotocol/server
# or
bun add @modelcontextprotocol/server
# or
deno add npm:@modelcontextprotocol/server
### Client
bash
npm install @modelcontextprotocol/client
# or
bun add @modelcontextprotocol/client
# or
deno add npm:@modelcontextprotocol/client
### Optional middleware packages
The SDK also publishes optional “middleware” packages that help you wire MCP into a specific runtime or web framework (for example Express, Fastify, Hono, or Node.js http).
These packages are intentionally thin adapters and should not introduce additional MCP features or business logic. See packages/middleware/README.md for details.
bash
# Node.js HTTP (IncomingMessage/ServerResponse) Streamable HTTP transport:
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/modelcontextprotocol-typescript-sdk/)
来源
awesome · https://github.com/modelcontextprotocol/typescript-sdk
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引