Scansca MCP Database Connector

Scansca MCP Database Connector

scansca•byroyceleond

A self-hostable server that connects LLM clients with database systems through the Model Context Protocol, exposing database structures and query operations to MCP-compatible clients.

License: Scansca Software License•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Connects PostgreSQL databases to MCP-compatible LLM clients, with MySQL, SQLite, and DynamoDB support planned.
  • •Automatically discovers and exposes database schemas with minimal configuration.
  • •Exposes MCP tool endpoints for listing available tools and invoking them by name.
  • •Provides a RESTful interface for registering databases and executing queries.

BEST FOR

  • •Technical users who want to query and gain insights from their databases using natural language through LLM clients.
  • •Users deploying a database-connecting MCP server locally with Docker Compose.

ABOUT SCANSCA

Scansca MCP Database Connector is cataloged as an MCP server attributed to royceleond. A self-hostable server that connects LLM clients with database systems through the Model Context Protocol, exposing database structures and query operations to MCP-compatible clients. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Scansca Software License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Scansca MCP Database Connector are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which database systems does Scansca currently support?

Scansca currently connects to PostgreSQL, with MySQL, SQLite, and DynamoDB listed as coming soon.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7bb97d7003da · 采集于 2026-11-13 13:17:48 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Scansca - MCP Database Connector (under-development)

Scansca is a self-hostable server that connects Large Language Model (LLM) clients with database systems through the Model Context Protocol (MCP). It enables technical users to gain integrated insights from diverse data environments using natural language.

Features

  • Multi-Database Support: Connect to PostgreSQL (with MySQL, SQLite, and DynamoDB coming soon)
  • MCP Integration: Seamless integration with MCP-compatible LLM clients
  • Automatic Schema Discovery: Expose database structures with minimal configuration
  • Simple API: RESTful interface for database operations
  • Docker Ready: Easy deployment with Docker Compose

Quick Start

Prerequisites

  • Go 1.22+
  • Docker and Docker Compose (optional, for database dependencies)

Installation

# Clone the repository
git clone https://github.com/royceleond/scansca.git
cd scansca

# Install dependencies
make deps

# Start a PostgreSQL database (optional)
make docker-compose

# Build and run the server
make run

Basic Usage

Register a Database

curl -X POST http://localhost:8080/api/v1/databases \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-postgres",
    "type": "postgresql",
    "connection_string": "postgres://scansca_user:scansca_password@localhost:5432/scansca"
  }'

Execute a Query

curl -X POST http://localhost:8080/api/v1/query \
  -H "Content-Type: application/json" \
  -d '{
    "database": "my-postgres",
    "query": "SELECT current_database(), current_user"
  }'

Use with LLM Clients

For MCP-compatible LLM clients, Scansca exposes endpoints at:

GET  /mcp/v1/tools               # Lists available tools
POST /mcp/v1/tools/:name/invoke  # Invokes a specific tool

Documentation

View the documentation by running:

make docs

This will start a documentation server on port 8080 (configurable with DOCS_PORT).

For more information, see the online documentation.

Architecture

┌──────────────────────────┐
│      MCP Client           │
│  (LLM, CLI, Application)  │
└──────────────┬───────────┘
               │
               ▼
┌──────────────────────────┐
│    Scansca MCP Server     │  HTTP API for database operations
│                           │  and MCP protocol support
├──────────────────────────┤
│    Database Connectors    │  Uniform interface for different
└──────────────┬───────────┘  database systems
               │
               ▼
┌──────────────────────────┐
│      Database Servers     │
│  (Postgres, MySQL, etc.)   │
└──────────────────────────┘

Development

# Build the project
make build

# Run tests
make test

# Start the server
make run

# Start PostgreSQL using Docker Compose
make docker-compose

# Stop Docker Compose services
make docker-compose-down

# Start documentation server
make docs

# Build and publish documentation to a Docker registry
make docs-publish

Environment Configuration

For sensitive settings like Docker registry URLs, Scansca uses a .env file that is not tracked by git:

  1. Copy the template file to create your configuration:

    cp .env.example .env
    
  2. Edit the .env file with your settings:

    # Registry settings - Replace with your actual values
    DOCKER_REGISTRY=docker.your-company.com
    
  3. The Makefile will automatically load these settings when you run make commands

Project Structure

scansca/
├── cmd/          # Application entry point
├── config/       # Configuration files
├── docker/       # Docker configurations
├── docs/         # Documentation
├── internal/     # Private implementation
│   ├── db/       # Database connections and models
│   ├── server/   # HTTP server and API
│   └── mcp/      # MCP protocol implementation
└── Makefile      # Build automation

License

This project is licensed under the Scansca Software License which allows:

  • Free use for non-commercial purposes, non-profits, and small entities (less than $10,000 USD in revenue/assets)
  • Commercial and government use requires a separate license from the author

Please see the LICENSE file for complete details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Scansca MCP Database Connector from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/scansca)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage