MU

mcp-use/mcp-use

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1.1万 stars 1532 forks 质量 74 趋势 55MIT

全栈MCP框架,用于开发ChatGPT/Claude的MCP应用以及为AI代理开发MCP服务器。

概览

mcp-use 是用于构建 ChatGPT / Claude 和 AI 代理 MCP 服务器的全栈 MCP 框架。 - 使用 mcp-use SDK(ts | py):MCP 服务器和 MCP 应用 - 在 mcp-use MCP Inspector(在线 | OSS):测试和调试你的 MCP 服务器和应用 - 在 Manufact MCP Cloud 上:连接你的 GitHub 仓库,让你的 MCP 服务器和应用在生产环境中运行,支持可观察性、指标、日志、分支部署等功能 访问我们的文档或跳转到快速入门(TypeScript |Python) MCP 应用允许你构建交互式小部件,这些小部件能在 Claude、ChatGPT 及其他 MCP 客户端上运行——写一次,运行于各处。 :定义一个工具并将其指向一个小部件: : 在resources/weather-display/widget.tsx中创建一个React组件: 资源中的小工具/是——无需手动注册。 你可以一键部署或自定义的现成MCP应用。

概述(AI 翻译)

MCP 的 TypeScript 框架 构建、测试并发布MCP服务器、ChatGPT插件、Claude连接器

全类型、原生视图和MCP应用支持,内置Inspector和一流的代理体验。

文献资料 ·督察 ·示例 ·部署

[!注] 从 v1 迁移?把它交给你的代理:

阅读迁移指南→

开始吧

从你的经纪人开始

请阅读提示→

从代码开始

在生成的项目中运行 npm run dev ·打开 http://localhost:3000/mcp/inspector

TS文档

发布MCP所需的一切

全程打字 Zod 模式从工具流向结构化结果、视图道具和工具调用。

原住民观点 将 React 视图直接绑定到工具上,发布交互式应用,无需自定义扩展布线。

代理优先且无头 通过你的代理搭建支架、调用、检查、截图并部署。

内置调试工具 在浏览器中检查工具和视图,或通过CLI无头检查。

快速开始

支架提供服务器、TypeScript配置、开发脚本、Inspector和React视图流水线。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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

Documentation
· Inspector
· Examples
· Deploy

[!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

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.
在 GitHub 查看完整 README

安装

npx -y create-mcp-use-app@latest
新手?先看 mcpskill.org 教程 →