|
| 1 | +{ |
| 2 | + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", |
| 3 | + "name": "io.github.bytebase/dbhub", |
| 4 | + "description": "Minimal Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB", |
| 5 | + "repository": { |
| 6 | + "url": "https://github.com/bytebase/dbhub", |
| 7 | + "source": "github" |
| 8 | + }, |
| 9 | + "version": "0.13.0", |
| 10 | + "packages": [ |
| 11 | + { |
| 12 | + "registryType": "npm", |
| 13 | + "identifier": "@bytebase/dbhub", |
| 14 | + "version": "0.13.0", |
| 15 | + "transport": { |
| 16 | + "type": "stdio" |
| 17 | + }, |
| 18 | + "environmentVariables": [ |
| 19 | + { |
| 20 | + "name": "DSN", |
| 21 | + "description": "Database connection string (e.g., postgres://user:pass@host:5432/db)", |
| 22 | + "isRequired": false, |
| 23 | + "format": "string", |
| 24 | + "isSecret": true |
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "DB_TYPE", |
| 28 | + "description": "Database type: postgres, mysql, mariadb, sqlserver, sqlite", |
| 29 | + "isRequired": false, |
| 30 | + "format": "string", |
| 31 | + "isSecret": false |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "DB_HOST", |
| 35 | + "description": "Database hostname", |
| 36 | + "isRequired": false, |
| 37 | + "format": "string", |
| 38 | + "isSecret": false |
| 39 | + }, |
| 40 | + { |
| 41 | + "name": "DB_PORT", |
| 42 | + "description": "Database port", |
| 43 | + "isRequired": false, |
| 44 | + "format": "number", |
| 45 | + "isSecret": false |
| 46 | + }, |
| 47 | + { |
| 48 | + "name": "DB_USER", |
| 49 | + "description": "Database username", |
| 50 | + "isRequired": false, |
| 51 | + "format": "string", |
| 52 | + "isSecret": false |
| 53 | + }, |
| 54 | + { |
| 55 | + "name": "DB_PASSWORD", |
| 56 | + "description": "Database password", |
| 57 | + "isRequired": false, |
| 58 | + "format": "string", |
| 59 | + "isSecret": true |
| 60 | + }, |
| 61 | + { |
| 62 | + "name": "DB_NAME", |
| 63 | + "description": "Database name or SQLite file path", |
| 64 | + "isRequired": false, |
| 65 | + "format": "string", |
| 66 | + "isSecret": false |
| 67 | + }, |
| 68 | + { |
| 69 | + "name": "TRANSPORT", |
| 70 | + "description": "Transport mode: stdio or http", |
| 71 | + "isRequired": false, |
| 72 | + "format": "string", |
| 73 | + "isSecret": false |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "PORT", |
| 77 | + "description": "HTTP server port (default: 8080)", |
| 78 | + "isRequired": false, |
| 79 | + "format": "number", |
| 80 | + "isSecret": false |
| 81 | + }, |
| 82 | + { |
| 83 | + "name": "ID", |
| 84 | + "description": "Instance identifier for tool names", |
| 85 | + "isRequired": false, |
| 86 | + "format": "string", |
| 87 | + "isSecret": false |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "SSH_HOST", |
| 91 | + "description": "SSH server hostname", |
| 92 | + "isRequired": false, |
| 93 | + "format": "string", |
| 94 | + "isSecret": false |
| 95 | + }, |
| 96 | + { |
| 97 | + "name": "SSH_PORT", |
| 98 | + "description": "SSH server port (default: 22)", |
| 99 | + "isRequired": false, |
| 100 | + "format": "number", |
| 101 | + "isSecret": false |
| 102 | + }, |
| 103 | + { |
| 104 | + "name": "SSH_USER", |
| 105 | + "description": "SSH username", |
| 106 | + "isRequired": false, |
| 107 | + "format": "string", |
| 108 | + "isSecret": false |
| 109 | + }, |
| 110 | + { |
| 111 | + "name": "SSH_PASSWORD", |
| 112 | + "description": "SSH password", |
| 113 | + "isRequired": false, |
| 114 | + "format": "string", |
| 115 | + "isSecret": true |
| 116 | + }, |
| 117 | + { |
| 118 | + "name": "SSH_KEY", |
| 119 | + "description": "Path to SSH private key", |
| 120 | + "isRequired": false, |
| 121 | + "format": "string", |
| 122 | + "isSecret": false |
| 123 | + }, |
| 124 | + { |
| 125 | + "name": "SSH_PASSPHRASE", |
| 126 | + "description": "SSH key passphrase", |
| 127 | + "isRequired": false, |
| 128 | + "format": "string", |
| 129 | + "isSecret": true |
| 130 | + } |
| 131 | + ] |
| 132 | + } |
| 133 | + ] |
| 134 | +} |
0 commit comments