| Section | Description | |
|---|---|---|
| Agent | An AI Agent with tool calling capabilities through MCP connections | Examples |
| Client | A full featured MCP Client implementation for TypeScript with node, browser and react support | Examples |
| Server | The MCP Server framework implementation for TypeScript, with Apps SDK and MCP-UI support | Examples |
MCP Agent
mcp-use has a complete MCP Agent implementation for TypeScript. MCP Agents are AI-powered agents that can use tools from MCP servers to accomplish complex tasks. They reason across multiple steps, selecting and executing tools as needed. Building such agents is easy with mcp-use, all you need is an LLM and the MCP Client.TypeScript
Available MCP Servers
mcp-use supports any MCP server. Check out the Awesome MCP Servers list for available options. Or deploy your own following the instruction below.MCP Client
mcp-use has a complete MCP Client implementation for TypeScript. It improves the official Model Context Protocol Client SDK with browser and server environments support, react hooks and more. The mcp-use client has a conformance score of 100/100 based on the official MCP Conformance Tests.MCP Server
mcp-use has a complete MCP server framework implementation for TypeScript. It improves the official Model Context Protocol SDK with support for Edge Runtime, ChatGPT Apps SDK and MCP-UI. In addition, it supports all official MCP features and achieves a conformance score of 100/100 based on the official MCP Conformance Tests.- A complete TypeScript MCP server project structure.
- Example MCP Tools and Resources to get you started.
- Example UI Widgets React components in
resources/folder exposed as tools and resources in Apps SDK for ChatGPT and MCP-UI format. - Hot Module Reloading (HMR) - modify tools/prompts/resources without restarting or dropping connections.
- Automatically launches an MCP Inspector in your browser to test your server.
Project Structure
After creation, your project will have this structure:Running Your MCP Server
Commands:- MCP Endpoint:
http://localhost:3000/mcp- For MCP client connections - MCP Inspector:
http://localhost:3000/inspector
Deploy Your MCP Server
You can deploy your MCP server on any platform. Build your MCP server withnpm run build and start the production server with npm run start.
Or you can deploy it on mcp-use Cloud.
For detailed instructions, see the Deploy Your Server guide.
Next Steps
- Core features: Learn how to create MCP tools, prompts and resources.
- UI Widgets: Expose UI components to chat clients compatible with ChatGPT Apps SDK and MCP-UI.
- Configuration: Advanced configuration and deployment options.
- Deploy Your Server - Deploy to production with one command