HybridHub
Enables unified access to both structured databases (PostgreSQL, MySQL, SQLite, etc.) and unstructured object storage (AWS S3, Alibaba OSS, Huawei OBS, etc.) through a single interface.
README
HybridHub
Universal Hybrid Data MCP Server - Connect to both structured (databases) and unstructured (object storage) data sources.
Features
-
Structured Data Sources (Databases)
- PostgreSQL
- MySQL
- MariaDB
- SQL Server
- SQLite
-
Unstructured Data Sources (Object Storage)
- Huawei Cloud OBS
- Alibaba Cloud OSS
- AWS S3 / S3-Compatible (MinIO, etc.)
- Tencent Cloud COS
Quick Start
1. Install Dependencies
npm install
# or
yarn install
# or
pnpm install
2. Configure Data Sources
Copy the sample configuration file:
cp env.sample .env
Edit .env with your data source credentials.
For multi-source configuration, copy and edit the TOML example:
cp hybridhub.toml.example hybridhub.toml
3. Run the Server
# Development mode
npm run dev
# Production mode
npm run build
npm start
Configuration
Environment Variables
| Variable | Description | Example |
|---|---|---|
HYBRIDHUB_TRANSPORT |
Transport mode | stdio or http |
HYBRIDHUB_PORT |
HTTP port | 8080 |
HYBRIDHUB_API_KEY |
API key for authentication | your-api-key |
Database Configuration
| Variable | Description | Example |
|---|---|---|
DSN |
Database connection string | postgres://user:pass@localhost:5432/db |
DB_TYPE |
Database type | postgres, mysql, sqlite, etc. |
DB_HOST |
Database host | localhost |
DB_PORT |
Database port | 5432 |
DB_NAME |
Database name | mydb |
DB_USER |
Database username | user |
DB_PASSWORD |
Database password | password |
DB_READONLY |
Enable read-only mode | true or false |
DB_MAX_ROWS |
Maximum rows per query | 1000 |
Storage Configuration
| Variable | Description | Example |
|---|---|---|
STORAGE_TYPE |
Storage provider type | s3, oss, obs, etc. |
STORAGE_ENDPOINT |
Storage endpoint URL | https://s3.amazonaws.com |
STORAGE_ACCESS_KEY |
Access key ID | AKIAIOSFODNN7EXAMPLE |
STORAGE_SECRET_KEY |
Secret access key | wJalrXUtnFEMI... |
STORAGE_REGION |
Storage region | us-east-1 |
STORAGE_PATH_STYLE |
Use path-style URLs (for MinIO) | true or false |
TOML Configuration
For multi-source configuration, use hybridhub.toml:
# Database source
[[databases]]
id = "prod_pg"
dsn = "postgres://user:password@localhost:5432/production"
readonly = false
max_rows = 1000
# Storage source
[[storages]]
id = "aws_s3"
type = "s3"
endpoint = "https://s3.amazonaws.com"
access_key = "AKIAIOSFODNN7EXAMPLE"
secret_key = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
region = "us-east-1"
See hybridhub.toml.example for complete configuration options.
MCP Tools
Database Tools
execute_sql- Execute SQL queries on database sources
Storage Tools
list_buckets- List all storage bucketslist_objects- List objects in a bucketget_object- Get object contentget_object_metadata- Get object metadatasearch_objects- Search objects with filters
Development
# Run in development mode
npm run dev
# Run with HTTP transport
npm run dev:http
# Build for production
npm run build
# Run tests
npm test
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.