docs: add group part (#18)

This commit is contained in:
samanhappy
2025-04-18 17:25:02 +08:00
committed by GitHub
parent b59243e410
commit 964ab4a5d7
8 changed files with 32 additions and 0 deletions

View File

@@ -95,6 +95,20 @@ Connect AI clients (e.g., Claude Desktop, Cursor, Cherry Studio) via:
http://localhost:3000/sse http://localhost:3000/sse
``` ```
**Group-Specific Endpoints (Recommended)**:
![Group Management](assets/group.png)
For targeted access to specific server groups, use the group-based SSE endpoint:
```
http://localhost:3000/sse/{groupId}
```
Where `{groupId}` is the ID of the group you created in the dashboard. This allows you to:
- Connect to a specific subset of MCP servers organized by use case
- Isolate different AI tools to access only relevant servers
- Implement more granular access control for different environments or teams
## 🧑‍💻 Local Development ## 🧑‍💻 Local Development
```bash ```bash

View File

@@ -95,6 +95,20 @@ docker run -p 3000:3000 samanhappy/mcphub
http://localhost:3000/sse http://localhost:3000/sse
``` ```
**基于分组的 SSE 端点(推荐)**
![分组](assets/group.zh.png)
要针对特定服务器分组进行访问,请使用基于分组的 SSE 端点:
```
http://localhost:3000/sse/{groupId}
```
其中 `{groupId}` 是您在控制面板中创建的分组 ID。这样做可以
- 连接到按用例组织的特定 MCP 服务器子集
- 隔离不同的 AI 工具,使其只能访问相关服务器
- 为不同环境或团队实现更精细的访问控制
## 🧑‍💻 本地开发 ## 🧑‍💻 本地开发
```bash ```bash
@@ -122,6 +136,10 @@ pnpm dev
- Bug 报告与修复 - Bug 报告与修复
- 翻译与建议 - 翻译与建议
欢迎加入企微交流共建群
<img src="assets/wegroup.png" width="500">
## 📄 许可证 ## 📄 许可证
本项目采用 [Apache 2.0 许可证](LICENSE)。 本项目采用 [Apache 2.0 许可证](LICENSE)。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

BIN
assets/group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/group.zh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

BIN
assets/wegroup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB