Skip to content

About

MCP server for Devtron — manage Kubernetes CI/CD pipelines, applications, and deployments via any MCP-compatible AI client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devtron-mcp-server

An MCP (Model Context Protocol) server for Devtron — Kubernetes-native CI/CD. Manage apps, trigger builds, deploy pipelines, and check deployment status through any MCP-compatible AI assistant.

Features

  • App Management — list apps, get app details, browse environments
  • CI Pipelines — list CI pipelines, trigger builds
  • CD Deployments — trigger deployments, check status, view release history
  • Cluster Management — list and inspect Kubernetes clusters connected to Devtron

Tools

Tool Description
devtron_list_apps List all apps (optionally filter by team)
devtron_get_app Get details of a specific app
devtron_list_environments List environments for an app
devtron_get_deployment_status Check deployment status for an app+environment
devtron_get_release_history View release history for an app+environment
devtron_list_ci_pipelines List CI pipelines for an app
devtron_trigger_ci_build Trigger a CI build
devtron_trigger_deployment Trigger a CD deployment
devtron_check_deployment_status Poll deployment status after triggering
devtron_list_clusters List all clusters registered in Devtron
devtron_get_cluster Get details of a specific cluster

Requirements

  • Node.js 18+ or Bun
  • A running Devtron instance
  • Devtron API token (from Devtron → Global Configs → API Tokens)

Installation

npm install -g devtron-mcp-server

Or use directly with npx:

npx devtron-mcp-server

Configuration

Add to your MCP client settings (e.g. ~/.claude/settings.json, Cursor settings, etc.) under mcpServers:

"devtron": {
  "command": "npx",
  "args": ["-y", "devtron-mcp-server"],
  "env": {
    "DEVTRON_BASE_URL": "https://your-devtron-instance.example.com",
    "DEVTRON_API_TOKEN": "your-api-token-here"
  }
}

Getting your API Token

  1. Log into Devtron
  2. Go to Global Configs → API Tokens
  3. Create a new token with appropriate permissions
  4. Copy the token value

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
DEVTRON_BASE_URL=https://your-devtron.example.com \
DEVTRON_API_TOKEN=your-token \
npm run dev

API Compatibility

This server targets the Devtron orchestrator API (/orchestrator/api/v1). Verify endpoint paths match your Devtron version at {baseUrl}/orchestrator/swagger.

License

MIT

About

MCP server for Devtron — manage Kubernetes CI/CD pipelines, applications, and deployments via any MCP-compatible AI client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages