Skip to content

Commit c03f4c3

Browse files
zhujian0805claude
andcommitted
fix: update dbhub MCP schema to use DSN environment variable
- Changed from DATABASE_URL argument to DSN environment variable - Updated docker and npx installation methods accordingly - Maintains compatibility with the dbhub server API 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6009c5e commit c03f4c3

File tree

1 file changed

+5
-7
lines changed
  • code_assistant_manager/mcp/registry/servers

1 file changed

+5
-7
lines changed

code_assistant_manager/mcp/registry/servers/dbhub.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"run",
3030
"-i",
3131
"--rm",
32+
"-e",
33+
"DSN",
3234
"bytebase/dbhub",
3335
"--transport",
34-
"stdio",
35-
"--dsn",
36-
"${DATABASE_URL}"
36+
"stdio"
3737
]
3838
},
3939
"npx": {
@@ -43,14 +43,12 @@
4343
"-y",
4444
"@bytebase/dbhub",
4545
"--transport",
46-
"stdio",
47-
"--dsn",
48-
"${DATABASE_URL}"
46+
"stdio"
4947
]
5048
}
5149
},
5250
"arguments": {
53-
"DATABASE_URL": {
51+
"DSN": {
5452
"description": "The database connection string which includes the user, password, host, port, and database name.",
5553
"required": true,
5654
"example": "postgres://user:password@localhost:5432/dbname?sslmode=disable"

0 commit comments

Comments
 (0)