Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
483 changes: 483 additions & 0 deletions DBHub_MCP_TXTtoSQL.md

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions dbhub.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# dbhub.toml
[[sources]]
id = "postgres_logic"
description = "Production PostgreSQL database"
dsn = "postgresql://postgres:DigiBull@192.168.1.18:5432/logic_db_2?sslmode=disable"

[[sources]]
id = "duckdb_local"
description = "Local DuckDB analytical database"
# Use an absolute path or a path relative to where you run DBHub.
# For an in-memory database, use: dsn = "duckdb://:memory:"
dsn = "duckdb:///C:/SRIM-DB-SETUP/Databases/Bom_storage.duckdb"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@duckdb/node-api": "1.5.6-r.1",
"@iarna/toml": "^2.2.5",
"@modelcontextprotocol/node": "^2.0.0",
"@modelcontextprotocol/server": "^2.0.0",
Expand Down
96 changes: 96 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/api/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface components {
* @example postgres
* @enum {string}
*/
type: "postgres" | "mysql" | "mariadb" | "sqlserver" | "sqlite" | "oracle";
type: "postgres" | "mysql" | "mariadb" | "sqlserver" | "sqlite" | "oracle" | "duckdb";
/**
* @description Database host (not present for SQLite)
* @example localhost
Expand Down
2 changes: 1 addition & 1 deletion src/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ components:
example: Production read replica for analytics queries
type:
type: string
enum: [postgres, mysql, mariadb, sqlserver, sqlite, oracle]
enum: [postgres, mysql, mariadb, sqlserver, sqlite, oracle,duckdb]
description: Database type
example: postgres
host:
Expand Down
Loading
Loading