🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@modelcontextprotocol/server

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modelcontextprotocol/server

Model Context Protocol implementation for TypeScript - Server package

Source
npmnpm
Version
2.0.0-alpha.2
Version published
Weekly downloads
150K
-2.32%
Maintainers
6
Weekly downloads
 
Created
Source

@modelcontextprotocol/server

The MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that expose tools, resources, and prompts.

[!WARNING] This is an alpha release. Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.

[!NOTE] This is v2 of the MCP TypeScript SDK. It replaces the monolithic @modelcontextprotocol/sdk package from v1. See the migration guide if you're coming from v1.

Install

npm install @modelcontextprotocol/server@alpha

Optional framework adapters: @modelcontextprotocol/express, @modelcontextprotocol/hono, @modelcontextprotocol/node.

Documentation

Keywords

modelcontextprotocol

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts