modelcontextprotocol/use-mcp
A React hook library for connecting to Model Context Protocol servers from browser-based AI applications.

Velocity · 7d
+2.8
★ / day
Trend
→steady
star history
Provides a lightweight React hook that abstracts MCP server connections for AI applications. It handles authentication flows (including OAuth), automatic reconnection with retries, and simplifies tool calling, resource access, and prompt operations. Includes demo applications like a chat interface and an MCP inspector for debugging.