mcp-devops-deploy
Enables automated deployments, environment management, snapshots, and deployment monitoring through DevOps Deploy's REST API.
README
MCP Deploy Automation
A Model Context Protocol (MCP) server for deployment automation. This server provides tools to manage deployments, environments, snapshots, and applications through DevOps Deploy's REST API.
Features
- 🚀 Quick Deployments: Deploy snapshots or specific component versions to any environment
- 📸 Snapshot Management: Create, list, and deploy snapshots
- 🌍 Environment Management: Discover and manage application environments
- 📊 Deployment Monitoring: Track deployment status and progress
- ⏰ Scheduling: Schedule deployments for future execution
- 🔄 Automation: Set up deployment triggers and recurring deployments
- 📋 Inventory Tracking: See what's deployed where and compare environments
Prerequisites
- Node.js 18.0.0 or higher
- Access to an DevOps Deploy server
- Valid Deploy server access token
Installation
npm install @securedevops/mcp-deploy-automation
Configuration
Set up environment variables or provide command line arguments:
Environment Variables
export DEPLOY_SERVER_URL="https://your-deploy-server:8443"
export DEPLOY_TOKEN="your-access-token"
Best Practices
🔑 Use IDs Instead of Names
For better reliability and compatibility, always prefer using IDs over names when available:
- Start with discovery tools: Use
list_applicationsto get application IDs - Get environment IDs: Use
list_environments_for_applicationto get environment IDs - Get snapshot IDs: Use
list_application_snapshotsto get snapshot IDs - Use IDs in deployment operations: This avoids naming conflicts and ensures accuracy
Example workflow:
1. list_applications → Get application ID
2. list_environments_for_application → Get environment IDs
3. deploy_snapshot_to_environment using IDs instead of names
The tools will display both names and IDs in their output, making it easy to copy the IDs for subsequent operations.
Example Use Cases
1. Automated Production Deployment
Scenario: You need to deploy a tested snapshot to production environment during a maintenance window.
Steps:
- "List all applications to find my target application"
2. Environment Promotion Pipeline
Scenario: You need to promote code through development → staging → production environments.
Steps:
- "Compare staging environment with production to see what changes are pending"
- "Create a snapshot from the current staging environment called 'release-candidate-v2.1.4'"
- "Deploy the snapshot to production environment using the 'Production Deploy' process"
- "Monitor deployment status and ensure successful completion"
- "Verify production inventory matches the deployed snapshot"
Benefits: Safe, controlled promotion through environments with full visibility and verification.
3. Scheduled Maintenance Deployment
Scenario: You need to schedule critical updates during off-hours maintenance windows.
Steps:
- "List all environments for the 'Banking Platform' application"
- "Schedule deployment of 'security-patch-v1.2.1' snapshot to production for tomorrow at 2:00 AM"
- "Set up a deployment trigger for automatic rollback if deployment fails"
- "Schedule weekly recurring deployments for the staging environment"
Benefits: Automated deployment scheduling reduces manual intervention and ensures deployments happen during optimal times.
Available Tools
1. deploy_snapshot_to_environment
Deploy a named snapshot to a specific environment.
Parameters:
application- Name or ID of the applicationsnapshot- Name or ID of the snapshot to deployenvironment- Name or ID of the target environmentapplicationProcess- Name or ID of the application processdescription(optional) - Description for the deploymentonlyChanged(optional) - Deploy only changed versions (default: true)
2. deploy_component_versions
Deploy specific component versions to an environment.
Parameters:
application- Name or ID of the applicationenvironment- Name or ID of the target environmentapplicationProcess- Name or ID of the application processversions- Array of component/version pairsdescription(optional) - Description for the deploymentonlyChanged(optional) - Deploy only changed versions (default: true)
3. list_application_snapshots
Get all available snapshots for an application.
Parameters:
application- Name or ID of the application
4. list_environment_inventory
Get current deployed versions in an environment.
Parameters:
application- Name or ID of the applicationenvironment- Name or ID of the environment
5. create_snapshot_from_environment
Create a new snapshot based on current environment state.
Parameters:
application- Name or ID of the applicationenvironment- Name or ID of the source environmentname- Name for the new snapshotdescription(optional) - Description for the snapshot
6. get_deployment_status
Check status of a running or completed deployment.
Parameters:
requestId- Request ID from a previous deployment
7. schedule_deployment
Schedule a deployment for future execution.
Parameters:
application- Name or ID of the applicationenvironment- Name or ID of the target environmentapplicationProcess- Name or ID of the application processdate- Date and time to schedule (yyyy-mm-dd HH:mm or unix timestamp)snapshot(optional) - Snapshot to deployversions(optional) - Component versions to deploydescription(optional) - Description for the deploymentrecurrencePattern(optional) - Recurrence: D (daily), W (weekly), M (monthly)
8. list_environments_for_application
Get all environments configured for an application.
Parameters:
application- Name or ID of the application
9. compare_environment_snapshots
Compare deployed versions between environments or against a snapshot.
Parameters:
application- Name or ID of the applicationsourceEnvironment- Name or ID of the source environmenttargetEnvironment(optional) - Name or ID of the target environmenttargetSnapshot(optional) - Name or ID of the target snapshot
10. create_deployment_trigger
Set up automated deployment triggers.
Parameters:
environment- Name or ID of the environmentname- Name for the deployment triggerapplicationProcess- Name or ID of the application processdescription(optional) - Description for the triggertriggerType- Type: VERSION_CHANGE or SCHEDULEschedulePattern(optional) - Schedule pattern for SCHEDULE triggers
11. list_applications
Get information about all applications on the server.
Parameters: None
Error Handling
The server provides detailed error messages and will indicate:
- Authentication failures
- Invalid application/environment names
- Network connectivity issues
- API response errors
Development
To run the server in development mode:
git clone https://github.com/securedevops/mcp-deploy-automation.git
cd mcp-deploy-automation
npm install
npm start
License
ISC License
Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests to our GitHub repository.
Support
For issues and questions:
- GitHub Issues: https://github.com/securedevops/mcp-deploy-automation/issues
- Documentation: https://github.com/securedevops/mcp-deploy-automation#readme
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.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.