@bytebase/dbhub 0.6.1 → 0.6.2

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 CHANGED
@@ -6,6 +6,10 @@
6
6
  </a>
7
7
  </p>
8
8
 
9
+ <p align="center">
10
+ <a href="https://cursor.com/install-mcp?name=dbhub-postgres&config=eyJjb21tYW5kIjoibnB4IC15IEBieXRlYmFzZS9kYmh1YiAtLXRyYW5zcG9ydCBzdGRpbyAtLWRzbiBwb3N0Z3JlczovL3VzZXI6cGFzc3dvcmRAbG9jYWxob3N0OjU0MzIvZGJuYW1lP3NzbG1vZGU9ZGlzYWJsZSJ9"><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add dbhub-postgres MCP server to Cursor" height="32" /></a>
11
+ </p>
12
+
9
13
  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.
10
14
 
11
15
  ```bash
@@ -168,6 +172,8 @@ npx @bytebase/dbhub --transport http --port 8080 --demo
168
172
 
169
173
  ### Cursor
170
174
 
175
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=dbhub-postgres&config=eyJjb21tYW5kIjoibnB4IC15IEBieXRlYmFzZS9kYmh1YiAtLXRyYW5zcG9ydCBzdGRpbyAtLWRzbiBwb3N0Z3JlczovL3VzZXI6cGFzc3dvcmRAbG9jYWxob3N0OjU0MzIvZGJuYW1lP3NzbG1vZGU9ZGlzYWJsZSJ9)
176
+
171
177
  ![cursor](https://raw.githubusercontent.com/bytebase/dbhub/main/resources/images/cursor.webp)
172
178
 
173
179
  - Cursor supports both `stdio` and `http`.
package/dist/index.js CHANGED
@@ -3515,9 +3515,9 @@ See documentation for more details on configuring database connections.
3515
3515
  const portData = resolvePort();
3516
3516
  const port = portData.port;
3517
3517
  console.error(`Port source: ${portData.source}`);
3518
- app.listen(port, "localhost", () => {
3519
- console.error(`DBHub server listening at http://localhost:${port}`);
3520
- console.error(`Connect to MCP server at http://localhost:${port}/message`);
3518
+ app.listen(port, "0.0.0.0", () => {
3519
+ console.error(`DBHub server listening at http://0.0.0.0:${port}`);
3520
+ console.error(`Connect to MCP server at http://0.0.0.0:${port}/message`);
3521
3521
  });
3522
3522
  } else {
3523
3523
  const server = createServer();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebase/dbhub",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Universal Database MCP Server",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",