LibreAI / AI Agents / typescript-sdk
// agents · modelcontextprotocol/typescript-sdk

typescript-sdk

The official TypeScript SDK for Model Context Protocol servers and clients.

★ 13.5k stars⑂ 2.3k forksNOASSERTIONupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

typescript-sdk is an open-source ai agents project by modelcontextprotocol (modelcontextprotocol/typescript-sdk on GitHub). It has 13,533 GitHub stars and 2,262 forks, is released under the NOASSERTION license, and was last updated on GitHub on 8 October 2026.

GitHub stars
13,533
Forks
2,262
License
NOASSERTION
Last updated on GitHub
8 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Decide what you want the project to do before installing anything.

  2. Clone the repo

    Grab the source and skim the README for setup requirements.

  3. Install and configure

    Install dependencies and add any API keys or settings it needs.

  4. Run your first task

    Launch it and follow the example workflow from the docs.

// features

Why people love it

Official implementation

From the MCP spec team.

TypeScript-native

Types and ergonomics for JS developers.

Servers and clients

Both protocol ends.

Spec fidelity

Reference-correct behavior.

Dedicated docs

Versioned docs site with guides.

Ecosystem standard

The baseline other TS tools build on.

Advertisement
// run it

Run it yourself

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/modelcontextprotocol/typescript-sdk.git
    cd typescript-sdk
  2. Step 2 - Install dependencies

    Pull in the Node packages the project needs.

    npm install
  3. Step 3 - Build or run it

    Treat these as starting points - the README documents the exact commands.

    npm run build
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains typescript-sdk?

It is an open-source project at modelcontextprotocol/typescript-sdk with 2262 forks. Check the repo's contributors and recent commits to judge how active maintenance is.

Is typescript-sdk free to use?

GitHub does not assert a license for this repo, so treat the code as all rights reserved until the author adds one.

Do I need a paid API to use it?

The SDK is free; the underlying platform's API may be billed separately - check that service's pricing.

Official SDK vs community TS frameworks?

The SDK is the reference; community frameworks add ergonomics. Start with the SDK to learn the protocol, then evaluate frameworks for productivity.

How do I get started?

Clone the repo, read the README's quickstart, and run the provided example - most projects get you to a first result in minutes.

// keep exploring

Similar tools

AI Agents

python-sdk

The official Python SDK for Model Context Protocol servers and clients.

★ 24.5k starsMIT
View guide →
AI Agents

servers

The official collection of reference Model Context Protocol servers.

★ 91.1k starsNOASSERTION
View guide →
AI Agents

langsmith-sdk

Official SDKs for tracing with LangSmith.

★ 1.1k starsMIT
View guide →
Agents

workflow

Vercel’s SDK for durable, reliable, observable apps and AI agents in TypeScript.

★ 2.4k starsApache-2.0
View guide →
Agents

agents

Build AI agents in a no-code visual builder or TypeScript SDK, fully synced.

★ 1.4k starsCustom
View guide →
AI Agents

fastmcp

The fast, Pythonic way to build MCP servers and clients.

★ 28.0k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if typescript-sdk is not the right fit.

Get typescript-sdk

Free and open — grab the source, star the repo, and start creating.