DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use TypeScript SDK: what you can do with it

What is TypeScript SDK? The official TypeScript SDK for Model Context Protocol servers and clients. It ships separate server and client packages, plus thin optional middleware adapters for Node.js HTTP, Express, Fastify and Hono, so you can expose tools to AI agents or connect to existing MCP servers from TypeScript.

How do I use it? Install the server package with npm install @modelcontextprotocol/server; then create an McpServer with a name and version, as in the README Getting Started example; register a tool with server.registerTool, giving it a description and a zod inputSchema, like the greet example. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

Quick start with TypeScript SDK

  1. Check you have what it needs: Node.js with npm, or Bun or Deno as the README shows; The server package from `npm install @modelcontextprotocol/server`, or the client package from `npm install @modelcontextprotocol/client`; zod for tool input schemas, as in the README example.
  2. Open modelcontextprotocol/typescript-sdk on GitHub and read the README and license.
  3. Install the server package with npm install @modelcontextprotocol/server
  4. Create an McpServer with a name and version, as in the README Getting Started example
  5. Register a tool with server.registerTool, giving it a description and a zod inputSchema, like the greet example
  6. Connect a StdioServerTransport with server.connect and add the server to your MCP client

These steps come from our top use case, Build your first MCP tool server in TypeScript, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for modelcontextprotocol/typescript-sdk

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

Requirements

  • Node.js with npm, or Bun or Deno as the README shows
  • The server package from `npm install @modelcontextprotocol/server`, or the client package from `npm install @modelcontextprotocol/client`
  • zod for tool input schemas, as in the README example

Add this badge to your README

Maintain TypeScript SDK? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/modelcontextprotocol/typescript-sdk.svg)](https://dedupedai.com/use-cases/modelcontextprotocol-typescript-sdk/?utm_source=github&utm_medium=badge&utm_campaign=modelcontextprotocol-typescript-sdk)

HTML

<a href="https://dedupedai.com/use-cases/modelcontextprotocol-typescript-sdk/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=modelcontextprotocol-typescript-sdk"><img src="https://dedupedai.com/badge/modelcontextprotocol/typescript-sdk.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about TypeScript SDK

What is TypeScript SDK?

The official TypeScript SDK for Model Context Protocol servers and clients. It ships separate server and client packages, plus thin optional middleware adapters for Node.js HTTP, Express, Fastify and Hono, so you can expose tools to AI agents or connect to existing MCP servers from TypeScript. It is an open-source project on GitHub: https://github.com/modelcontextprotocol/typescript-sdk.

How do I use TypeScript SDK?

Install the server package with npm install @modelcontextprotocol/server; then create an McpServer with a name and version, as in the README Getting Started example; register a tool with server.registerTool, giving it a description and a zod inputSchema, like the greet example. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is TypeScript SDK for?

TypeScript and Node.js developers who want to give AI agents their own tools, or call MCP servers from their own apps.

What can I do with TypeScript SDK?

3 use cases so far, for example: Build your first MCP tool server in TypeScript; Serve MCP tools over HTTP from an Express app; Call existing MCP servers from your own app. Each has steps and a copy-paste agent prompt.

What do I need to run TypeScript SDK?

Node.js with npm, or Bun or Deno as the README shows; The server package from `npm install @modelcontextprotocol/server`, or the client package from `npm install @modelcontextprotocol/client`; zod for tool input schemas, as in the README example.

What are alternatives to TypeScript SDK?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is TypeScript SDK safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.