@bytebase/dbhub 0.11.10 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -24
- package/dist/index.js +753 -77
- package/dist/public/assets/index-C-kOl-8S.css +1 -0
- package/dist/public/assets/index-CDt2HpUt.js +51 -0
- package/dist/public/index.html +2 -2
- package/package.json +3 -3
- package/dist/public/assets/index--LC9Foha.css +0 -1
- package/dist/public/assets/index-BZTaHJm6.js +0 -51
package/README.md
CHANGED
|
@@ -11,31 +11,33 @@
|
|
|
11
11
|
</a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
|
-

|
|
15
|
-
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
DBHub is a Universal Database MCP Server implementing the Model Context Protocol (MCP) server interface. This gateway allows MCP-compatible clients to connect to and explore different databases.
|
|
19
|
-
|
|
20
14
|
```bash
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
15
|
+
+------------------+ +--------------+ +------------------+
|
|
16
|
+
| | | | | |
|
|
17
|
+
| | | | | |
|
|
18
|
+
| Claude Desktop +--->+ +--->+ PostgreSQL |
|
|
19
|
+
| | | | | |
|
|
20
|
+
| Claude Code +--->+ +--->+ SQL Server |
|
|
21
|
+
| | | | | |
|
|
22
|
+
| Cursor +--->+ DBHub +--->+ SQLite |
|
|
23
|
+
| | | | | |
|
|
24
|
+
| VS Code +--->+ +--->+ MySQL |
|
|
25
|
+
| | | | | |
|
|
26
|
+
| Other Clients +--->+ +--->+ MariaDB |
|
|
27
|
+
| | | | | |
|
|
28
|
+
| | | | | |
|
|
29
|
+
+------------------+ +--------------+ +------------------+
|
|
30
|
+
MCP Clients MCP Server Databases
|
|
37
31
|
```
|
|
38
32
|
|
|
33
|
+
DBHub is a Universal Database MCP Server implementing the Model Context Protocol (MCP) server interface. This gateway allows MCP-compatible clients to connect to and explore different databases:
|
|
34
|
+
|
|
35
|
+
- **Universal Gateway**: Single interface for PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite
|
|
36
|
+
- **Secure Access**: Read-only mode, SSH tunneling, and SSL/TLS encryption support
|
|
37
|
+
- **Multi-Database**: Connect to multiple databases simultaneously with TOML configuration
|
|
38
|
+
- **Production-Ready**: Row limiting, lock timeout control, and connection pooling
|
|
39
|
+
- **MCP Native**: Full implementation of Model Context Protocol with resources, tools, and prompts
|
|
40
|
+
|
|
39
41
|
## Supported Databases
|
|
40
42
|
|
|
41
43
|
PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite.
|
|
@@ -55,6 +57,7 @@ See the full [Installation Guide](https://dbhub.ai/installation) for detailed in
|
|
|
55
57
|
### Quick Start
|
|
56
58
|
|
|
57
59
|
**Docker:**
|
|
60
|
+
|
|
58
61
|
```bash
|
|
59
62
|
docker run --rm --init \
|
|
60
63
|
--name dbhub \
|
|
@@ -66,13 +69,15 @@ docker run --rm --init \
|
|
|
66
69
|
```
|
|
67
70
|
|
|
68
71
|
**NPM:**
|
|
72
|
+
|
|
69
73
|
```bash
|
|
70
74
|
npx @bytebase/dbhub --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
|
|
71
75
|
```
|
|
72
76
|
|
|
73
77
|
**Demo Mode:**
|
|
78
|
+
|
|
74
79
|
```bash
|
|
75
|
-
npx @bytebase/dbhub --transport http --port 8080 --
|
|
80
|
+
npx @bytebase/dbhub --transport http --port 8080 --demo
|
|
76
81
|
```
|
|
77
82
|
|
|
78
83
|
See [Server Options](https://dbhub.ai/config/server-options) for all available parameters.
|
|
@@ -107,7 +112,7 @@ See [Multi-Database Configuration](https://dbhub.ai/config/multi-database) for c
|
|
|
107
112
|
|
|
108
113
|
See [TESTING.md](.claude/skills/testing/SKILL.md).
|
|
109
114
|
|
|
110
|
-
### Debug
|
|
115
|
+
### Debug
|
|
111
116
|
|
|
112
117
|
See [Debug](https://dbhub.ai/config/debug).
|
|
113
118
|
|
|
@@ -116,3 +121,7 @@ See [Debug](https://dbhub.ai/config/debug).
|
|
|
116
121
|
<a href="https://github.com/bytebase/dbhub/graphs/contributors">
|
|
117
122
|
<img src="https://contrib.rocks/image?repo=bytebase/dbhub" />
|
|
118
123
|
</a>
|
|
124
|
+
|
|
125
|
+
## Star History
|
|
126
|
+
|
|
127
|
+

|