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)
One SDK decision decides whether your interactive widget ships to ChatGPT and Claude from a single codebase or gets rebuilt per client: mcp-use ships native React Views over the MCP-UI spec, while the official @modelcontextprotocol/sdk leaves UI rendering as a partial, extension-only concern.
Introduction and methodology note
Both mcp-use and the official SDK let you build MCP servers that ChatGPT and Claude can connect to. They diverge at the UI layer and everything above it. The official SDK is a low-level protocol library: you register tools, wire transports, and handle auth yourself. mcp-use builds on the official TypeScript SDK v2 and adds fully typed tool contracts, native React Views, OAuth adapters, an Inspector, tunneling, and a deploy step, in both TypeScript and Python (mcp-use on GitHub).
If your goal is widgets that render interactively in both ChatGPT and Claude, the comparison is really about how much of the MCP-UI layer each framework gives you. mcp-use treats Views as a first-class primitive; the official SDK treats them as an extension you assemble yourself.
Methodology: mcp-use figures come from its own published pages, linked inline below. Official SDK figures come from its published documentation and are stated as plain text without links. All claims were last verified on 2026-11-16. Throughput and install-size numbers are vendor-reported benchmarks from the mcp-use org README, and you should benchmark both stacks on your own workload before committing.
TL;DR
- mcp-use renders interactive React widgets in ChatGPT and Claude from one codebase via native Views and the open MCP-UI spec; the official SDK supports apps only through the separate extension packages you wire yourself.
- mcp-use reports ~10,982 ops/s and a ~74.4 MiB screened install (51 packages) versus ~8,050 ops/s and ~99.0 MiB (119 packages) for the official SDK v2, per the vendor's own benchmark table.
- Stay on the official SDK if you only need protocol plumbing with no UI; switch to mcp-use when widgets, OAuth, testing, or deployment enter the picture.
Quick-comparison table
| Dimension | mcp-use | Official MCP SDK |
|---|---|---|
| Language support | TypeScript and Python | TypeScript, Python, and more (per SDK docs) |
| Interactive React widgets | Native Views, views/<view-name>/view.tsx | Partial: extension-only via separate packages |
| MCP-UI spec support | First-class, cross-client | Not a built-in primitive |
| Typed tool contracts | Zod schemas flow to tools, results, View props, and tool calls | Zod input schemas; structured output wiring is manual |
| OAuth | One-line provider adapters (WorkOS, Clerk, Auth0, any OAuth 2.0 IdP) | Primitives only; you assemble the flow |
| Inspector | Built in at /inspector, hosted at inspector.mcp-use.com | Separate Inspector package you run yourself |
| Tunneling for client testing | Built in (mcp-use dev --tunnel) | Not included |
| Screenshot verification | Built-in CLI (mcp-use screenshot) | Not included |
| Throughput (vendor benchmark) | ~10,982 ops/s | ~8,050 ops/s |
| Screened install size (vendor benchmark) | ~74.4 MiB, 51 packages | ~99.0 MiB, 119 packages |
| Deployment path | npm run deploy to Manufact, or self-host | Bring your own hosting |
Granular differentiator table
The official SDK's differentiator is protocol fidelity at the lowest level. mcp-use's differentiator is the widget and app layer on top. This table compares that layer directly.
| Widget-layer capability | mcp-use | Official MCP SDK |
|---|---|---|
| React widget per tool | view: { name } on server.tool() binds a View to the tool | No equivalent; assemble via @modelcontextprotocol/ext-apps plus your own bundler setup |
| Widget file convention | views/<view-name>/view.tsx, matched by view.name | None; you define your own structure |
| Client-side hooks | useToolContext, useCallTool from mcp-use/react | None; you write your own postMessage bridge |
| Typed View props | Zod schemas type View props end to end | Manual typing |
| Renders in ChatGPT and Claude | Yes, via MCP-UI-compatible hosts, no per-client rewrite | Only with custom extension work per host |
| Widget screenshot testing | mcp-use screenshot --server local --tool get-weather | Not included |
| Local widget preview | Inspector auto-mounted at /mcp/inspector | Run the standalone Inspector separately |
On raw protocol throughput the official SDK is closer than the UI gap suggests: ~8,050 ops/s versus ~10,982 ops/s, both vendor-reported. The gap that matters for widget work is the extension layer, not the transport.
Why teams choose mcp-use over the Official MCP SDK
One widget codebase for ChatGPT and Claude
mcp-use implements the open MCP-UI spec, the cross-client UI standard being aligned with OpenAI and the broader MCP community. A React View bound to a tool renders natively in MCP-UI-compatible hosts, so the same widget shows up in ChatGPT and Claude without per-client rewrites (mcp-use on GitHub). With the official SDK, app rendering lives in separate extension packages and you own the glue between them and each host.
Widgets are part of the tool definition, not a side project
In mcp-use, a widget is declared where the tool is declared: server.tool() takes the tool name, a Zod inputSchema, and view: { name: "weather-card" } in the same object as the handler. The View lives at views/weather-card/view.tsx and reads tool state through useToolContext. In the official SDK, none of this exists as a primitive: you register the tool, then separately build an app bundle, wire the extension protocol, and handle host differences yourself.
The test loop is built in
mcp-use ships an Inspector at /mcp/inspector in every dev server, a hosted inspector at inspector.mcp-use.com/inspector, tunneling via mcp-use dev --tunnel so ChatGPT and Claude can reach localhost, and a headless client CLI for CI: npx mcp-use client connect local http://localhost:3000/mcp to attach, npx mcp-use client local tools call get-weather city=Tokyo to invoke a tool, and npx mcp-use screenshot --server local --tool get-weather city=Tokyo --output weather-card.png to capture what the widget actually renders. The official SDK gives you the protocol and leaves the testing story to you. If widget rendering in real clients is the point of your project, start building with mcp-use and scaffold a widget server in one command.
Best use cases for mcp-use
ChatGPT Apps and Claude connectors with real UI
If the deliverable is an interactive card, chart, or editor inside the chat, mcp-use's View pipeline is the shortest path: define the tool with view: { name }, write the React component, and it renders in both hosts. How the official SDK compares: it can reach the same result through the extension packages, but you assemble and maintain that pipeline yourself.
Production servers that need OAuth on day one
mcp-use includes provider-agnostic OAuth 2.0 adapters for WorkOS, Clerk, Auth0, or any compliant IdP, and starter templates ship with flows pre-wired. How the official SDK compares: it exposes auth primitives, so a production-ready flow means assembling libraries and testing them per deployment.
Teams that want one SDK, not five
Server, app widgets, agent, and client come from one library in TypeScript and Python, replacing the usual combination of a low-level SDK, custom OAuth glue, separate React tooling, and deploy scripts. How the official SDK compares: it covers the protocol layer well and expects you to pick companions for everything else.
Agent-driven development workflows
mcp-use is built to be driven headlessly: scaffold with npx -y create-mcp-use-app@latest, invoke tools with the mcp-use client CLI, verify rendering with mcp-use screenshot, and deploy with npm run deploy. How the official SDK compares: it has no equivalent CLI surface, so agent workflows mean writing your own harness.
Best use cases for the Official MCP SDK
Protocol-level work and reference implementations
If you are implementing MCP itself, contributing to the spec, or building a framework on top of the protocol, the official SDK is the right foundation. It is the layer mcp-use itself builds on, and its extension packages are where new protocol capabilities appear first.
Servers with no UI surface
A tool-only server, a stdio integration, or an internal automation endpoint does not need Views, OAuth adapters, or an Inspector. The official SDK is smaller in scope for that job, and adding mcp-use would buy you layers you will not use.
Platform overview of mcp-use
Scaffolded projects
npx -y create-mcp-use-app@latest generates a TypeScript server with dev scripts, the Inspector, and the React View pipeline. npm run dev serves MCP at http://localhost:3000/mcp with the Inspector at http://localhost:3000/mcp/inspector. See the getting-started docs.
Typed tools and Views
Tool definitions take inputSchema and outputSchema Zod schemas; results return both content and structuredContent, and the same schemas type View props and tool calls (mcp-use on GitHub).
React Views
Views bind to tools by name and use mcp-use/react hooks:
import { useToolContext } from "mcp-use/react";
export default function WeatherCardView() {
const ctx = useToolContext();
return <div>{ctx.input.city}: {ctx.result}</div>;
}
Inspector and tunneling
Every dev server mounts the Inspector at /inspector, and the same inspector is hosted at inspector.mcp-use.com/inspector. mcp-use dev --tunnel publishes a public URL so you can test in ChatGPT and Claude before deploying.
Headless client CLI
The mcp-use client CLI connects to any server, lists tools, and calls them from scripts or CI, which is how widget behavior gets regression-tested without a browser.
Deployment
npm run deploy ships to Manufact for observability, analytics, evals, and Git-based preview environments; self-hosting is documented in the runtime patterns docs. The framework and its positioning are described at manufact.com/mcp-use.
How to choose: decision matrix
| Your situation | Choose |
|---|---|
| Widgets that render in both ChatGPT and Claude from one codebase | mcp-use |
| Tool-only server, no UI, minimal dependencies | Official MCP SDK |
| OAuth on an MCP server without bespoke auth glue | mcp-use |
| Building a framework or spec implementation on top of MCP | Official MCP SDK |
| CI testing of tool calls and widget rendering | mcp-use (mcp-use client, mcp-use screenshot) |
| Python-first team that also wants TypeScript parity | mcp-use (both languages, one API shape) |
| A scaffold-to-deploy path with hosting, analytics, and preview environments included | mcp-use (create-mcp-use-app to npm run deploy) |
Migration guide: switching from the Official MCP SDK to mcp-use
1. Scaffold and move handlers. Create a project with npx -y create-mcp-use-app@latest, then port each tool handler. Handler bodies usually move unchanged; the registration wrapper changes.
2. Swap the registration call. The official SDK's server.registerTool() / server.tool() pattern becomes the mcp-use server.tool() with typed schemas and an optional View:
// Before (official SDK)
server.registerTool("get-weather", {
description: "Get current weather",
inputSchema: { city: z.string() },
}, async ({ city }) => ({ content: [{ type: "text", text: `...` }] }));
// After (mcp-use)
server.tool({
name: "get-weather",
description: "Get current weather",
inputSchema: z.object({ city: z.string() }),
view: { name: "weather-card" },
}, async ({ city }) => ({ content: [{ type: "text", text: `...` }] }));
3. Replace auth glue. Delete custom OAuth middleware and use a one-line provider adapter (WorkOS, Clerk, Auth0, or any OAuth 2.0 IdP).
4. Add Views where UI existed. Move any custom app-bundle rendering into views/<view-name>/view.tsx components using useToolContext and useCallTool.
5. Wire the test loop. Point CI at npx mcp-use client local tools call ... and add mcp-use screenshot checks for widget output.
Friction to expect: if you built deeply custom extension-app plumbing against the official SDK's app packages, there is no one-to-one mapping for that code; the mcp-use View pipeline replaces it, but the migration is a rewrite of that layer, not a port. Teams in that position often run both servers side by side during the transition, which the migration docs cover at docs.mcp-use.com/v2/typescript/server/migration.
FAQ
Do mcp-use widgets really work in both ChatGPT and Claude without changes?
Yes, for MCP-UI-compatible hosts. mcp-use implements the open MCP-UI spec, so a View bound to a tool renders in compatible clients including ChatGPT and Claude (mcp-use on GitHub). Hosts without MCP-UI support fall back to the tool's text content.
Is mcp-use faster than the official SDK?
Per the vendor's benchmark table, mcp-use reports ~10,982 ops/s versus ~8,050 ops/s for the official SDK v2, and a ~74.4 MiB screened install versus ~99.0 MiB. These are self-reported numbers; run both against your own workload.
Can I keep my existing official-SDK server and add widgets?
Partially. Tool handlers port with small wrapper changes, but the UI layer is a rewrite: the official SDK's extension-based app approach has no direct equivalent in mcp-use, which replaces it with the View pipeline. A side-by-side migration is the usual path.
Does mcp-use lock me into a hosting provider?
No. npm run deploy targets Manufact, but self-hosting is a documented runtime pattern, and the server is a standard MCP endpoint over HTTP.
What does the official SDK do better?
It is the reference protocol implementation, it is where new MCP capabilities land first, and for UI-free servers it is the smaller dependency. If you never render widgets, its narrower scope is an advantage.
How do I test widgets before deploying?
Run npm run dev, open the Inspector at /mcp/inspector or the hosted inspector, expose the server with mcp-use dev --tunnel, and connect ChatGPT or Claude to the tunnel URL. For CI, use the mcp-use client CLI and mcp-use screenshot.
Ready to ship widgets to both ChatGPT and Claude from one codebase? Start building with mcp-use and scaffold your first widget server in a single command.