Back to Apps

use-mcp-react
Supports UIby webmcp-org
React hooks for seamlessly connecting browser applications to remote MCP servers with built-in OAuth support.
0 stars
Works in:claude
Exposes:ToolsResources
What it does
use-mcp-react provides a robust state machine and set of React hooks to manage the lifecycle of MCP server connections in the browser. It handles complex authentication flows including MCP OAuth, PKCE, Dynamic Client Registration, and bearer tokens, allowing developers to build MCP-powered UIs without managing the underlying transport and auth logic.
Key features
- Unified Auth State: Automatically classifies auth requirements (OAuth, Bearer, or None).
- OAuth Lifecycle: Integrated support for PKCE and Dynamic Client Registration.
- Transport Proxying: Built-in patterns for bypassing CORS via transport proxies.
- MCP App Hosting: Specialized helpers for rendering
ui://resources in sandboxed iframes.
Installation
Install via npm:
npm install use-mcp-react react
Supported hosts
- Claude.ai web
- Browser-based MCP clients
Quick install
npm install use-mcp-react reactInformation
- Pricing
- free
- Published
- 6/11/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
claude-ai
Connect via an MCP server URL in Claude.ai Settings → Integrations





