
用 OAuth 支持连接 MCP 服务器的网络客户端
概览
示范背景协议(MCP)的网络客户端. 连接多个MCP服务器,浏览工具/资源/快取,并通过聊天进行交互. https://github.com/user-attachments/assets/29057bb1-d856-4a7c-bfe3-97020da21782 - 同步连接多个 MCP 服务器 - - - 使用 PKCE 支持的安全认证 - - - 服务器和证书保存到 localStorage - - - 服务器 - Sent Events for live更新 - - 完整的 MCP 能力支持 1. 在边栏2中单击。 输入服务器 URL (例如, https://mcp.example.com/sse)] 3. 选择认证方法: - - 公共服务器 - 使用已存在的访问符 - - 通过OAuth流 4认证. 点击 -下.js 15 + React 19 - TypeScript - Tailwind CSS - MCP 协议 2024-11-05
概述(AI 翻译)
示范背景协议(MCP)的网络客户端. 连接多个MCP服务器,浏览工具/资源/快取,并通过聊天进行交互.
□ 特性
- ** 多服务器支持** - 同步连接多个MCP服务器
- ** OAuth 2.0 & Bearer Token Auth** - 在PKCE支持下的安全认证
- ** 持续会话** - 服务器和证书保存到本地Storage
- ** Real-time SSE** - 用于实时更新的服务器-恒定事件
- ** 工具、资源和提示** - 完全的MCP能力支持
□ 快开始
打开 [[T0]
□ 添加服务器
- 在侧边栏上单击QQ
- 输入服务器 URL(例如
https://mcp.example.com/sse) - 选择认证方法:
- ** 无 Auth** - 公共服务器
- Bearer Token - 使用现有访问符
- ** OAuth 2.0** - 通过OAuth流量认证
- 点击Add 服务器
□ 技术堆栈
- 下一个.js 15 + 反应 19
- 类型脚本
- 有尾风CSS
- 2024-11-05年《多边协议》议定书
□ 许可证
麻省理工学院
本页由 AI 翻译,技术细节请以原文为准。
README
MCP Web Client
A web-based client for the Model Context Protocol (MCP). Connect to multiple MCP servers, browse tools/resources/prompts, and interact via chat.
Features
- Multi-Server Support - Connect to multiple MCP servers simultaneously
- OAuth 2.0 & Bearer Token Auth - Secure authentication with PKCE support
- Persistent Sessions - Servers and credentials saved to localStorage
- Real-time SSE - Server-Sent Events for live updates
- Tools, Resources & Prompts - Full MCP capability support
Quick Start
npm install
npm run dev
Adding a Server
- Click + in the sidebar
- Enter the server URL (e.g.,
https://mcp.example.com/sse) - Choose authentication method:
- No Auth - Public servers
- Bearer Token - Use existing access token
- OAuth 2.0 - Authenticate via OAuth flow
- Click Add Server
Tech Stack
- Next.js 15 + React 19
- TypeScript
- Tailwind CSS
- MCP Protocol 2024-11-05
License
MIT
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →