Index of every page on this site: llms.txt
All skills
modelcontextprotocol avatar

modelcontextprotocol/typescript-sdk

The official TypeScript SDK for Model Context Protocol servers and clients

main Updated 2 weeks agoGitHub
README badge for modelcontextprotocol/typescript-sdk

Repository statistics

  • Indexed skills

    5

  • Skill groups

    3

  • GitHub stars

    13,775

  • Forks

    2,395

5 total

Billing

1 skill

Process a customer refund end to end.

Updated

Refunds

1 skill

Escalate a disputed refund to the billing lead.

Updated

Skills

3 skills

Upgrades TypeScript code from v1 of the MCP TypeScript SDK (`@modelcontextprotocol/sdk`) to v2 (`@modelcontextprotocol/client`, `/server`, `/core` and the middleware packages): runs the official codemod, then works through what it cannot rewrite. Use whenever a project depends on `@modelcontextprotocol/sdk` and the user wants to migrate, upgrade, port or bump it to v2, or is fixing v1-to-v2 breakage such as missing `McpError`, `RequestHandlerExtra` or `*Schema` exports, `@mcp-codemod-error` markers, or changed auth, error, transport or handler behavior, even if they do not say "migration".

Updated

Serves and consumes Skills over MCP (SEP-2640, the `io.modelcontextprotocol/skills` extension) with v2 of the MCP TypeScript SDK: publishes a folder of `SKILL.md` skills from an MCP server with `loadSkills` and `SkillsExtension`, and lists, verifies and loads them in a client or host with `SkillsClient`. Use whenever a TypeScript project on `@modelcontextprotocol/server` or `@modelcontextprotocol/client` 2.x wants to expose agent skills from its MCP server, serve `skill://` resources or `skills/list`, or load skills from the MCP servers it connects to, even if the user does not say "SEP-2640" or "extension". Not for projects still on v1 (`@modelcontextprotocol/sdk`: upgrade them with the `mcp-typescript-sdk-upgrade-to-v2` skill first), for MCP SDKs in other languages (Python, Go, C#), or for writing the content of a `SKILL.md`.

Updated

Branching, commit and review conventions for this team.

Updated

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

<a href="https://skilld.dev/gh/modelcontextprotocol/typescript-sdk"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/modelcontextprotocol/typescript-sdk?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/modelcontextprotocol/typescript-sdk?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/modelcontextprotocol/typescript-sdk?theme=light"> </picture> </a>