# 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. --- ## Quick Use TypeScript: ```bash npx create-mcp-use-app@latest ``` Python: ```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 TypeScript and Python and works with ChatGPT, Claude, and any MCP client — including an inspector, cloud deployment, and cross-platform interactive components. Used by engineering teams at NASA, NVIDIA, and SAP. --- ## mcp-use — Build MCP Apps and Servers ### TypeScript Quick Start ```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); ``` --- ## 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+ --- Source: https://tokrepo.com/en/workflows/mcp-use-fullstack-mcp-framework-ai-agents-apps-bb0eb5f4 Author: TokRepo精选