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 protocol primitives; mcp-use gives you a fullstack framework with typed tools, React views, OAuth, tunneling, an Inspector, and a deploy command on top of those same primitives.
Introduction and methodology note
Both libraries implement the Model Context Protocol and both can expose tools over HTTP, and both are open source under the mcp-use GitHub organization umbrella of MCP tooling. The official @modelcontextprotocol/sdk is the low-level reference implementation: you register tools, wire transports, and assemble auth yourself. mcp-use builds on the official TypeScript SDK v2 and adds fully typed tool contracts, native React Views, one-line OAuth adapters, a built-in Inspector, tunneling, and deployment tooling, in both TypeScript and Python.
This page compares the two on the dimensions that matter when you ship a remote MCP server: scaffolding, typing, UI, auth, testing, and deployment. mcp-use figures come from its own published pages, linked inline. Official SDK figures come from its published pages and are stated as plain text without links. Performance and install-size numbers are self-reported by each vendor; verify both on your own workload before committing. Claims were last verified against the linked pages in November 2026.
TL;DR
- If you are building a production remote MCP server with UI, OAuth, or a deploy pipeline, mcp-use covers all three in one SDK; the official SDK leaves each as manual work.
- mcp-use's own benchmark table reports ~10,982 ops/s versus ~8,050 for the official SDK v2, and a screened install size of ~74.4 MiB (51 packages) versus ~99.0 MiB (119 packages).
- If you only need a minimal stdio server with no UI and no auth, the official SDK is enough; mcp-use still works but you are not using most of it.
Quick-comparison table
| Dimension | mcp-use | Official MCP SDK |
|---|---|---|
| Language support | TypeScript and Python | TypeScript, Python, and community SDKs |
| Layer | Fullstack framework on top of the official SDK | Low-level protocol SDK |
| Typed tool contracts | Zod schemas flow to content and structuredContent | Manual schema wiring |
| React views / MCP Apps | Native Views bound to tools | Partial, extension-only |
| OAuth | One-line adapters for WorkOS, Clerk, Auth0, or any OAuth 2.0 provider | Auth primitives you assemble yourself |
| Inspector | Built in at /inspector, plus hosted at inspector.mcp-use.com | Separate Inspector tooling |
| Tunneling | Built in via mcp-use dev --tunnel | Not included |
| Screenshot verification | Built-in CLI (mcp-use screenshot) | Not included |
| Deployment | npm run deploy to Manufact, or self-host | Bring your own |
| Reported throughput (ops/s) | ~10,982 | ~8,050 |
| Screened install size | ~74.4 MiB, 51 packages | ~99.0 MiB, 119 packages |
| Starter templates | 15+ in the registry | Minimal examples |
Throughput and install-size rows are from the mcp-use org README benchmark table and are vendor-reported.
Granular differentiator table
The official SDK's differentiator is that it is the protocol reference implementation: minimal, stable, and dependency-light in spirit. The practical gap shows up in what you have to build around it. Per the same benchmark table:
| Capability | mcp-use | 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 flagged |
| View screenshot CLI | Built in | Not included |
| Built-in tunneling | Yes | Not included |
| Built-in Inspector | Yes | Not included |
| Structured tool output | content + typed structuredContent | Manual |
| Runtime | Optimized stateless runtime | Standard |
The honest read: the official SDK is not missing capabilities so much as deferring them. Views exist through the extensions path, and OAuth is possible with primitives. mcp-use preassembles those pieces so you do not.
Why teams choose mcp-use over the Official MCP SDK
One SDK instead of five libraries
A production remote MCP server typically needs a server framework, a UI layer, an auth stack, a test harness, and deploy scripts. With the official SDK you assemble those from unrelated packages. mcp-use ships the server, app, agent, and client layers in one SDK, so a tool, its React view, and its auth share one type system. That consolidation is also why the install stays small: fewer packages to pull in and keep updated.
Typed tools end to end
In mcp-use v2, Zod schemas flow from the tool definition into structured results, view props, and tool calls. A tool returns both content for text clients and structuredContent for typed consumers, so a React view can consume the same object the model sees. With the official SDK you wire input and output schemas by hand and keep the view contract in sync yourself.
Testing and shipping are built in
The Inspector is auto-mounted at /inspector on every dev server, mcp-use dev --tunnel gives you a public URL to test against ChatGPT and Claude before deploying, and mcp-use screenshot captures a rendered view for regression checks. The official SDK has no equivalent for any of the three; you script them yourself.
If you are evaluating frameworks for a server you plan to ship publicly, you can scaffold a working server with OAuth and views in minutes via npx create-mcp-use-app and see the difference directly.
Best use cases for mcp-use
ChatGPT Apps and Claude connectors with UI
mcp-use's native Views render interactive React widgets inside MCP clients that support the open MCP-UI spec, written once with no per-client rewrites. Views live under views/<view-name>/view.tsx and bind to tools via useToolContext and useCallTool. How the official SDK compares: it supports views only through the extensions path, so you manage the React pipeline and client wiring yourself.
Remote servers that need OAuth
mcp-use includes provider-agnostic OAuth 2.0 adapters for WorkOS, Clerk, Auth0, or any standard identity provider, and starter templates ship with pre-wired flows. How the official SDK compares: it exposes OAuth primitives; assembling a full provider-agnostic flow is your work.
Agent-first teams
Scaffold, invoke, inspect, screenshot, and deploy are all CLI-driven, and a drop-in skill lets Claude Code or Cursor reference mcp-use docs instead of hallucinating MCP primitives. The headless client (@mcp-use/client) drives servers from the terminal: npx mcp-use client local tools call get-weather city=Tokyo. How the official SDK compares: it is a library, not a workflow; every step above is custom scripting.
Teams that want one codebase for server and agent
The same SDK covers the MCPAgent connection layer for wiring LLMs to MCP servers, so server and agent code share types and utilities. How the official SDK compares: it covers the server side only; agent connections need separate glue.
Best use cases for the Official MCP SDK
Minimal stdio servers and protocol work
If you are exposing two or three tools over stdio with no UI, no auth, and no deploy pipeline, the official SDK is the right size. It is the reference implementation, it tracks the spec first, and it adds no framework opinions you have to unwind.
Contributing to or validating the protocol itself
If your work is protocol-level, implementing a new MCP capability or testing spec compliance, working against the reference SDK is the correct choice. mcp-use sits on top of it and is not the tool for spec work.
Platform overview of mcp-use
Scaffolding
npx -y create-mcp-use-app@latest generates a TypeScript project with dev scripts, the Inspector, and a React view pipeline. npm run dev serves the MCP endpoint at http://localhost:3000/mcp with the Inspector at http://localhost:3000/mcp/inspector. See the getting started docs.
Typed tool definitions
Tools are declared with Zod schemas for input and output, plus annotations like readOnlyHint:
import { MCPServer } from "mcp-use";
const server = new MCPServer();
server.tool(
{
name: "get-weather",
description: "Get current weather for a city",
inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }),
annotations: { readOnlyHint: true },
},
async ({ city }) => ({ tempC: await fetchTemp(city) })
);
Native Views
A view is a React component under views/<view-name>/view.tsx whose view.name matches the tool. It renders inside MCP-UI-compatible hosts with no extra wiring, and hooks like useCallTool call back into the server. Because view props are typed from the tool output schema, a schema change surfaces as a compile error in the view rather than a runtime failure in the client.
OAuth
Auth adapters are one line per provider and work with WorkOS, Clerk, Auth0, or any OAuth 2.0 identity provider, so the same server code survives a provider switch. Starter templates arrive with the flow already wired, which removes the most common source of security mistakes in hand-rolled MCP auth.
Inspector and tunneling
Every dev server mounts the Inspector at /inspector; the hosted version lives at inspector.mcp-use.com. mcp-use dev --tunnel publishes a local server so ChatGPT and Claude can reach it before you deploy.
Deployment
npm run deploy ships to Manufact for observability, analytics, and evals, with Git-based preview environments. Self-hosting is documented in the runtime patterns docs.
How to choose decision matrix
| Your situation | Choose |
|---|---|
| Remote server with UI widgets for ChatGPT or Claude | mcp-use |
| OAuth-protected public MCP server | mcp-use |
| TypeScript and Python in the same codebase | mcp-use |
| Minimal stdio server, no UI or auth | Official SDK |
| Protocol spec work or compliance testing | Official SDK |
| You need tunneling, Inspector, and screenshots out of the box | mcp-use |
| You want the smallest possible dependency surface and will build the rest | Official SDK |
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 consolidation rather than rewrite. The v2 migration guide covers v1-to-v2 specifics; the SDK-swap path looks like this.
- Scaffold a parallel mcp-use project with
npx -y create-mcp-use-app@latestand confirmnpm run devserves/mcp. - Move tool handlers over. Before, with the official SDK:
server.registerTool("get-weather", {
inputSchema: { city: z.string() },
}, async ({ city }) => ({ content: [{ type: "text", text: weather(city) }] }));
After, with mcp-use:
server.tool(
{ name: "get-weather", inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }) },
async ({ city }) => ({ tempC: await fetchTemp(city) })
);
The handler shape is similar; what changes is that output schemas and structured results are first-class.
- Replace your auth glue with an OAuth adapter. If you built a bespoke flow on the official SDK's primitives, map your provider to the matching mcp-use adapter; WorkOS, Clerk, and Auth0 are covered directly.
- Point clients at the new URL. Local testing uses the built-in Inspector; remote testing uses
mcp-use dev --tunnel. - Deploy with
npm run deployor keep your existing self-hosting setup; both are supported.
Friction to expect: custom transport setups and nonstandard extensions built directly on the official SDK have no direct mcp-use equivalent and may need adaptation. If your server is UI-free and auth-free, a full migration buys you little; a partial migration, keeping the official SDK for that server and using mcp-use for new servers, is a reasonable end state.
FAQ
Is mcp-use faster than the official SDK?
Per mcp-use's published benchmark table, mcp-use v2 reports ~10,982 ops/s versus ~8,050 for the official SDK v2, and a screened install size of ~74.4 MiB (51 packages) versus ~99.0 MiB (119 packages). These are vendor-reported numbers; benchmark both on your own tool mix before relying on them.
Do I have to give up the official SDK to use mcp-use?
No. mcp-use builds on the official TypeScript SDK v2, so protocol behavior is the same underneath. You are adding framework layers, not replacing the protocol implementation.
Can mcp-use render UI inside ChatGPT and Claude?
Yes. Native Views implement the open MCP-UI spec, so a React view defined under views/<view-name>/view.tsx renders in MCP-UI-compatible hosts without per-client rewrites. The official SDK supports views only through its extensions path.
How hard is OAuth with mcp-use?
One adapter line per provider for WorkOS, Clerk, Auth0, or any OAuth 2.0 identity provider, and starter templates ship with flows pre-wired. With the official SDK, you assemble the flow from auth primitives yourself.
Does mcp-use work in Python?
Yes. mcp-use covers both TypeScript and Python; the official SDK also ships Python, but the Views, OAuth adapters, Inspector, and deploy workflow are where mcp-use differs.
What if I only need a tiny internal server?
Use the official SDK. For a stdio server with a few tools, mcp-use's framework layers go unused, and the reference implementation is the lighter choice.
Ready to ship a remote MCP server with typed tools, views, and OAuth in one codebase? Get started with mcp-use and scaffold your first server in minutes.