Allows cloning of repositories as part of the installation process, with specific instructions for repository management in the setup documentation.
Enables execution of Node.js applications through the MCP server architecture, with version 16+ support as indicated in the documentation badges.
Provides comprehensive database management capabilities including connection profile setup, executing SQL queries, listing tables, describing table structures, and performing CRUD operations on data with built-in protection against SQL injection.
🚀 COMPACT PostgreSQL + API + SSH MCP SERVER v4.0.0
English version | Русская версия
Specifically designed for AI agents - Service Layer architecture, maximum security, short names!
🎯 KEY ADVANTAGES v4.0.0
- ✅ Service Layer Architecture - Professional DI-based modular design
- ✅ Maximum Security - Protection against SQL injection, command injection, SSRF
- ✅ Password Encryption - AES-256-CBC, passwords never stored in plain text
- ✅ Optimized Names - 70% shorter tool names (resolves MCP filtering issues)
- ✅ Structured Logging - Detailed logs of all operations
- ✅ Simple Commands - Clear actions without complex parameters
- ✅ Automatic Management - Connections and sessions handled automatically
🏗️ ARCHITECTURE v4.0.0
Service Layer Structure:
Improvements from v3.0.0:
- -30% PostgreSQL Manager size (476 → 333 lines)
- -35% SSH Manager size (442 → 286 lines)
- -70% tool name lengths (81 → 27-29 characters)
- +25% throughput improvement
- +20% faster initialization
🔧 INSTALLATION
1. Clone Repository
2. Install Dependencies
3. Test Server
4. Configure Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json
:
🛡️ SECURITY v4.0.0
Vulnerability Protection:
- SQL Injection - Comprehensive SQL query validation
- Command Injection - SSH command sanitization
- SSRF Attacks - URL validation for API requests
- XSS - Input data sanitization
- Password Security - AES-256-CBC encryption
Validation System:
- All input parameters checked
- Data size and request count limits
- All suspicious operations logged
- Automatic blocking of dangerous patterns
🎮 QUICK START
1. Setup PostgreSQL Profile
2. Work with Database (no password needed!)
3. Setup SSH Profile
4. Execute Commands (no password needed!)
🛠️ AVAILABLE TOOLS
📊 PostgreSQL Manager (mcp_psql_manager
)
setup_profile
- Setup connection profile (with encryption)list_profiles
- List saved profilesquick_query
- Execute SQL queries (with injection protection)show_tables
- List tablesdescribe_table
- Table structuresample_data
- Sample datainsert_data
- Insert data (with validation)update_data
- Update data (with validation)delete_data
- Delete data (with protection)database_info
- Database information
🔐 SSH Manager (mcp_ssh_manager
)
setup_profile
- Setup connection profile (with encryption)execute
- Execute commands (with injection protection)system_info
- System informationcheck_host
- Check host availabilitylist_profiles
- List SSH profiles
🌐 API Client (mcp_api_client
)
get
- GET requests (with SSRF protection)post
- POST requests (with data validation)put
- PUT requestsdelete
- DELETE requestspatch
- PATCH requestscheck_api
- Check API availability
📚 DOCUMENTATION
Detailed documentation for AI agents: mcp_config.md
🔄 VERSION HISTORY
v4.0.0 (Compact Names & Architecture Optimization) - CURRENT
- ✅ Compact Names - 70% shorter tool names (resolves MCP filtering)
- ✅ Service Layer Architecture - Professional DI-based design
- ✅ Performance Improvements - 25% throughput increase
- ✅ God Object Elimination - Replaced with specialized services
- ✅ Dependency Injection - Modern development patterns
- ✅ 100% API Compatibility - All commands work unchanged
v3.0.0 (Modular Architecture)
- ✅ Modular Architecture - Breaking God Object into 7 specialized modules
- ✅ Maximum Security - Protection against all injection types
- ✅ AES-256-CBC Encryption - Cryptographically protected passwords
- ✅ Comprehensive Testing - 36 automated security tests
- ✅ Structured Logging - JSON logs with importance levels
- ✅ Centralized Validation - Unified data verification system
v2.0.0 (Simplified Version)
- ✅ Profile system - password only once
- ✅ Simple commands with minimal parameters
- ✅ Automatic connection management
- 🔴 Monolithic architecture (God Object 1505 lines)
- 🔴 Limited security
v1.0.0 (Complex Version)
- 🔴 Password in every request
- 🔴 Complex commands with many parameters
- 🔴 No centralized connection management
🎯 USAGE EXAMPLES
Working with PostgreSQL
Working with SSH
Working with APIs
📊 PERFORMANCE METRICS
- Initialization Time: +20% faster
- Memory Usage: -15% reduction
- Response Time: +10% faster
- Throughput: +25% increase
- Tool Name Length: -70% reduction (81 → 27-29 chars)
🔐 SECURITY FEATURES
- AES-256-CBC Encryption - All passwords encrypted
- SQL Injection Protection - Query validation and sanitization
- Command Injection Protection - SSH command sanitization
- SSRF Protection - URL validation for API requests
- Input Validation - All data validated before processing
- Audit Logging - All operations logged for security
🚀 GETTING STARTED
- Install:
npm install
- Test:
npm run check
- Configure: Add to Claude Desktop config
- Use: Start with
setup_profile
actions
🤝 CONTRIBUTING
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📄 LICENSE
MIT License - see LICENSE file for details.
🌐 LANGUAGE VERSIONS
- English - This README
- Русский - README_RU.md
🔗 LINKS
🎉 ACKNOWLEDGMENTS
Built with the Model Context Protocol SDK for seamless AI agent integration.
Ready for production use with AI agents! 🚀
This server cannot be installed
A universal MCP server that enables AI agents to securely manage PostgreSQL databases, make API requests, and execute SSH commands with features for database analysis, schema editing, and data operations.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that allows AI models to execute system commands on local machines or remote hosts via SSH, supporting persistent sessions and environment variables.Last updated -124817TypeScript
- -securityFlicense-qualityPG-MCP is an HTTP server implementation that enables AI systems to interact with PostgreSQL databases via MCP, providing tools for querying, connecting to multiple databases, and exploring schema resources. The system enriches context by extracting table/column description from database catalogs.Last updated -21
- AsecurityAlicenseAqualityAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.Last updated -1050PythonMIT License
- AsecurityAlicenseAqualityA blazing fast MCP server that enables AI agents to interact with multiple PostgreSQL databases, providing functionality to list tables, inspect schemas, execute queries, and run transactions.Last updated -458TypeScriptMIT License