Build MCP servers, clients, and agents in TypeScript
One SDK for everything MCP. Build AI agents, connect to MCP servers, or create your own. Deploy to mcp-use Cloud with one command.
Three tools for MCP development
Build AI agents that use tools, connect to any MCP server, or create your own server with UI widgets.
MCP Agent
Build AI agents that interact with external tools and services. The MCPAgent combines LLM integration, tool orchestration, and memory management.
- •LLM support: OpenAI, Anthropic, Google, Groq
- •Auto tool calling: Agents select and execute tools automatically
- •Multi-server: Connect to multiple MCP servers at once
- •Streaming: Real-time response streaming
- •Memory: Built-in conversation history
MCP Client
Connect to MCP servers programmatically. Supports all primitives: tools, resources, prompts, sampling, elicitation, and notifications.
- •Multi-server: Connect to multiple servers at once
- •Transports: STDIO, HTTP, WebSocket, SSE
- •Type-safe: Full TypeScript support with inference
- •Middleware: Add logging, metrics, and custom handlers
- •Sandbox: Secure execution for untrusted code
MCP Server
Build MCP servers so agents can connect to your service. 100% compatible with MCP specs. Works with Claude, ChatGPT, Cursor, and any MCP client.
- •One command: npx create-mcp-use-app to scaffold
- •Apps SDK: UI widgets for ChatGPT and MCP-UI
- •Inspector: Built-in debugger at /inspector
- •Edge runtime: Deploy to Cloudflare, Vercel, etc.
- •100/100: MCP conformance score
UI widgets for ChatGPT
Drop React components in your resources/ folder. They become MCP tools that render directly in ChatGPT and other chat clients.
Built for developers
Simple API, great defaults, and tools that help you ship faster.
Built-in Inspector
Every server launches with a visual inspector at /inspector. Test tools, view resources, debug JSON-RPC messages.
Type Safety
Full TypeScript support with automatic type inference. Zod schemas for runtime validation.
Zero Config
npx create-mcp-use-app sets up everything. TypeScript, build tools, dev server, inspector, all ready.
Hot Reload
Changes reflect instantly during development. No restart needed for tools, resources, or widgets.
useMcp Hook
React hook for MCP connections. Manage state, call tools, and build chat UIs with minimal code.
Hono + Express
Add custom HTTP routes alongside MCP endpoints. Full Express/Hono API available on the server instance.
Trusted by developers worldwide
mcp-use powers MCP applications for thousands of developers
MCP requests processed
Companies building with mcp-use
GitHub stars
Join MCP community
Get help, share your projects, and get inspired.
The community for developers building with MCP and mcp-use.