aiagent.club
English
GitHubnpm

modelcontextprotocol/typescript-sdk

AI Agent 指数 第 16(共 964)

71 综合分
真实使用
98
动量
26
关注度
77

项目介绍

The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements the full MCP specification, making it easy to:

This SDK has a required peer dependency on zod for schema validation. The SDK internally imports from zod/v4, but maintains backwards compatibility with projects using Zod v3.25 or later. You can use either API in your code by importing from zod/v3 or zod/v4:

To see the SDK in action end-to-end, start from the runnable examples in src/examples:

This pair of examples demonstrates tools, resources, prompts, sampling, elicitation, tasks and…

各数据源

39.4M 周下载量
  • 周下载量 39.4M
12.9k Star
  • Star 12.9k
  • Fork 2.0k
  • 提交 1.6k
  • 发布 140