AWS CodePipeline MCP Server

AWS CodePipeline MCP Server

mcp-codepipeline-server•bycuongdev

A Model Context Protocol server that provides tools for managing AWS CodePipeline pipelines, executions, approvals, metrics and webhooks.

License: ISC•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Lists pipelines and retrieves pipeline state, full definitions, executions and execution logs.
  • •Triggers, stops and retries pipeline executions or failed stages.
  • •Approves or rejects manual approval actions and tags pipeline resources.
  • •Creates pipeline webhooks and retrieves pipeline performance metrics.

BEST FOR

  • •Developers managing AWS CodePipeline pipelines through natural language in Windsurf.
  • •Teams that need to approve manual approvals, retry failed stages or trigger executions from an AI assistant.
  • •Reviewing pipeline execution logs and performance metrics.

ABOUT MCP-CODEPIPELINE-SERVER

AWS CodePipeline MCP Server is cataloged as an MCP server attributed to cuongdev. A Model Context Protocol server that provides tools for managing AWS CodePipeline pipelines, executions, approvals, metrics and webhooks. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for AWS CodePipeline MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which AWS authentication methods can the server use?

It can use an AWS profile, AWS SSO, static access keys, or an IAM role, falling back to the AWS SDK default credential provider chain when access keys are omitted.

What AWS permissions does the server need?

AWS credentials with permissions for CodePipeline and CloudWatch for reading metrics.

Can it create webhooks for GitHub integration?

Yes, the create_pipeline_webhook tool supports configuring a GitHub HMAC webhook with event filters.

Upstream README

View this exact version on GitHub

README.md · 3a66f3bee3d0 · Fetched 2026-11-13 10:33:28 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

AWS CodePipeline MCP Server

This is a Model Context Protocol (MCP) server that integrates with AWS CodePipeline, allowing you to manage your pipelines through Windsurf and Cascade. The server provides a standardized interface for interacting with AWS CodePipeline services.

Author: Cuong T Nguyen

Features

  • List all pipelines
  • Get pipeline state and detailed pipeline definitions
  • List pipeline executions
  • Approve or reject manual approval actions
  • Retry failed stages
  • Trigger pipeline executions
  • View pipeline execution logs
  • Stop pipeline executions
  • Tag pipeline resources
  • Create webhooks for automatic pipeline triggering
  • Get pipeline performance metrics

Prerequisites

  • Node.js (v14 or later)
  • AWS account with CodePipeline access
  • AWS credentials with permissions for CodePipeline and CloudWatch (read metrics)
  • Windsurf IDE with Cascade AI assistant

Installation

  1. Clone this repository:
git clone https://github.com/cuongdev/mcp-codepipeline-server.git
cd mcp-codepipeline-server
  1. Install dependencies:
npm install
  1. Create a .env file based on the .env.example template:
cp .env.example .env
  1. Update the .env file with your AWS configuration (see .env.example):
AWS_REGION=us-east-1
AWS_PROFILE=your-aws-profile

Note: For security, never commit your .env file to version control.

AWS authentication

You do not need long-lived access keys in .env. Pick one approach:

ApproachConfiguration
AWS profile (recommended for local dev)AWS_PROFILE=my-profile — uses ~/.aws/credentials / ~/.aws/config
AWS SSOaws configure sso then aws sso login --profile my-sso and set AWS_PROFILE=my-sso
Static keysSet AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (and AWS_SESSION_TOKEN for temporary creds)
IAM roleRun on EC2/ECS/Lambda/EKS with an attached role; set only AWS_REGION

If access keys are omitted, the AWS SDK uses its default credential provider chain.

Creating an AWS profile

A profile is a named entry in ~/.aws/credentials and ~/.aws/config. Set AWS_PROFILE to that name in .env or MCP config.

Option A: Access keys (IAM user)

Requires AWS CLI.

aws configure --profile codepipeline-dev

You will be prompted for:

PromptExample
AWS Access Key IDAKIA...
AWS Secret Access Key(secret)
Default region nameus-east-1
Default output formatjson

Then in .env:

AWS_REGION=us-east-1
AWS_PROFILE=codepipeline-dev

Option B: AWS SSO (IAM Identity Center)

aws configure sso --profile codepipeline-sso

Follow the prompts (SSO start URL, SSO region, account, role). Then log in before starting the MCP server:

aws sso login --profile codepipeline-sso

In .env:

AWS_REGION=us-east-1
AWS_PROFILE=codepipeline-sso

SSO sessions expire; run aws sso login again when you see credential errors.

Verify the profile

aws sts get-caller-identity --profile codepipeline-dev
aws codepipeline list-pipelines --region us-east-1 --profile codepipeline-dev

If both commands succeed, the MCP server can use the same AWS_PROFILE and AWS_REGION.

Files created (reference)

~/.aws/credentials:

[codepipeline-dev]
aws_access_key_id = AKIA...
aws_secret_access_key = ...

~/.aws/config:

[profile codepipeline-dev]
region = us-east-1
output = json

Usage

Build the project

npm run build

Start the server

npm start

For development with auto-restart:

npm run dev

Integration with Windsurf

This MCP server is designed to work with Windsurf, allowing Cascade to interact with AWS CodePipeline through natural language requests.

Setup Steps

  1. Make sure the server is running:
npm start
  1. Add the server configuration to your Windsurf MCP config file at ~/.codeium/windsurf/mcp_config.json:
{
   "mcpServers": {
    "codepipeline": {
      "command": "npx",
      "args": [
        "-y",
        "path/to/mcp-codepipeline-server/dist/index.js"
      ],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "your-aws-profile"
      }
    }
  }
}
  1. Create the directory if it doesn't exist:
mkdir -p ~/.codeium/windsurf
touch ~/.codeium/windsurf/mcp_config.json
  1. Restart Windsurf to load the new MCP server configuration

Using with Cascade

Once configured, you can interact with AWS CodePipeline using natural language in Windsurf. For example:

  • "List all my CodePipeline pipelines"
  • "Show me the current state of my 'production-deploy' pipeline"
  • "Trigger the 'test-build' pipeline"
  • "Get metrics for my 'data-processing' pipeline"
  • "Create a webhook for my 'frontend-deploy' pipeline"

Cascade will translate these requests into the appropriate MCP tool calls.

MCP Tools

Core Pipeline Management

Tool NameDescriptionParameters
list_pipelinesList all CodePipeline pipelinesNone
get_pipeline_stateGet the state of a specific pipelinepipelineName: Name of the pipeline
list_pipeline_executionsList executions for a specific pipelinepipelineName: Name of the pipeline
trigger_pipelineTrigger a pipeline executionpipelineName: Name of the pipeline
stop_pipeline_executionStop a pipeline executionpipelineName: Name of the pipeline
executionId: Execution ID
reason: Optional reason for stopping

Pipeline Details and Metrics

Tool NameDescriptionParameters
get_pipeline_detailsGet the full definition of a pipelinepipelineName: Name of the pipeline
get_pipeline_execution_logsGet logs for a pipeline executionpipelineName: Name of the pipeline
executionId: Execution ID
get_pipeline_metricsGet performance metrics for a pipelinepipelineName: Name of the pipeline
period: Optional metric period in seconds
startTime: Optional start time for metrics
endTime: Optional end time for metrics

Pipeline Actions and Integrations

Tool NameDescriptionParameters
approve_actionApprove or reject a manual approval actionpipelineName: Name of the pipeline
stageName: Name of the stage
actionName: Name of the action
token: Approval token
approved: Boolean indicating approval or rejection
comments: Optional comments
retry_stageRetry a failed stagepipelineName: Name of the pipeline
stageName: Name of the stage
pipelineExecutionId: Execution ID
tag_pipeline_resourceAdd or update tags for a pipeline resourcepipelineName: Name of the pipeline
tags: Array of key-value pairs for tagging
create_pipeline_webhookCreate a webhook for a pipelinepipelineName: Name of the pipeline
webhookName: Name for the webhook
targetAction: Target action for the webhook
authentication: Authentication type
authenticationConfiguration: Optional auth config
filters: Optional event filters

Troubleshooting

Common Issues

  1. Connection refused error:

    • Ensure the server is running on the specified port
    • Check if the port is blocked by a firewall
  2. AWS credential errors:

    • For profiles/SSO: run aws sso login --profile YOUR_PROFILE if needed, then set AWS_PROFILE
    • For static keys: verify AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in .env or MCP env
    • Ensure the principal has CodePipeline (and CloudWatch for metrics) permissions
    • Check server startup logs for AWS credentials: default provider chain vs static keys
  3. Windsurf not detecting the MCP server:

    • Check the mcp_config.json file format
    • Ensure the server URL is correct
    • Restart Windsurf after making changes

Logs

The server logs information to the console. Check these logs for troubleshooting:

# Run with more verbose logging
DEBUG=* npm start

Examples

Creating a Webhook for GitHub Integration

{
  "pipelineName": "my-pipeline",
  "webhookName": "github-webhook",
  "targetAction": "Source",
  "authentication": "GITHUB_HMAC",
  "authenticationConfiguration": {
    "SecretToken": "my-secret-token"
  },
  "filters": [
    {
      "jsonPath": "$.ref",
      "matchEquals": "refs/heads/main"
    }
  ]
}

Getting Pipeline Metrics

{
  "pipelineName": "my-pipeline",
  "period": 86400,
  "startTime": "2025-03-10T00:00:00Z",
  "endTime": "2025-03-17T23:59:59Z"
}

License

ISC

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for AWS CodePipeline MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-codepipeline-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps