mcp-use vs. the Official MCP 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 SDK (2026)
The official MCP SDK gives you a server; mcp-use gives you the server, the React widget UI, the auth layer, and the deployment path in one framework.
Introduction and methodology note
An MCP server exposes tools over the Model Context Protocol. An MCP App goes further: a tool call returns an interactive React widget that renders inside ChatGPT, Claude, and other MCP-UI-compatible clients, with state that flows between the UI and the server. The official @modelcontextprotocol/sdk is deliberately low-level, so building the App layer on top of it means wiring widget rendering, OAuth, and deployment yourself. mcp-use is a fullstack framework built on top of that SDK, covering servers, MCP Apps with React views, agents, and clients in both TypeScript and Python.
This page compares mcp-use against the official SDK for teams deciding what to build an MCP App with. mcp-use figures come from its own published pages, linked inline: the mcp-use site, the GitHub organization, and the v2 docs. Official SDK facts are stated as plain text from its published documentation and are not hyperlinked. Claims were last verified in November 2026. Throughput and install-size numbers are vendor-reported benchmarks from the mcp-use README; test on your own workload before committing.
TL;DR
- If your tool calls need to render interactive React UI inside ChatGPT or Claude, mcp-use ships that as first-class Views; the official SDK treats the App extension as partial and leaves the React pipeline to you.
- mcp-use adds OAuth adapters, tunneling, a built-in Inspector, and a screenshot CLI on top of the SDK; with the raw SDK you assemble those from separate libraries.
- If you only need a handful of stdio tools for a local agent, the official SDK is fine and lighter to reason about; mcp-use earns its keep once UI, auth, or deployment enter the picture.
Quick-comparison table
| Dimension | mcp-use v2 | Official MCP SDK |
|---|---|---|
| Language support | TypeScript and Python | TypeScript, Python, and other community SDKs |
| React widget UI (MCP Apps) | Native Views, first-class | Partial, extension-only |
| OAuth | One-line provider adapters (WorkOS, Clerk, Auth0, any OAuth 2.0 IdP) | Primitives only; you assemble the flow |
| MCP 2026 protocol support | Yes | not published |
| Built-in Inspector | Yes, at /mcp/inspector locally and hosted at inspector.mcp-use.com | Separate Inspector project you run yourself |
| Tunneling for local testing | Built in (mcp-use dev --tunnel) | Not included |
| Screenshot verification CLI | Built in (mcp-use screenshot) | Not included |
| Throughput (vendor benchmark, ops/s) | ~10,982 | ~8,050 |
| Screened install size (vendor benchmark) | ~74.4 MiB, 51 packages | ~99.0 MiB, 119 packages |
| Deployment workflow | npm run deploy to Manufact, or self-host | Bring your own |
| Starter templates | 15+ scaffolded projects | Minimal examples |
Granular differentiator table
The official SDK's gap is the App layer. Here is what building an MCP App actually requires, and where each option stands.
| MCP App requirement | mcp-use v2 | Official MCP SDK |
|---|---|---|
| Return a React view from a tool call | view: { name } on the tool definition; view file at views/<view-name>/view.tsx | Possible via the extension packages plus your own Vite setup |
| Typed tool contracts end to end | Zod schemas flow to content and structuredContent, view props, and tool calls | Zod for input schemas; view prop typing is yours to wire |
| Client-side hooks for widget state | useToolContext and useCallTool from mcp-use/react | Not provided; write your own bridge |
| Cross-client rendering (ChatGPT, Claude, MCP-UI hosts) | Targets the open MCP-UI spec, one build renders in compatible hosts | Extension-only; per-client wiring varies |
| OAuth for the App's server | Provider-agnostic adapters, pre-wired in starter templates | Primitives; assemble per provider |
| Preview the widget before deploying | Built-in Inspector plus mcp-use screenshot | Run the standalone Inspector; no screenshot tooling |
On the raw numbers, mcp-use is not cheaper or lighter in every respect that matters to everyone: the official SDK is the reference implementation, and if you need to track protocol changes at the source, reading its code directly has value. But for the App layer specifically, the SDK gives you primitives and leaves the composition to you.
Why teams choose mcp-use over the Official MCP SDK
The widget pipeline already exists
In mcp-use, a tool declares a view and the framework handles the React bundling, the MCP-UI resource plumbing, and the props contract. The tool definition carries inputSchema, outputSchema, and view: { name } in one object, and the matching views/<view-name>/view.tsx file binds to the tool through useToolContext and useCallTool. With the official SDK you would wire @modelcontextprotocol/ext-apps, a bundler, and a state bridge by hand. The v2 docs walk through this setup from scratch.
Auth is an adapter, not a project
Securing a remote MCP server usually means stitching an OAuth library, a token cache, and route handlers per provider. mcp-use ships one-line adapters for WorkOS, Clerk, Auth0, or any OAuth 2.0 identity provider, and starter templates arrive with the flow pre-wired. On the official SDK, OAuth is exposed as primitives and the flow is your code to write and maintain across every server you operate.
The feedback loop is built in
Every mcp-use dev server auto-mounts the Inspector, and mcp-use dev --tunnel gives you a public URL to test the same server inside ChatGPT or Claude before deploying. mcp-use screenshot --server local --tool get-weather city=Tokyo --output weather-card.png captures the rendered widget for CI checks. None of that exists in the official SDK; you would run a separate Inspector process and verify widgets by eye.
If you are evaluating frameworks for a widget-heavy App, the simplest check is scaffolding both and rendering one real tool: start a free mcp-use project and compare against your SDK setup in an afternoon.
Best use cases for mcp-use
ChatGPT Apps and Claude connectors with real UI
Anything where the tool result should be a chart, a map, a slide, or a form belongs in mcp-use. Views render natively in MCP-UI-compatible hosts, so one widget build targets ChatGPT, Claude, and other clients without per-client rewrites. The starter registry includes Chart Builder, Maps Explorer, and Slide Deck projects that demonstrate exactly this pattern.
How the Official MCP SDK compares: it can serve the same tools, but the React view pipeline, prop typing, and client bridging are all extension work you own.
Production remote servers with auth
A public MCP endpoint needs OAuth from day one. mcp-use's provider-agnostic adapters and pre-wired starter flows mean the auth layer is configuration, not a bespoke implementation per server. Deployment follows the same shape: npm run deploy ships to Manufact with observability and preview environments, or you self-host.
How the Official MCP SDK compares: the SDK's OAuth primitives are flexible, but every provider integration and deployment script is custom code you maintain.
Agent-first teams
mcp-use is built to be driven by coding agents: a drop-in skill for Claude Code and Cursor lets agents scaffold servers and widgets against real docs instead of hallucinating MCP primitives. The headless @mcp-use/client package supports npx mcp-use client local tools call get-weather city=Tokyo for scripted verification.
How the Official MCP SDK compares: the SDK has no agent workflow; scaffolding, testing, and screenshots are manual steps.
Multi-server aggregation
If your agent needs to talk to several MCP servers, mcp-use's client layer provides a high-level MCPAgent abstraction with dynamic server selection, instead of per-integration glue code against each server's transport.
How the Official MCP SDK compares: the SDK gives you one client per connection; aggregation and selection logic are yours.
Best use cases for the Official MCP SDK
Learning the protocol or tracking it at the source
The official SDK is the reference implementation. If you are contributing to the MCP spec, debugging protocol-level behavior, or need to adopt a brand-new protocol revision the day it lands, reading and using the reference code directly is a real advantage mcp-use cannot offer.
Minimal stdio tools with no UI
A local stdio server exposing three tools to a single agent does not need views, OAuth, or deployment tooling. The official SDK's smaller conceptual surface is a fair fit there, and adding a framework would be overhead without payoff.
Platform overview of mcp-use
Scaffolded projects
npx -y create-mcp-use-app@latest scaffolds a TypeScript server with dev scripts, the Inspector, and the React view pipeline. The starter registry covers 15+ projects, from a blank server to a Widget Gallery and a Multi Server Hub. See the getting-started docs.
Typed tool definitions
Tools are declared with Zod schemas for both input and output, and results return content plus structuredContent, so clients get machine-readable data alongside text.
import { MCPServer } from "mcp-use";
const server = new MCPServer();
server.tool({
name: "get-weather",
title: "Get Weather",
description: "Current conditions for a city",
inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }),
view: { name: "weather-card" },
}, async ({ city }) => ({ tempC: await fetchTemp(city) }));
Native Views
View files live at views/<view-name>/view.tsx and bind to their tool through useToolContext and useCallTool from mcp-use/react. The framework handles bundling and the MCP-UI resource plumbing.
Built-in Inspector and tunneling
Every dev server mounts the Inspector at /mcp/inspector, and the hosted version lives at inspector.mcp-use.com. mcp-use dev --tunnel exposes your local server publicly so ChatGPT and Claude can connect before you deploy anything.
Headless client CLI
npm install --save-dev @mcp-use/client gives you scripted tool listing, invocation, and screenshots, which is what makes widget regression checks possible in CI.
Deployment
npm run deploy ships the server to Manufact with observability, analytics, evals, and Git-based preview environments. Self-hosting is documented in the runtime-patterns docs if you prefer your own infrastructure.
How to choose decision matrix
| Your situation | Choose |
|---|---|
| Tool calls must render interactive UI in ChatGPT or Claude | mcp-use |
| You need OAuth on a remote server without building it per provider | mcp-use |
| You want CI-verified widgets (screenshots, headless tool calls) | mcp-use |
| You are targeting both TypeScript and Python teams with one framework | mcp-use |
| You are learning the MCP protocol or contributing to the spec | Official MCP SDK |
| A small local stdio server with no UI, auth, or deployment needs | Official MCP SDK |
| You must adopt a protocol revision before the framework supports it | Official MCP SDK, or mcp-use once it lands |
| You want one vendor path from scaffold to hosted deployment | mcp-use |
Migration guide
Switching from the Official MCP SDK to mcp-use
mcp-use builds on the official TypeScript SDK v2, so the migration is mostly composition, not rewrite. The v1-to-v2 migration guide covers framework-specific changes.
-
Install and scaffold. Add
mcp-useto the project, or scaffold fresh withnpx -y create-mcp-use-app@latestand port tools over. -
Swap the server class. Replace the SDK's
McpServerwithMCPServerfrommcp-use. Tool registration moves from separateregisterToolcalls plus manual schema plumbing to a single typed object:
// Before: official SDK
server.registerTool("get-weather", {
title: "Get Weather",
inputSchema: { city: z.string() },
}, async ({ city }) => ({ content: [{ type: "text", text: `${temp}C` }] }));
// After: mcp-use
server.tool({
name: "get-weather",
title: "Get Weather",
inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }),
view: { name: "weather-card" },
}, async ({ city }) => ({ tempC }));
-
Move UI into views. Any React you rendered through the extension apps setup becomes a
views/<view-name>/view.tsxfile, and client-side state code collapses intouseToolContextanduseCallTool. -
Replace auth glue. Delete bespoke OAuth route handlers and token caches; configure the matching provider adapter instead.
-
Wire the dev loop.
npm run devserves the MCP endpoint athttp://localhost:3000/mcpwith the Inspector alongside it;mcp-use dev --tunnelreplaces any ngrok-style setup you had.
What has no direct equivalent: if you depend on SDK internals or undocumented protocol behavior, those calls need rework, and a protocol revision mcp-use has not marked yet is a reason to wait. A partial migration is a legitimate end state: keep the SDK for protocol-critical paths and adopt mcp-use for the view, auth, and deployment layers where it removes the most code.
FAQ
Is mcp-use faster than the official SDK?
Per the vendor's benchmark table on the mcp-use GitHub README, mcp-use v2 reports about 10,982 ops/s versus about 8,050 for the official SDK v2, and a screened install size of about 74.4 MiB across 51 packages versus about 99.0 MiB across 119. These are self-reported numbers from the framework's own README; run the benchmark against your own tool mix before treating them as decisive.
Do I have to rewrite my existing MCP server to adopt mcp-use?
No. mcp-use builds on the official TypeScript SDK v2, so existing tool handlers port with a registration change, as shown in the migration guide above. The view layer is additive: tools without views keep working as plain tools.
Can widgets built with mcp-use render in both ChatGPT and Claude?
That is the design goal: mcp-use targets the open MCP-UI spec, so a widget build renders natively in MCP-UI-compatible hosts without per-client rewrites. Verify against the specific client versions you support, since host support for the spec varies.
What does mcp-use give me that FastMCP does not?
FastMCP is Python-only and does not ship the React MCP App view layer, one-line OAuth adapters, or the cross-client publishing path. If your team is Python-only and needs no UI, FastMCP is a reasonable high-level option; if you need TypeScript, widgets, or auth tooling, that is where mcp-use diverges.
Is the official SDK a bad choice?
No. It is the reference implementation and intentionally low-level. The trade-off is composition: views, OAuth flows, tunneling, screenshots, and deployment are all separate work. mcp-use sits above it the way Next.js sits above React, and both share the same underlying SDK.
How do I test an MCP App before deploying it?
Run npm run dev, open the auto-mounted Inspector at /mcp/inspector, then use mcp-use dev --tunnel to get a public URL and connect the real server from ChatGPT or Claude. mcp-use screenshot captures the rendered widget for automated checks.
Ready to build your first MCP App? Start a free mcp-use project, then ship it with a single push to Manufact.