feat: Add DBHub
This commit is contained in:
parent
6232042fad
commit
86003b41e9
|
|
@ -0,0 +1,124 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: SSE Port
|
||||
labelZh: SSE 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
label:
|
||||
en: SSE Port
|
||||
ja: SSE ポート
|
||||
ms: Port SSE
|
||||
pt-br: Porta SSE
|
||||
ru: Порт SSE
|
||||
ko: SSE 포트
|
||||
zh-Hant: SSE 埠
|
||||
zh: SSE 端口
|
||||
- default: "mysql"
|
||||
edit: true
|
||||
envKey: DBHUB_DB_TYPE
|
||||
labelEn: DataBase Type
|
||||
labelZh: 数据库类型
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: MySQL
|
||||
value: "mysql"
|
||||
- label: MariaDB
|
||||
value: "mariadb"
|
||||
- label: PostgreSQL
|
||||
value: "postgres"
|
||||
- label: SQL Server
|
||||
value: "sqlserver"
|
||||
label:
|
||||
en: DataBase Type
|
||||
ja: データベースの種類
|
||||
ms: Jenis Pangkalan Data
|
||||
pt-br: Tipo de banco de dados
|
||||
ru: Тип базы данных
|
||||
ko: 데이터베이스 유형
|
||||
zh-Hant: 資料庫類型
|
||||
zh: 数据库类型
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DBHUB_DB_NAME
|
||||
labelEn: Database Name
|
||||
labelZh: 数据库名称
|
||||
required: true
|
||||
type: text
|
||||
label:
|
||||
en: Database Name
|
||||
ja: データベース名
|
||||
ms: Nama Pangkalan Data
|
||||
pt-br: Nome do Banco de Dados
|
||||
ru: Имя базы данных
|
||||
ko: 데이터베이스 이름
|
||||
zh-hant: 資料庫名稱
|
||||
zh: 数据库名称
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DBHUB_DB_USER
|
||||
required: true
|
||||
type: text
|
||||
labelEn: Database User
|
||||
labelZh: 数据库用户
|
||||
label:
|
||||
en: Database User
|
||||
ja: データベースユーザー
|
||||
ms: Pengguna Pangkalan Data
|
||||
pt-br: Usuário do Banco de Dados
|
||||
ru: Пользователь базы данных
|
||||
ko: 데이터베이스 사용자
|
||||
zh-hant: 資料庫用戶
|
||||
zh: 数据库用户
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DBHUB_DB_USER_PASSWORD
|
||||
required: true
|
||||
type: password
|
||||
labelEn: Database Password
|
||||
labelZh: 数据库密码
|
||||
label:
|
||||
en: Database Password
|
||||
ja: データベースのパスワード
|
||||
ms: Kata Laluan Pangkalan Data
|
||||
pt-br: Senha do Banco de Dados
|
||||
ru: Пароль базы данных
|
||||
ko: 데이터베이스 비밀번호
|
||||
zh-hant: 資料庫密碼
|
||||
zh: 数据库密码
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DBHUB_DB_ADDRESS
|
||||
labelEn: Database Address
|
||||
labelZh: 数据库地址
|
||||
required: true
|
||||
type: text
|
||||
label:
|
||||
en: Database Address
|
||||
ja: データベースのアドレス
|
||||
ms: Alamat Pangkalan Data
|
||||
pt-br: Endereço do Banco de Dados
|
||||
ru: Адрес базы данных
|
||||
ko: 데이터베이스 주소
|
||||
zh-hant: 資料庫地址
|
||||
zh: 数据库地址
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DBHUB_DB_PORT
|
||||
labelEn: Database Port
|
||||
labelZh: 数据库端口
|
||||
required: true
|
||||
type: text
|
||||
label:
|
||||
en: Database Port
|
||||
ja: データベースのポート
|
||||
ms: Pangkalan Data Port
|
||||
pt-br: Porta do Banco de Dados
|
||||
ru: Порт базы данных
|
||||
ko: 데이터베이스 포트
|
||||
zh-hant: 資料庫端口
|
||||
zh: 数据库端口
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
services:
|
||||
dbhub:
|
||||
image: bytebase/dbhub:0.3.1
|
||||
container_name: ${CONTAINER_NAME}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
networks:
|
||||
- 1panel-network
|
||||
init: true
|
||||
command:
|
||||
- "--transport"
|
||||
- "sse"
|
||||
- "--port"
|
||||
- "8080"
|
||||
- "--dsn"
|
||||
- "${DBHUB_DB_TYPE}://${DBHUB_DB_USER}:${DBHUB_DB_USER_PASSWORD}@${DBHUB_DB_ADDRESS}:${DBHUB_DB_PORT}/${DBHUB_DB_NAME}"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# DBHub
|
||||
|
||||
**DBHub** 是一个通用数据库网关,实现了模型上下文协议 (MCP) 服务器接口。该网关允许兼容 MCP 的客户端连接并探索不同的数据库。
|
||||
|
||||
```bash
|
||||
+------------------+ +--------------+ +------------------+
|
||||
| | | | | |
|
||||
| | | | | |
|
||||
| Claude Desktop +--->+ +--->+ PostgreSQL |
|
||||
| | | | | |
|
||||
| Cursor +--->+ DBHub +--->+ SQL Server |
|
||||
| | | | | |
|
||||
| Other MCP +--->+ +--->+ SQLite |
|
||||
| Clients | | | | |
|
||||
| | | +--->+ MySQL |
|
||||
| | | | | |
|
||||
| | | +--->+ MariaDB |
|
||||
| | | | | |
|
||||
+------------------+ +--------------+ +------------------+
|
||||
MCP Clients MCP Server Databases
|
||||
```
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# DBHub
|
||||
|
||||
**DBHub** is a universal database gateway implementing the Model Context Protocol (MCP) server interface. This gateway allows MCP-compatible clients to connect to and explore different databases.
|
||||
|
||||
```bash
|
||||
+------------------+ +--------------+ +------------------+
|
||||
| | | | | |
|
||||
| | | | | |
|
||||
| Claude Desktop +--->+ +--->+ PostgreSQL |
|
||||
| | | | | |
|
||||
| Cursor +--->+ DBHub +--->+ SQL Server |
|
||||
| | | | | |
|
||||
| Other MCP +--->+ +--->+ SQLite |
|
||||
| Clients | | | | |
|
||||
| | | +--->+ MySQL |
|
||||
| | | | | |
|
||||
| | | +--->+ MariaDB |
|
||||
| | | | | |
|
||||
+------------------+ +--------------+ +------------------+
|
||||
MCP Clients MCP Server Databases
|
||||
```
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
name: DBHub
|
||||
tags:
|
||||
- AI / 大模型
|
||||
title: 通用数据库 MCP 服务器连接到 MySQL、PostgreSQL、SQL Server、MariaDB
|
||||
description: 通用数据库 MCP 服务器连接到 MySQL、PostgreSQL、SQL Server、MariaDB
|
||||
additionalProperties:
|
||||
key: dbhub
|
||||
name: DBHub
|
||||
tags:
|
||||
- AI
|
||||
shortDescZh: 通用数据库 MCP 服务器连接到 MySQL、PostgreSQL、SQL Server、MariaDB
|
||||
shortDescEn: Universal database MCP server connecting to MySQL, PostgreSQL, SQL Server, MariaDB
|
||||
description:
|
||||
en: Universal database MCP server connecting to MySQL, PostgreSQL, SQL Server, MariaDB
|
||||
ja: 通用データベース MCP サーバーは、MySQL、PostgreSQL、SQL Server、MariaDB に接続します
|
||||
ms: MCP pelayan pangkalan data sejagat menyambung ke MySQL, PostgreSQL, SQL Server, MariaDB
|
||||
pt-br: Servidor MCP de banco de dados universal conectado ao MySQL, PostgreSQL, SQL Server, MariaDB
|
||||
ru: Универсальный сервер базы данных MCP, подключающийся к MySQL, PostgreSQL, SQL Server, MariaDB
|
||||
ko: 범용 데이터베이스 MCP 서버는 MySQL, PostgreSQL, SQL Server, MariaDB에 연결됩니다
|
||||
zh-Hant: 通用資料庫 MCP 伺服器連接到 MySQL、PostgreSQL、SQL Server、MariaDB
|
||||
zh: 通用数据库 MCP 服务器连接到 MySQL、PostgreSQL、SQL Server、MariaDB
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://github.com/bytebase/dbhub
|
||||
github: https://github.com/bytebase/dbhub
|
||||
document: https://github.com/bytebase/dbhub
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in New Issue