aicoolies logo

MCP TypeScript SDK

Official TypeScript SDK for building MCP servers

Share
open-sourceOpen Source
Visit Website →

The official TypeScript SDK for the Model Context Protocol, providing everything needed to build MCP servers and clients. Supports stdio, SSE, and Streamable HTTP transports with built-in auth helpers. Works across Node.js, Bun, and Deno runtimes for maximum deployment flexibility.

The MCP TypeScript SDK is the official reference implementation for building Model Context Protocol servers and clients in TypeScript. It provides a complete, type-safe API for defining tools, resources, and prompts that AI assistants can discover and invoke. The SDK handles the protocol layer — message serialization, transport management, capability negotiation — so developers can focus on implementing the actual functionality their MCP server provides.

The SDK supports all three MCP transport types: stdio for local process communication (ideal for CLI tools and desktop apps), Server-Sent Events (SSE) for web-based integrations, and the newer Streamable HTTP transport that the March 2026 specification introduced as the preferred method for remote servers. Built-in authentication helpers simplify securing MCP endpoints, and the cross-runtime support (Node.js, Bun, Deno) means servers can be deployed in virtually any JavaScript environment.

With 12,100+ GitHub stars, this is the most widely used SDK in the MCP ecosystem and the foundation that hundreds of community MCP servers are built on. Whether you're building a database connector, a cloud service integration, or a specialized developer tool, the TypeScript SDK provides the standard building blocks with thorough documentation and examples from the official MCP organization.

Pricing

Free and open-source (MIT)

Platforms

Node.js, Bun, Deno, npm package

Categories

Tags

Use Cases

Alternatives

Related Tools

Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source

Safari MCP Server

Apple's Safari-native MCP server for web debugging agents

Safari MCP Server is Apple's safaridriver-based MCP server in Safari Technology Preview, giving compatible coding agents local access to Safari page content, console logs, network requests, screenshots, JavaScript evaluation, interactions, viewport controls, and accessibility/performance checks.

freeTelemetry

Headroom

Context compression for LLM apps and coding agents

Headroom is an Apache-2.0 context compression layer for LLM apps and coding agents. It compresses tool output, logs, files, RAG chunks, and agent history through a local library, proxy, wrapper, or MCP server, with retrieval hooks for bringing originals back when needed. Treat its savings numbers as Headroom-reported benchmarks, not independent aicoolies measurements.

open-sourceOpen SourceTelemetry

Codebase Memory MCP

Codebase knowledge graph MCP server for AI coding agents

Codebase Memory MCP is an MIT-licensed MCP server that turns a repository into a persistent code knowledge graph for AI coding agents. It gives Claude Code, Cursor, Codex-style agents, and other MCP clients structural queries for functions, classes, call chains, routes, and architecture, helping them explore large projects without repeatedly rereading files or relying only on broad search.

open-sourceOpen SourceTelemetry
BeeAI Framework logo

BeeAI Framework

Python and TypeScript framework for production multi-agent systems

BeeAI Framework is an Apache-2.0 toolkit for building production-ready AI agents and multi-agent systems in Python and TypeScript. Its docs cover agents, tools, RAG, memory, workflows, backend providers, serving, and A2A/MCP integration surfaces, making it a vendor-neutral option for teams comparing LangGraph, CrewAI, Mastra, and related agent runtimes.

open-sourceOpen SourceTelemetry

Supabase MCP

MCP server for connecting AI assistants to Supabase projects

Supabase MCP is Supabase's Apache-2.0 server for connecting AI assistants to Supabase projects. It can expose database, configuration, and project-management workflows to MCP clients such as Cursor, Claude, and Windsurf, while the official docs emphasize permission and security review before production use, SQL changes, or high-privilege database access.

open-sourceOpen SourceTelemetry

Comparisons