Skip to content

mcp-use: install, tools and limits

Better Design

Direct answer

mcp-use is a TypeScript framework for building, testing and shipping MCP servers, including MCP Apps with React views that render inside ChatGPT and Claude. It runs over HTTP, with the dev server's MCP endpoint at http://localhost:3000/mcp, needs no API key, and opens a browser inspector for your server at /mcp/inspector.

A hand-drawn terminal that connects a coding agent to mcp-use, with the server's name and tool count written beside it.

What mcp-use does

mcp-use is a TypeScript framework for building, testing and shipping MCP servers, including MCP Apps with React views that render inside ChatGPT and Claude. It also ships a client, an agent library, a browser inspector and a Python package for servers, clients and agents; it is a third-party framework that builds on the official TypeScript SDK v2.

The mcp-use team at Manufact maintains it. The latest release on npm is mcp-use 2.12.4, published November 11, 2026. It is licensed under MIT.

How a coding agent uses mcp-use

The agent asks, mcp-use acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to mcp-use and back: Build a weather tool with a card view, Scaffolds the server and binds a React view to the tool, A running server and a screenshot of the view.
  1. The agent asks: Build a weather tool with a card view
  2. mcp-use acts: Scaffolds the server and binds a React view to the tool
  3. The result comes back: A running server and a screenshot of the view

Install mcp-use in a new TypeScript project

a new TypeScript project
npx -y create-mcp-use-app@latest
# then, in the new project:
npm run dev
# inspector: http://localhost:3000/mcp/inspector

Install mcp-use in the Python package

the Python package
pip install mcp-use
# or:
uv add mcp-use
# or:
poetry add mcp-use

Install mcp-use in a minimal server with a view (shortened from the README quickstart)

a minimal server with a view (shortened from the README quickstart)
import { MCPServer } from "mcp-use";
import { z } from "zod";

const server = new MCPServer({
  name: "weather-app",
  title: "Weather App",
  version: "1.0.0",
});

export const getWeather = server.tool(
  {
    name: "get-weather",
    title: "Get weather",
    description: "Get the current weather for a city",
    inputSchema: z.object({ city: z.string().describe("City to look up") }),
    outputSchema: z.object({ city: z.string(), temperature: z.number(), conditions: z.string() }),
    view: { name: "weather-card" },
  },
  async ({ city }) => {
    const weather = { city, temperature: 22, conditions: "Sunny" };
    return {
      content: [{ type: "text", text: `Weather in ${city}: ${weather.conditions}, ${weather.temperature}°C` }],
      structuredContent: weather,
    };
  },
);

export default server;

What mcp-use covers

mcp-use's own documentation lists these, read on November 12, 2026.

  • MCPServer and server.tool() with Zod input/output schemas
  • Views: React components bound to a tool by view.name (views/<name>/view.tsx)
  • mcp-use/react hooks: useToolContext, useCallTool, useModelContext
  • Inspector at /mcp/inspector; headless CLI: mcp-use client, mcp-use screenshot
  • Tunnel: mcp-use dev --tunnel
  • Python: MCPAgent, MCPClient, MCPServer

Settings worth knowing in mcp-use

mcp-use dev --tunnel
What it changes

Gives a local server a public URL to test it in ChatGPT and Claude.

Server

mcp-use

npx mcp-use screenshot --server --tool
What it changes

Captures a view as a PNG.

Server

mcp-use

npm run deploy
What it changes

Deploys the server to Manufact; a self-hosting guide is also available.

Server

mcp-use

useModelContext
What it changes

Supports ChatGPT Plugin Extensions.

Server

mcp-use

A tool-calling LLM provider (langchain-openai, langchain-anthropic and others)
What it changes

Needed for Python agents.

Server

mcp-use

Sign-in, limits and caveats for mcp-use

Sign-in: None to use the library. The README lists one-line OAuth adapters for the servers you build.

Limits and price: mcp-use is free and open source under MIT. The README says deploying to Manufact gives 'observability, analytics, evals, submission readiness, and Git-based preview environments for free'. The Python package needs Python 3.11 or newer.

  • Version 2 is a breaking change; the README points v1 users to a migration guide, and npm keeps a v1-legacy dist-tag (1.34.8).
  • The npm package (2.x, TypeScript) and the PyPI package (1.7.1, Python) share a name but have separate versions and docs.
  • A view lives in views/<name>/view.tsx and binds to a tool through view.name; it uses useToolContext and useCallTool from mcp-use/react.
  • It is not an MCP server you add to Claude Code or Cursor; it builds the servers you add.

Use mcp-use for interface work

Its React views and screenshot command target interactive UI inside ChatGPT and Claude, so an agent can build an MCP App interface and check it as an image.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "mcp-use: install, tools and limits" at https://better-design.com/blog/mcp-use and help me apply it to my project.

mcp-use is a TypeScript framework for building, testing and shipping MCP servers, including MCP Apps with React views that render inside ChatGPT and Claude. It runs over HTTP, with the dev server's MCP endpoint at http://localhost:3000/mcp, needs no API key, and opens a browser inspector for your server at /mcp/inspector.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does mcp-use do?

mcp-use is a TypeScript framework for building, testing and shipping MCP servers, including MCP Apps with React views that render inside ChatGPT and Claude. It also ships a client, an agent library, a browser inspector and a Python package for servers, clients and agents; it is a third-party framework that builds on the official TypeScript SDK v2.

Does mcp-use need an API key or sign-in?

None to use the library. The README lists one-line OAuth adapters for the servers you build.

Is mcp-use free?

mcp-use is free and open source under MIT. The README says deploying to Manufact gives 'observability, analytics, evals, submission readiness, and Git-based preview environments for free'. The Python package needs Python 3.11 or newer.

Where these mcp-use facts come from

Each fact on this page comes from mcp-use's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

mcp-use gives the agent its capabilities. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.