Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mcp-use

> AI 编程
Open source

The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.

10.4K stars0 likes3 views
WebsiteGitHub

About

The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.

Fully Typed, native Views and MCP Apps support, built-in Inspector and first class Agent experience.

Documentation · Inspector · Examples · Deploy

</a>
<a href="https://www.npmjs.com/package/mcp-use">
  
</a>
<a href="https://manufact.com">
  
</a>
<a href="https://github.com/mcp-use/mcp-use/blob/main/LICENSE">
  
</a>
<a href="https://discord.gg/XkNkSkMz3V">
  
</a>



[!NOTE] Migrating from v1? Give it to your agent:

Migrate this mcp-use project to v2 following
https://docs.mcp-use.com/v2/typescript/server/migration

Read the migration guide →

Get started

Start with your agent

Build an MCP server: https://mcp-use.com/prompt.md

Read the prompt →

Start with code

bash
npx -y create-mcp-use-app@latest

Run npm run dev in the generated project · open http://localhost:3000/mcp/inspector

TS Docs

Everything you need to ship MCP

Fully typed

Zod schemas flow from tools to structured results, View props, and tool calls.

Native Views

Bind React Views directly to tools and ship interactive apps without custom extension wiring.

Agent-first and headless

Scaffold, invoke, inspect, screenshot, and deploy through your agent.

Built-in debugging tools

Inspect tools and Views in the browser or headlessly through the CLI.

Quickstart

The scaffold gives you the server, TypeScript configuration, development scripts, Inspector, and a React view pipeline. Start it once and the MCP endpoint also serves a client-ready landing page with its connection URL and setup instructions.

Replace its index.ts with a view-bound tool like this:

index.ts — Server entry file for tool definition and metadata
…

Explore MCP server tools →

Add Views to your tools

Create views/weather-card/view.tsx. The directory name matches view.name on the tool:

view.tsx — Return a view from your tools: React weather card
…


Build interactive UI experiences within ChatGPT with mcp-use.

Build your first MCP App →

Build

Create the production build:

bash
npm run build

Inspect

Start development mode to serve the MCP endpoint at http://localhost:3000/mcp. The Inspector is automatically available at http://localhost:3000/mcp/inspector:

bash
npm run dev


Invoke tools, validate inputs, and inspect interactive Views in the same development loop.

Start a tunnel from the Inspector UI or run mcp-use dev --tunnel to get a public URL for your local MCP server and test it with ChatGPT and Claude before deployment. Learn more about tunneling →

Inspect the same server headlessly from the terminal, invoke representative tools, and capture a View screenshot:

bash
npm install --save-dev @mcp-use/client
npx mcp-use client connect local http://localhost:3000/mcp
npx mcp-use client local tools list
npx mcp-use client local tools call get-weather city=Tokyo
npx mcp-use screenshot \
  --server local \
  --tool get-weather \
  city=Tokyo \
  --output weather-card.png

Deploy

Ship to Manufact and get observability, analytics, evals, submission readiness, and Git-based preview environments for free.

bash
npm run deploy

Prefer to run it yourself? Follow the self-hosting guide →.

How mcp-use compares

mcp-use builds on the official TypeScript SDK v2 and adds first-class Views, typed tool-to-UI contracts, an optimized stateless runtime, the Inspector, screenshot verification, agent-first CLI workflows, and deployment.

…

* Includes @modelcontextprotocol/ext-apps, Vite, and zod for an MCP Apps-capable stack.

Install rows compare custom React MCP App development stacks. FastMCP therefore includes the Apps extension, React, Vite React plugin, Vite, TypeScript, and zod rather than only its narrower server-side component workflow. Size is actual node_modules disk usage after a normal npm install, including required peer dependencies.

Read the detailed benchmark report →

Examples

Remix a complete MCP App, inspect the source, or deploy it as a starting point:

Preview App What it demonstrates
Chart Builder Structured data rendered as interactive charts · Open demo
Diagram Builder Create and edit diagrams through MCP tools · Open demo
Maps Explorer Search, detail tools, and an interactive map view · Open demo

Browse all TypeScript examples →

Ecosystem

Package Use it for
mcp-use TypeScript v2 server framework, React views, and CLI
@mcp-use/client Connect to MCP servers from Node.js, browsers, React, and sandboxes
@mcp-use/agent Build model-powered agents on top of MCP clients
@mcp-use/inspector Inspect and debug MCP servers and apps
@mcp-use/tunnel Expose local HTTP, WebSocket, and MCP servers through the managed relay
create-mcp-use-app Scaffold servers and interactive apps
mcp-use for Python Build Python MCP servers, clients, and agents
  • TypeScript documentation
  • Python documentation
  • Inspector documentation
  • Agent documentation
  • Client documentation

Protocol conformance

Security and community

  • Security policy
  • Contribution guide
  • GitHub issues
  • Discord community
  • Manufact
  • MIT license

Contributors

Built by Pietro, Luigi, Enrico, and the mcp-use community.

Issues· 68 open

View all issuesOpen on GitHub
  • #2695

    create-mcp-use-app: installing dependencies fails on Windows with "spawn npm ENOENT"

    bugTypeScriptserverclientdependenciesUpdated Sep 29, 2026
  • #2680

    Document how tools/list serializes a tool (schema dialect, type:object, pass-through fields)

    documentationUpdated Sep 29, 2026
  • #2692

    Anthropic provider sends empty string tool_result content crashing with 400 Bad Request

    bugTypeScriptagentUpdated Sep 29, 2026
  • #2626

    Cloud hosting: supported HTTP-only companion-service deployment

    Updated Sep 28, 2026
  • #2689

    cli: mcp-use servers env --help displays root servers help instead of env command help

    TypeScriptserverUpdated Sep 28, 2026
  • #2684

    agent: tool images are dropped when replaying externalHistory

    bugTypeScriptenhancementagentUpdated Sep 28, 2026
  • #2462

    agent: RunOptions.messages is silently dropped by the LangChain agent

    bugagentUpdated Sep 28, 2026
  • #2682

    Add a supported auth hook instead of wrapping fetch and listen

    serverUpdated Sep 28, 2026
  • #2681

    Keep author-provided _meta.ui on tools without a view, or document the rewrite

    clientUpdated Sep 28, 2026
  • #2679

    Expose the served tools/list items in-process

    serverclientUpdated Sep 28, 2026

> Tags

TypeScriptagentic-frameworkaiapps-sdkchatgpt

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.