← all repositories

modelcontextprotocol/use-mcp

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

1k stars TypeScript Coding Assistants
use-mcp
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.