devops-assistant-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@devops-assistant-mcp show me all running Docker containers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DevOps Assistant MCP Server (Modular)
A professional-grade Model Context Protocol (MCP) server built with TypeScript. It acts as a multi-functional "DevOps Assistant" that allows AI models to securely query local databases and manage Docker infrastructure through a standardized interface.
🚀 Features
Modern Architecture: Built using the latest
@modelcontextprotocol/sdk(v1.3+).Multi-Service Integration: Single entry point for Database, System, and Docker management.
Docker Management: Directly interact with the local Docker socket to inspect containers and debug logs.
Modular Design: Separation of concerns between configuration, server orchestration, and service-specific tool logic.
Type-Safe: Full TypeScript implementation with Zod schema validation for all tool inputs.
Related MCP server: Docker MCP Server
🛠️ Tools Provided
🗄️ Database Tools
query_database: Execute SQL queries on the local MySQL instance to analyze data or system records.
🐳 Docker Tools
list_containers: List all local Docker containers and their current status (Running, Stopped, etc.).get_container_logs: Retrieve the last 50 lines of logs from a specific container for real-time debugging.
⚙️ System Tools
get_system_time: Utility tool to retrieve the server's current time for log synchronization.
📋 Prerequisites
Node.js (v18+)
Docker Desktop (or OrbStack)
MCP Client (e.g., VS Code with "Continue" or "Roo Code", or the MCP Inspector)
🚦 Quick Start
1. Start the Sample Database
Run the MySQL container using Docker:
docker run -d \
--name mcp-app-db \
-e MYSQL_ROOT_PASSWORD=mypassword \
-e MYSQL_DATABASE=mcp_learning \
-p 3306:3306 \
mysql:latest2. Install Dependencies
npm install3. Seed the Database
Populate the database with sample user data:
npm run seed4. Build and Test
Compile the TypeScript code and run the MCP Inspector:
npm run build
npx @modelcontextprotocol/inspector node dist/index.js🏗️ Project Structure
src/config.ts: Centralized configuration for all services.src/tools/database.ts: SQL query logic.src/tools/docker.ts: Docker socket integration logic.src/tools/system.ts: General utility tools.src/index.ts: The main orchestrator and entry point.
📄 License
ISC
Available Tools
4 toolsget_container_logsA
Retrieve the last 50 lines of logs from a specific Docker container.
Inputs: containerId (required).
get_system_timeA
Returns the current system time from the MCP server.
Inputs: no named parameters.
list_containersA
List all local Docker containers and their current status (running, stopped, etc.).
Inputs: all.
query_databaseA
Execute a SQL query on the local MySQL database.
Inputs: sql (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct operation: container logs, system time, container listing, and database query. No overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (get_, list_, query_), with clear actions and targets.
With 4 tools, the set is well-scoped for basic DevOps monitoring tasks, each tool earning its place without redundancy.
Major gaps exist for a 'DevOps assistant': missing container management (start/stop/restart), deployment, database schema exploration, and system monitoring beyond time.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
PostgreSQL, MySQL, OpenAPI/Swagger, and shared Agent Memory with scoped access.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with MySQL databases through the Model Context Protocol, allowing users to execute SQL queries and check connection status. It provides tools for seamless database management and built-in SQL query examples.1ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Compose services through the Model Context Protocol. It supports system operations, command execution within containers, and integration with Docker Hub and GitHub Container Registry.94 npm2MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Docker Compose services through the Model Context Protocol.27MIT
- AlicenseNot gradedqualityDmaintenanceEnables MySQL database analysis through natural language, including schema exploration, query execution, performance analysis, and ER diagram generation via the Model Context Protocol.MIT