Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 218d640

Browse files
committed
Starting readme tweaks
1 parent d5c7bd3 commit 218d640

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# WORK IN PROGRESS
1+
<div class="oranda-hide">
22

3-
**Note:** this is currently powering https://playground.ai.cloudflare.com/ but hasn't yet been properly released as a standalone project. Technically you could use it now, but probably don't, yet.
3+
# 🦑 use-mcp 🦑
44

5-
---
6-
7-
# use-mcp
5+
</div>
86

97
A lightweight React hook for connecting to [Model Context Protocol (MCP)](https://github.com/modelcontextprotocol) servers. Simplifies authentication and tool calling for AI systems implementing the MCP standard.
108

@@ -29,7 +27,7 @@ yarn add use-mcp
2927

3028
## Quick Start
3129

32-
```tsx
30+
```ts
3331
import { useMcp } from 'use-mcp/react'
3432

3533
function MyAIComponent() {
@@ -90,7 +88,7 @@ function MyAIComponent() {
9088

9189
To handle the OAuth authentication flow, you need to set up a callback endpoint in your app:
9290

93-
```tsx
91+
```ts
9492
// pages/oauth/callback.tsx or equivalent
9593
import { useEffect } from 'react'
9694
import { onMcpAuthorization } from 'use-mcp'
@@ -113,7 +111,7 @@ export default function OAuthCallbackPage() {
113111

114112
### `useMcp` Hook
115113

116-
```tsx
114+
```ts
117115
function useMcp(options: UseMcpOptions): UseMcpResult
118116
```
119117

0 commit comments

Comments
 (0)