MCP Servers for databases and infrastructure
This collection provides reference implementations of the Model Context Protocol (MCP) for databases and infrastructure management. These servers enable Large Language Models (LLMs) to securely interact with Oracle, PostgreSQL, MySQL databases, as well as MikroTik routers and QNAP NAS devices.These servers are intended as reference implementations to demonstrate MCP features and SDK usage. They serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Evaluate your own security requirements and implement appropriate safeguards based on your specific threat model and use case.
Available servers
Oracle Database
Read-only access to Oracle databases with query execution, explain plans, and AWR reporting
PostgreSQL
Schema inspection, read-only queries, and performance analysis for PostgreSQL
MySQL
Execute queries, analyze performance, and inspect MySQL database schemas
MikroTik RouterOS
Monitor and analyze MikroTik routers through the RouterOS API
QNAP NAS
System monitoring and file management for QNAP NAS devices
Reference servers
This repository also includes reference implementations demonstrating MCP features:Everything
Reference server with prompts, resources, and tools for testing
Fetch
Web content fetching and HTML to markdown conversion
Filesystem
Secure file operations with configurable access controls
Git
Git repository interaction and automation
Memory
Knowledge graph-based persistent memory system
Sequential Thinking
Dynamic problem-solving through thought sequences
Time
Time and timezone conversion capabilities
Quick links
Installation
Install servers using NPM or Docker
Quick start
Get your first MCP server running in minutes
Oracle Database
Provides read-only access to Oracle Database with schema inspection, query execution, and performance analysis. Key features:- Execute read-only SQL queries with automatic transaction management
- Generate explain plans for query optimization
- Access Automatic Workload Repository (AWR) reports
- Retrieve table statistics and schema information
- Reconnect with new credentials using the
orcl-connecttool
orcl-query- Execute read-only SQL queriesorcl-explain- Generate explain plans (requires SELECT_CATALOG_ROLE)orcl-stats- Get table statisticsorcl-connect- Connect with new credentialsorcl-awr- Generate AWR reports
PostgreSQL
Enables LLMs to inspect PostgreSQL database schemas and execute read-only queries with performance monitoring. Key features:- Read-only SQL query execution
- Table statistics and schema introspection
- Explain plan generation
- Performance reporting similar to Oracle AWR
- SSL/TLS connection support
pg-query- Execute read-only queriespg-stats- Get table statisticspg-explain- Generate explain planspg-connect- Connect to PostgreSQL databasepg-awr- Generate performance reports
MySQL
Provides read-only access to MySQL databases with comprehensive schema inspection and performance analysis. Key features:- Execute read-only SQL queries
- Explain plan generation in JSON format
- Comprehensive table, index, and column statistics
- Performance reporting with InnoDB metrics
- Support for Performance Schema
mysql-query- Execute read-only queriesmysql-explain- Generate explain plansmysql-stats- Get table statisticsmysql-connect- Connect with new credentialsmysql-awr- Generate performance reports
MikroTik RouterOS
A read-only MCP server for monitoring and analyzing MikroTik routers through the RouterOS API. Key features:- Connection management with plain TCP (8728) and SSL/TLS (8729)
- Dynamic resource monitoring for interfaces, bridges, and routing tables
- Support for modern (v6.43+) and legacy RouterOS versions
- Comprehensive system reports with traffic statistics
- Security audit and performance analysis
mk-connect- Connect to a routermk-report- Generate comprehensive system reportmk-get- Execute RouterOS API commandsmk-awr- Generate performance and security audit report
QNAP NAS
Monitor QNAP NAS devices, manage files, and generate comprehensive system reports. Key features:- System status monitoring (CPU, memory, disks, volumes)
- File management with tabular directory listings
- Detailed file information retrieval
- Real-time disk health and temperature monitoring
- Volume usage and capacity tracking
qnap-connect- Connect to QNAP NASqnap-report- Generate system report in Markdownqnap-dir- List directory contentsqnap-file-info- Get detailed file information