Back to Home
haegemonia76 icon

mcp-servers

by haegemonia76

Overview

A collection of Model Context Protocol (MCP) servers designed to provide controlled access and management capabilities for various infrastructure components like PostgreSQL databases, Redis caches, Docker containers, and Git repositories.

Installation

Run Command
pnpm build:docker && node services/docker/build/index.js

Environment Variables

  • DATABASE_URL
  • PG_ALLOW_WRITE
  • REDIS_URL
  • GIT_REPO_PATH

Security Notes

The 'postgres-manager-mcp' server's 'query' tool directly executes user-provided SQL strings without proper parameterization. The `PG_ALLOW_WRITE` environment variable and the `startsWith("select")` check are insufficient to prevent severe SQL injection vulnerabilities (e.g., `SELECT 1; DROP TABLE users;`). Additionally, the 'docker-manager-mcp' and 'git-manager-mcp' services expose highly privileged operations (container start/stop/restart, Git add/commit/push/pull) which, if used by an untrusted or malfunctioning agent, could lead to significant data loss or system compromise. All sensitive configurations (`DATABASE_URL`, `REDIS_URL`) are correctly sourced from environment variables, preventing hardcoded secrets.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-03

Tags

MCPInfrastructureDatabaseCachingContainerization