HybridHub

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.

Category
Visit Server

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 buckets
  • list_objects - List objects in a bucket
  • get_object - Get object content
  • get_object_metadata - Get object metadata
  • search_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

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.

Official
Featured
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured