---
title: "modelcontextprotocol/typescript-sdk skills · skilld"
description: "The official TypeScript SDK for Model Context Protocol servers and clients"
canonical_url: "https://skilld.dev/gh/modelcontextprotocol/typescript-sdk"
meta:
  "og:description": "The official TypeScript SDK for Model Context Protocol servers and clients"
  "og:image": "https://skilld.dev/_og/d/a_~c2tpbGxkLCBhZ2VudCBza2lsbHMgd3JpdHRlbiBieSByZWFsIG1haW50YWluZXJz%2Cc_Page.takumi%2Cdescription_~Q3VyYXRlZCBhZ2VudCBza2lsbHMgYnkgaHVtYW5zLCB3cml0dGVuIGJ5IHJlYWwgbWFpbnRhaW5lcnMgaW4gdGhlaXIgb3duIEdpdEh1YiByZXBvcw%2Cp_Ii9naC9tb2RlbGNvbnRleHRwcm90b2NvbC90eXBlc2NyaXB0LXNkayI%2Cs_vzJ-yo6jRsDU_-38.png"
  "og:image:alt": "skilld, agent skills written by real maintainers"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "modelcontextprotocol/typescript-sdk skills"
  "twitter:description": "The official TypeScript SDK for Model Context Protocol servers and clients"
  "twitter:image": "https://skilld.dev/_og/d/a_~c2tpbGxkLCBhZ2VudCBza2lsbHMgd3JpdHRlbiBieSByZWFsIG1haW50YWluZXJz%2Cc_Page.takumi%2Cdescription_~Q3VyYXRlZCBhZ2VudCBza2lsbHMgYnkgaHVtYW5zLCB3cml0dGVuIGJ5IHJlYWwgbWFpbnRhaW5lcnMgaW4gdGhlaXIgb3duIEdpdEh1YiByZXBvcw%2Cp_Ii9naC9tb2RlbGNvbnRleHRwcm90b2NvbC90eXBlc2NyaXB0LXNkayI%2Cs_vzJ-yo6jRsDU_-38.png"
  "twitter:image:alt": "skilld, agent skills written by real maintainers"
  "twitter:title": "modelcontextprotocol/typescript-sdk skills"
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

[All skills](https://skilld.dev/skills)

[![modelcontextprotocol avatar](https://skilld.dev/_img/avatar?url=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol.png)](https://skilld.dev/gh/modelcontextprotocol)

# **modelcontextprotocol/typescript-sdk**

The official TypeScript SDK for Model Context Protocol servers and clients

main Updated 2 days ago [GitHub](https://github.com/modelcontextprotocol/typescript-sdk)

![README badge for modelcontextprotocol/typescript-sdk](https://skilld.dev/b/modelcontextprotocol/typescript-sdk?theme=light&label=0)

## Repository statistics

- Indexed skills

  **5**
- Skill groups

  **3**
- GitHub stars

  **13,794**
- Forks

  **2,418**

## Skills by folder

5 total

Sort skills

### **Billing**

1 skill

[/refunds](https://skilld.dev/gh/modelcontextprotocol/typescript-sdk/refunds)

Process a customer refund end to end.

Updatedlast month

### **Refunds**

1 skill

[/escalation](https://skilld.dev/gh/modelcontextprotocol/typescript-sdk/escalation)

Escalate a disputed refund to the billing lead.

Updatedlast month

### **Skills**

3 skills

[/mcp-typescript-sdk-upgrade-to-v2](https://skilld.dev/gh/modelcontextprotocol/typescript-sdk/mcp-typescript-sdk-upgrade-to-v2)

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

Updated29 days ago

[/mcp-typescript-sdk-skills](https://skilld.dev/gh/modelcontextprotocol/typescript-sdk/mcp-typescript-sdk-skills)

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

Updated30 days ago

[/git-workflow](https://skilld.dev/gh/modelcontextprotocol/typescript-sdk/git-workflow)

Branching, commit and review conventions for this team.

Updatedlast month

## Add to your README

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

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://skilld.dev/#website","@type":"WebSite","description":"Curated agent skills by humans, written by real maintainers in their own GitHub repos","name":"skilld","url":"https://skilld.dev/"},{"@id":"https://skilld.dev/gh/modelcontextprotocol/typescript-sdk#webpage","@type":"WebPage","description":"The official TypeScript SDK for Model Context Protocol servers and clients","name":"modelcontextprotocol/typescript-sdk skills","url":"https://skilld.dev/gh/modelcontextprotocol/typescript-sdk","isPartOf":{"@id":"https://skilld.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://skilld.dev/gh/modelcontextprotocol/typescript-sdk"]}]}]}
```