Scansca - MCP Database Connector (under-development)
MCP Server for for major databases
RoyceLeonD
README
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
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.
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.
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.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.