# mcp-use — Fullstack MCP Framework for AI Agents & Apps > Build MCP servers and apps for ChatGPT, Claude, and any LLM with TypeScript or Python SDK. Includes inspector, cloud deploy, and interactive widgets. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use TypeScript (create a new MCP app): ```bash npx create-mcp-use-app@latest ``` Python (install the SDK): ```bash pip install mcp-use ``` --- ## Intro mcp-use is a fullstack MCP framework for building MCP servers and apps with 9,700+ GitHub stars. It supports both TypeScript and Python, works with ChatGPT, Claude, and any MCP client, and includes an inspector for previewing, cloud deployment with observability, and interactive widgets that work across platforms. Used by engineering teams at NASA, NVIDIA, and SAP. Best for: developers building custom MCP servers or MCP-powered applications. Works with: Claude Code, ChatGPT, Cursor, any MCP client. Setup time: under 2 minutes. --- ## mcp-use — Build MCP Apps & Servers ### Quick Start (TypeScript) ```typescript import { MCPServer, text } from 'mcp-use'; import { z } from 'zod'; const server = new MCPServer({ name: "my-server", version: "1.0.0" }); server.tool({ name: "get_weather", schema: z.object({ city: z.string() }) }, async ({ city }) => text(`Temperature: 72°F, City: ${city}`)); await server.listen(3000); ``` ### Quick Start (Python) ```python from mcp_use import MCPServer, text server = MCPServer(name="my-server", version="1.0.0") @server.tool() async def get_weather(city: str) -> str: return text(f"Temperature: 72°F, City: {city}") server.run(port=3000) ``` ### Key Features | Feature | Description | |---------|-------------| | **Dual SDK** | TypeScript and Python support | | **Inspector** | Preview and test MCP tools visually | | **Cloud Deploy** | Deploy to Manufact MCP Cloud with metrics and logs | | **Interactive Widgets** | Write once, run across all MCP clients | | **Auto-Discovery** | Widgets auto-discovered from resource directories | ### Deployment ```bash # Preview locally npx mcp-use inspect # Deploy to cloud npx mcp-use deploy ``` ### FAQ **Q: What is mcp-use?** A: mcp-use is a fullstack framework for building MCP servers and apps in TypeScript or Python, with built-in inspector, cloud deployment, and cross-platform widget support. **Q: Is mcp-use free?** A: Yes, the SDK is open source under the MIT license. Cloud deployment has free and paid tiers. **Q: How do I create my first MCP server?** A: Run `npx create-mcp-use-app@latest` for TypeScript or `pip install mcp-use` for Python, then define tools with the simple decorator/builder API. --- ## Source & Thanks > Created by [mcp-use](https://github.com/mcp-use). Licensed under MIT. > > [mcp-use](https://github.com/mcp-use/mcp-use) — ⭐ 9,700+ Thank you for making MCP server development accessible to every developer. --- ## 快速使用 TypeScript: ```bash npx create-mcp-use-app@latest ``` Python: ```bash pip install mcp-use ``` --- ## 简介 mcp-use 是一个全栈 MCP 框架,用于构建 MCP 服务器和应用,拥有 9,700+ GitHub stars。支持 TypeScript 和 Python,兼容 ChatGPT、Claude 及任何 MCP 客户端,包含检查器、云部署和跨平台交互式组件。被 NASA、NVIDIA、SAP 的工程团队使用。 --- ## mcp-use — 构建 MCP 应用和服务器 ### TypeScript 快速开始 ```typescript const server = new MCPServer({ name: "my-server", version: "1.0.0" }); server.tool({ name: "get_weather", schema: z.object({ city: z.string() }) }, async ({ city }) => text(`Temperature: 72°F, City: ${city}`)); await server.listen(3000); ``` --- ## 来源与感谢 > Created by [mcp-use](https://github.com/mcp-use). Licensed under MIT. > > [mcp-use](https://github.com/mcp-use/mcp-use) — ⭐ 9,700+ --- Source: https://tokrepo.com/en/workflows/bb0eb5f4-1bd4-4887-ae1d-a4788b20075e Author: TokRepo精选