mcp-use vs. the Official MCP TypeScript SDK (2026)
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
mcp-use vs. the Official MCP TypeScript SDK (2026)
The fastest way to scaffold a production TypeScript MCP server is npx create-mcp-use-app@latest, which gives you a typed server, React views, a built-in Inspector, and deploy scripts in one command; the official @modelcontextprotocol/sdk gives you primitives you assemble yourself.
Introduction and methodology note
mcp-use is an open-source TypeScript framework built on top of the official MCP TypeScript SDK v2. It adds fully typed tool contracts, native React views, a stateless runtime, an Inspector, and agent-first CLI workflows on top of the protocol layer (mcp-use on GitHub). The official SDK is the low-level protocol implementation it builds on: you get server and client primitives, and you wire tool registration, UI, auth, and deployment yourself.
That difference in level, not in correctness, is the whole comparison. If you want to hand-assemble a server, the official SDK is a fine foundation. If you want a scaffolded, production-shaped project in under a minute, mcp-use does that out of the box (getting started).
Methodology: mcp-use figures on this page come from its own published pages, linked inline, last verified November 2026. Official SDK figures are stated as plain text from its published documentation and repository, without links. Throughput and install-size numbers are vendor-reported benchmarks from the mcp-use org README; test both on your own workload before deciding.
TL;DR
npx -y create-mcp-use-app@latestscaffolds a complete TypeScript MCP server with config, dev scripts, Inspector, and a React view pipeline; the official SDK has no scaffolding CLI, so you assemblepackage.json, tsconfig, transport wiring, and tool registration by hand.- mcp-use reports roughly 10,982 ops/s versus about 8,050 ops/s for the official SDK v2, and a screened install size of about 74.4 MiB (51 packages) versus about 99.0 MiB (119 packages), per its own benchmark table.
- Choose the official SDK when you need raw protocol primitives or a minimal dependency tree; choose mcp-use when you want views, OAuth adapters, tunneling, screenshots, and deployment in one scaffold.
Quick-comparison table
| Dimension | mcp-use | Official MCP TypeScript SDK |
|---|---|---|
| Scaffold CLI | npx -y create-mcp-use-app@latest | Not published; manual project setup |
| Base layer | Builds on official SDK v2 | Protocol primitives only |
| Typed tool contracts | Zod schemas flow to content and structuredContent | Zod input schemas; structured output wiring is manual |
| React views | Native views bound to tools via views/<view-name>/view.tsx | Partial, extension-only |
| OAuth | One-line provider adapters (WorkOS, Clerk, Auth0, any OAuth 2.0 IdP) | Primitives; you assemble flows |
| Inspector | Built in at /inspector, plus hosted at inspector.mcp-use.com | Separate Inspector package you run yourself |
| Tunneling | Built in: mcp-use dev --tunnel | Not published |
| Screenshot CLI | npx mcp-use screenshot | Not published |
| MCP 2026 protocol | Yes, per org README | Not published on the pages reviewed |
| Reported throughput | ~10,982 ops/s (vendor benchmark) | ~8,050 ops/s (same vendor benchmark) |
| Screened install size | ~74.4 MiB, 51 packages (vendor benchmark) | ~99.0 MiB, 119 packages (same vendor benchmark) |
| Deployment path | npm run deploy to Manufact Cloud, or self-host | Self-assembled |
| License | Open source | Open source |
Granular differentiator table
The official SDK's differentiator is that it is the protocol reference implementation: minimal, unopinionated, and closest to the spec. mcp-use's differentiator is everything it scaffolds around that layer. Here is the feature-by-feature breakdown from the mcp-use org README benchmark table:
| Capability | mcp-use v2 | Official SDK v2 |
|---|---|---|
| Native views on MCP 2025/2026 | Yes | Partial (extension-only) |
| One-line OAuth adapters | Yes | Primitives only |
| MCP 2026 protocol support | Yes | Not stated in the benchmark table |
| Built-in view screenshot CLI | Yes | No |
| Built-in tunneling | Yes | No |
| Built-in Inspector | Yes | No (separate package) |
| Starter template registry | 15+ templates (Starter, Chart Builder, Multi Server Hub, and more) | Not published |
| Agent skill for Claude Code and Cursor | Drop-in skill included | Not published |
Where the official SDK wins is footprint philosophy and spec proximity: it ships fewer opinions, and teams that need to control every layer, or that target a protocol version mcp-use has not adopted, can work directly against it. mcp-use's benchmarks are self-run; treat both throughput columns as directional.
Why teams choose mcp-use over the Official SDK
Scaffolding that produces a running server, not a blank file
One command produces a complete project: TypeScript config, dev scripts, the Inspector mounted at /mcp/inspector, and a React view pipeline. npm run dev serves the MCP endpoint at http://localhost:3000/mcp immediately (mcp-use on GitHub). With the official SDK, the equivalent first run means creating the project, installing the SDK, writing the transport setup, and registering at least one tool before anything responds.
Typed contracts from tool to view
In mcp-use, a tool's Zod schemas flow into structured results, view props, and tool calls. Tool outputs return both content for text and structuredContent as a typed object, so a React view can consume the same schema the server validates (mcp-use on GitHub). In the official SDK, structured output exists but the plumbing between tool schema and UI is yours to write.
The full path to a shipped server
Scaffold, inspect, screenshot, tunnel, and deploy are all first-class CLI steps. npm run deploy ships to Manufact Cloud with observability, analytics, evals, and Git-based preview environments, and self-hosting is documented as an alternative (mcp-use on GitHub). The official SDK stops at the protocol layer; deployment is your own scripts.
If that sounds like the workflow you want, start building with mcp-use and scaffold your first server in the next minute.
Best use cases for mcp-use
ChatGPT apps and Claude connectors with real UI
Native views let a .tsx file under views/ render as an interactive app bound to a tool, using hooks like useToolContext and useCallTool from mcp-use/react. Widgets render across MCP-UI-compatible hosts without per-client rewrites. How the official SDK compares: views are possible through the extension packages, but you wire the extension, bundling, and prop plumbing yourself.
Internal tools that need OAuth on day one
Starter templates ship with pre-wired OAuth 2.0 flows, and adapters are provider-agnostic across WorkOS, Clerk, Auth0, or any compliant IdP. How the official SDK compares: it exposes auth primitives, so a production flow means assembling token handling, redirects, and provider config per project.
Agent-built and headless workflows
mcp-use is agent-first: scaffold, invoke, inspect, screenshot, and deploy through a CLI an agent can drive, plus a drop-in skill for Claude Code and Cursor so agents scaffold against real docs instead of hallucinated MCP primitives. How the official SDK compares: it has no agent-facing CLI surface; agents working against it produce the boilerplate themselves.
Teams consolidating the MCP stack
One SDK covers server, app, agent, and client layers in TypeScript and Python, replacing the usual combination of a low-level SDK, custom auth glue, separate widget logic, and deployment scripts. How the official SDK compares: it covers the protocol layer well and expects you to pick companion libraries for everything else.
Best use cases for the Official MCP TypeScript SDK
Minimal-dependency protocol work
If your server is a thin tool layer with no UI, no auth provider, and strict control over the dependency tree, the official SDK's primitives are enough, and its ~99.0 MiB screened install (per mcp-use's benchmark) is not a penalty you care about optimizing past.
Spec-level experimentation
Teams testing new protocol revisions or building tooling on top of MCP itself often want the reference implementation, not a framework above it. mcp-use tracks MCP 2026 per its README, but if you need to pin an exact protocol behavior before a framework adopts it, working against the official SDK directly is the honest choice.
Platform overview of mcp-use
Scaffolding with create-mcp-use-app
The scaffold command sets up TypeScript config, dev scripts, the Inspector, and the view pipeline in one step (getting started).
npx -y create-mcp-use-app@latest my-server cd my-server npm run dev # MCP endpoint: http://localhost:3000/mcp # Inspector: http://localhost:3000/mcp/inspector
Defining typed tools
Tools are declared on an MCPServer instance with name, schemas, optional view binding, and annotations, and the handler returns both text content and a typed structured result (mcp-use on GitHub).
import { MCPServer } from "mcp-use";
import { z } from "zod";
const server = new MCPServer({ name: "weather", version: "1.0.0" });
server.tool(
{
name: "get-weather",
description: "Current weather for a city",
inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }),
annotations: { readOnlyHint: true },
},
async ({ city }) => ({ tempC: 21, content: [{ type: "text", text: `${city}: 21C` }] })
);
React views bound to tools
A view lives at views/<view-name>/view.tsx, matches its view.name to the tool's view binding, and reads tool state through useToolContext and useCallTool (mcp-use on GitHub).
Inspector and screenshot verification
Every local server mounts the Inspector at /inspector, and the hosted Inspector is available without any setup (hosted Inspector). For CI or agent loops, npx mcp-use screenshot --server local --tool get-weather city=Tokyo --output weather-card.png renders the view to a file.
Testing against real clients before deploying
mcp-use dev --tunnel exposes a public URL for your local server so ChatGPT and Claude can connect before you deploy; the headless client (@mcp-use/client) drives tools list and tools call from a terminal (mcp-use on GitHub).
Deployment and self-hosting
npm run deploy ships to Manufact Cloud with observability, analytics, evals, and Git-based preview environments; self-hosting is documented for teams that run their own infrastructure (mcp-use on GitHub).
How to choose: decision matrix
| Your situation | Choose |
|---|---|
| You want a running server in under a minute | mcp-use (create-mcp-use-app) |
| You need React UI inside ChatGPT or Claude | mcp-use (native views) |
| You need OAuth without building flows | mcp-use (one-line adapters) |
| You need raw protocol primitives or to pin exact spec behavior | Official SDK |
| You want the smallest opinion footprint, not the smallest install | Official SDK |
| You want tunneling, screenshots, and deploy in one CLI | mcp-use |
| Your team builds in TypeScript and Python | mcp-use (both languages, one framework) |
| You are building tooling on top of MCP itself | Official SDK |
Migration guide: switching from the Official SDK to mcp-use
Step 1: Scaffold and port your tools. Run create-mcp-use-app, then move each server.tool(...) registration over. The mcp-use signature accepts the same Zod input schema you already have, plus optional outputSchema, view, and annotations fields (migration docs).
Before, with the official SDK:
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
const server = new McpServer({ name: "weather", version: "1.0.0" });
server.tool("get-weather", { city: z.string() }, async ({ city }) => ({
content: [{ type: "text", text: `${city}: 21C` }],
}));
await server.connect(new StdioServerTransport());
After, with mcp-use:
import { MCPServer } from "mcp-use";
const server = new MCPServer({ name: "weather", version: "1.0.0" });
server.tool(
{ name: "get-weather", inputSchema: z.object({ city: z.string() }) },
async ({ city }) => ({ content: [{ type: "text", text: `${city}: 21C` }] })
);
// served over HTTP at /mcp by `npm run dev`; no transport wiring
Step 2: Swap stdio for HTTP where it makes sense. The official scaffold above uses stdio; mcp-use serves streamable HTTP at /mcp by default. If a client genuinely requires stdio, check the runtime patterns docs before assuming a gap.
Step 3: Adopt the pieces you want, skip the rest. Views, OAuth adapters, tunneling, and screenshots are opt-in. A server that only registers tools works unchanged.
What has no direct equivalent: if you have built custom middleware against official SDK internals, expect to re-express it in mcp-use's server API; the framework wraps the official SDK rather than exposing every internal. For heavily customized servers, a partial migration, mcp-use for new tools and views while legacy tools stay put, is a reasonable end state. The v1-to-v2 migration guide covers framework-internal upgrades separately (migration docs).
FAQ
Is mcp-use actually faster than the official SDK?
Per mcp-use's own benchmark table, about 10,982 ops/s versus about 8,050 ops/s for the official SDK v2, with a screened install of about 74.4 MiB versus about 99.0 MiB. These are vendor-run numbers; run both against your own tool mix before treating them as gospel.
Does mcp-use replace the official SDK?
No, it builds on it. mcp-use sits on official TypeScript SDK v2 the way Next.js sits on React: the protocol layer is the same, and mcp-use adds typed contracts, views, auth adapters, and tooling above it (mcp-use on GitHub).
What is the single command to scaffold a server?
npx -y create-mcp-use-app@latest. It produces a project where npm run dev serves the MCP endpoint at http://localhost:3000/mcp with the Inspector alongside it (getting started).
Can I add OAuth without rewriting my auth?
Yes, if your provider is any OAuth 2.0 compliant IdP. mcp-use ships one-line adapters for WorkOS, Clerk, Auth0, and generic providers, and starter templates come with flows pre-wired.
How do I test my local server with ChatGPT or Claude?
Run mcp-use dev --tunnel to get a public URL for your local server, or use the hosted Inspector directly (hosted Inspector). Both let you connect a real client before deploying.
Is there a Python version?
Yes. mcp-use covers TypeScript and Python with the same framework surface, so teams can keep one mental model across both stacks.
Scaffolding is the easy part once the framework does it for you. Start building with mcp-use and ship your first server today.