Favicon of mcp-use

mcp-use

An open-source MCP framework builds self-hosted servers and interactive apps for ChatGPT and Claude, with React views and built-in debugging tools.

mcp-use is a TypeScript framework for developers building MCP servers and apps for ChatGPT, Claude, and AI agents. It brings tool definitions, interactive interfaces, and testing into one development framework.

  • Interactive apps: Attach React views to tools so users can work with charts, maps, and other interfaces inside ChatGPT.
  • Typed tools and results: Use shared Zod schemas for tool inputs, structured outputs, and view data to keep the server and interface consistent.
  • Inspection and testing: Call tools, check inputs, inspect views, and capture screenshots through the browser Inspector or command-line tools.
  • Clients and agents: Connect to MCP servers from Node.js, browsers, or React, and build model-powered agents with the companion client and agent packages.
  • Local testing with AI services: A managed tunnel exposes a local server through a public URL for testing with ChatGPT and Claude before deployment.

The framework is open source under the MIT license. Servers can run locally or on your own infrastructure. Manufact provides a separate hosted deployment option with observability, analytics, evaluations, and Git-based preview environments. The managed tunnel uses an external relay, and testing through ChatGPT or Claude involves those services. Python packages also support building MCP servers, clients, and agents.

Similar to mcp-use