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)
Returning a React component from an MCP tool call in ChatGPT comes down to whether your framework has a native view layer. mcp-use ships one; the official TypeScript SDK treats UI as an extension you wire yourself.
Introduction and methodology note
Both mcp-use and the official @modelcontextprotocol/sdk let you build MCP servers that ChatGPT can call. Both speak the same protocol, both run in TypeScript, and both can expose tools that return structured data. Where they diverge is everything above the protocol: mcp-use adds a React view pipeline, typed tool contracts, OAuth adapters, an Inspector, tunneling, and a deploy command, while the official SDK stays deliberately low-level and leaves those layers to you.
This page compares the two for the specific job of rendering interactive React UI from tool calls inside ChatGPT. mcp-use figures come from its own published pages, linked inline below. Official SDK figures are stated as plain text from its published documentation and repository, with no links. Claims were last verified on 2026-11-16. Throughput and install-size numbers are self-reported by each vendor; test on your own workload before committing.
TL;DR
- mcp-use binds React views to tools natively: define a view, reference it in the tool definition, and it renders in ChatGPT and other MCP-UI-compatible clients without per-client wiring.
- The official SDK supports UI only through the separate
ext-appsextension, which means manual integration work for the same result. - mcp-use also reports higher throughput (~10,982 ops/s vs ~8,050) and a smaller install footprint (~74.4 MiB vs ~99.0 MiB) in its own published benchmark table.
Quick-comparison table
| Dimension | mcp-use | Official MCP TypeScript SDK |
|---|---|---|
| Native React views bound to tools | Yes, via view: { name } in the tool definition | Partial, extension-only via ext-apps |
| Typed tool contracts | Zod schemas flow to content, structuredContent, and view props | Zod supported for tool input; view prop typing not built in |
| OAuth | One-line provider adapters (WorkOS, Clerk, Auth0, any OAuth 2.0 IdP) | Auth primitives only; you assemble the flow |
| MCP 2026 protocol support | Yes | Not marked in mcp-use's published comparison |
| Built-in Inspector | Yes, at /mcp/inspector locally and hosted at inspector.mcp-use.com | Separate Inspector package you install and run |
| Tunneling for local testing | Built in (mcp-use dev --tunnel) | Not included |
| Screenshot verification CLI | Built in (mcp-use screenshot) | Not included |
| 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) |
| Languages | TypeScript and Python | TypeScript, plus official SDKs in other languages |
| Pricing | Open source, free; hosted deployment via Manufact | Open source, free |
Granular differentiator table
The official SDK's differentiator is that it is the reference implementation: closest to the protocol, no framework opinions. mcp-use's differentiator is the view pipeline. Here is that layer in detail.
| Capability | mcp-use | Official MCP TypeScript SDK |
|---|---|---|
| Define a React view for a tool | views/<view-name>/view.tsx, matched to the tool by view.name | No first-class view file convention |
| Pass typed props from tool output to the view | Zod outputSchema flows into view props | Not built in; manual serialization |
| Hooks for client-side interaction | useToolContext, useCallTool from mcp-use/react | Not provided |
| Render in ChatGPT | Yes, via the open MCP-UI spec | Via ext-apps extension wiring |
| Render in Claude and other MCP-UI hosts | Same view, no per-client rewrite | Extension targets OpenAI hosts; other hosts need separate work |
| Auto-discovery of view files | Yes, scaffolded by create-mcp-use-app | No |
On raw protocol throughput the official SDK is competitive; the ~2,900 ops/s gap in mcp-use's benchmark is real but modest, and neither number will be your bottleneck for a ChatGPT app. The view layer is where the work difference lives: in the official SDK you build the UI plumbing yourself, in mcp-use it is scaffolded.
Why teams choose mcp-use over the Official MCP SDK
The view pipeline already exists
In mcp-use, a tool declares view: { name: "weather-card" } and the React component in views/weather-card/view.tsx renders wherever the tool result lands, including ChatGPT. The official SDK's path runs through @modelcontextprotocol/ext-apps, which the mcp-use comparison table marks as partial, extension-only support. You can reach a working UI either way; mcp-use removes the wiring step and keeps it removed as the protocol evolves.
Typed end to end
mcp-use flows Zod schemas from the tool's inputSchema and outputSchema into structuredContent and view props, so a change to the tool's output shape surfaces as a TypeScript error in the component. With the official SDK, output typing stops at the tool boundary; the component consumes whatever you serialize. On a team where tools and UI are edited by different people, that type bridge is the difference between a caught bug and a blank widget in production.
One SDK instead of five
A production ChatGPT app built directly on the official SDK typically assembles the SDK itself, an OAuth stack, a UI extension, an inspector, and deployment scripts. mcp-use covers server, views, agent, and client layers in one package, with OAuth adapters for WorkOS, Clerk, Auth0, or any OAuth 2.0 provider, and reports the smallest screened install size in its benchmark table (~74.4 MiB across 51 packages, versus ~99.0 MiB across 119 for the official stack). If you want to see the scaffolded result before committing, start a free project with mcp-use and run the Inspector against it in under a minute.
Best use cases for mcp-use
ChatGPT Apps with interactive tool UI
This is the core case. A tool returns data, a .tsx view renders it as a card, chart, or map, and useCallTool lets the widget call back into the server. Because mcp-use targets the open MCP-UI spec, the same view renders in ChatGPT and other compatible hosts without rewrites.
How the Official MCP SDK compares: capable via ext-apps, but you own the extension wiring, prop typing, and per-host testing.
Production servers that need auth on day one
Starter templates ship with pre-wired OAuth flows, and adapters exist for the major identity providers. For a server going into a ChatGPT app directory review, that removes the most common source of delay.
How the Official MCP SDK compares: it provides auth primitives only, so the flow assembly is your code and your maintenance burden.
Teams shipping in both TypeScript and Python
mcp-use maintains parity across both languages, so a Python backend team and a TypeScript frontend team can share one framework mental model.
How the Official MCP SDK compares: the official project publishes SDKs in more languages, which matters if you need Go, Java, or Kotlin on the server side.
Agent-driven development workflows
The mcp-use client CLI (npx mcp-use client connect, tools list, tools call) and the mcp-use screenshot command let coding agents build and verify servers headlessly, which shortens the loop when an agent is scaffolding views for you.
How the Official MCP SDK compares: no equivalent bundled CLI; you script against the SDK directly.
Best use cases for the Official MCP SDK
Protocol-level work and contributions
If you are implementing a new MCP capability, testing protocol behavior, or contributing to the spec's reference implementation, the official SDK is the right tool. It tracks the protocol directly and carries no framework abstractions between you and the wire format.
Non-TypeScript server stacks
The official project maintains SDKs beyond TypeScript, including Python, Go, Java, and Kotlin. If your server must live in one of those languages and you do not need the React view layer, the official SDK in that language is the straightforward choice. mcp-use covers TypeScript and Python only.
Platform overview of mcp-use
Scaffolding
npx -y create-mcp-use-app@latest generates a TypeScript server with dev scripts, the Inspector, and the React view pipeline preconfigured. See the getting started guide.
Defining a tool with a view
Tools are declared on an MCPServer instance with typed schemas and a view reference.
import { MCPServer } from "mcp-use";
const server = new MCPServer();
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: 21 }));
The component lives at views/weather-card/view.tsx and receives tempC as a typed prop.
React hooks inside views
useToolContext exposes the surrounding tool context to the component, and useCallTool calls back into the server, so a widget can refresh its own data without leaving the ChatGPT surface.
Inspector and screenshot verification
Every dev server auto-mounts the Inspector at /mcp/inspector, and the hosted version lives at inspector.mcp-use.com. mcp-use screenshot --server local --tool get-weather city=Tokyo --output weather-card.png captures the rendered view for regression checks.
Local testing against ChatGPT
mcp-use dev --tunnel publishes your localhost server at a public URL, so you can connect ChatGPT to a not-yet-deployed server and watch real tool calls render your view.
Deployment
npm run deploy ships the server to Manufact with observability, analytics, and Git-based preview environments; self-hosting is documented as well. The mcp-use product page covers the deployment path.
How to choose decision matrix
| Your situation | Choose |
|---|---|
| You need React UI from tool calls in ChatGPT, without building the plumbing | mcp-use |
| You are contributing to or testing the MCP protocol itself | Official SDK |
| Your server must be in Go, Java, or Kotlin | Official SDK in that language |
| You need OAuth wired to WorkOS, Clerk, or Auth0 quickly | mcp-use |
| You want one dependency covering server, views, agent, and client | mcp-use |
| You need a language beyond TypeScript or Python for the server | Official SDK |
| You want built-in Inspector, tunneling, and screenshot verification | mcp-use |
Migration guide
Switching from the Official MCP SDK to mcp-use
Step 1: Scaffold and move handlers. Create a parallel project with npx -y create-mcp-use-app@latest, then port each server.tool(...) registration. The handler signature is similar; the declaration gains outputSchema and view.
Before, with the official SDK:
server.registerTool("get-weather", {
inputSchema: { city: z.string() },
}, async ({ city }) => ({
content: [{ type: "text", text: `21C in ${city}` }],
}));
After, with mcp-use:
server.tool({
name: "get-weather",
inputSchema: z.object({ city: z.string() }),
outputSchema: z.object({ tempC: z.number() }),
view: { name: "weather-card" },
}, async ({ city }) => ({ tempC: 21 }));
Step 2: Replace UI extension code with views. Delete your ext-apps integration and hand-rolled prop serialization. Write one .tsx file per view under views/<name>/view.tsx and reference it with view: { name }. The v1 to v2 migration guide covers convention changes if you are also crossing major versions.
Step 3: Swap custom OAuth for adapters. Replace bespoke token handling with the built-in adapter for your identity provider. This is usually the largest deletion in the migration.
Step 4: Verify before deploying. Run npm run dev, exercise tools in the Inspector, then mcp-use dev --tunnel to test the real ChatGPT rendering path. Use mcp-use screenshot to snapshot views before and after changes.
What has no equivalent: if you depend on official SDKs for Go, Java, or Kotlin, those servers stay on the official SDK; a common end state is mcp-use for the TypeScript ChatGPT-facing server and the official SDK elsewhere. Protocol-level contributors should keep the official SDK for reference work.
FAQ
Can an MCP tool call actually return a React component to ChatGPT?
Yes, through the MCP-UI pattern: the tool returns structured data plus a view reference, and the client renders the registered React component with that data as props. mcp-use makes this a one-line declaration (view: { name }) on the tool; the official SDK reaches the same place through its ext-apps extension.
Does the same view work in Claude as well as ChatGPT?
mcp-use targets the open MCP-UI spec, so a view built once renders in compatible hosts without per-client rewrites. Hosts that do not implement the spec fall back to the tool's text content.
Is mcp-use faster than the official SDK?
In mcp-use's published benchmark table, mcp-use reports ~10,982 ops/s versus ~8,050 for the official SDK v2, and a screened install size of ~74.4 MiB versus ~99.0 MiB. These are vendor-run numbers; neither figure is likely to be your production bottleneck, so benchmark your own workload if throughput matters to you.
Do I have to give up control compared with the official SDK?
No. mcp-use builds on the official TypeScript SDK v2, and you can drop to lower-level primitives when needed. What you give up is the requirement to assemble views, auth, and tooling yourself.
What does it cost?
Both are open source and free. mcp-use's optional hosted deployment runs on Manufact; pricing for that hosting is not published on the pages reviewed.
How long does a migration take?
For a server with a handful of tools, the mechanical work (handler port, view files, OAuth adapter) is typically a day. The open question is usually your custom OAuth code, which the adapters replace wholesale.
If you are building a ChatGPT app and want the React view working this week rather than next sprint, get started with mcp-use and scaffold your first tool with a view in one command.