Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Codepipeline 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.

    4 stars
    TypeScript
    Updated May 14, 2025
    aws
    aws-codepipeline
    codepipline
    mcp-server

    Table of Contents

    • Features
    • Prerequisites
    • Installation
    • Usage
    • Build the project
    • Start the server
    • Integration with Windsurf
    • Setup Steps
    • Using with Cascade
    • MCP Tools
    • Core Pipeline Management
    • Pipeline Details and Metrics
    • Pipeline Actions and Integrations
    • Troubleshooting
    • Common Issues
    • Logs
    • Examples
    • Creating a Webhook for GitHub Integration
    • Getting Pipeline Metrics
    • License

    Table of Contents

    • Features
    • Prerequisites
    • Installation
    • Usage
    • Build the project
    • Start the server
    • Integration with Windsurf
    • Setup Steps
    • Using with Cascade
    • MCP Tools
    • Core Pipeline Management
    • Pipeline Details and Metrics
    • Pipeline Actions and Integrations
    • Troubleshooting
    • Common Issues
    • Logs
    • Examples
    • Creating a Webhook for GitHub Integration
    • Getting Pipeline Metrics
    • License

    Documentation

    MseeP.ai Security Assessment Badge

    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, CloudWatch, and IAM (for tagging)
    • Windsurf IDE with Cascade AI assistant

    Installation

    1. Clone this repository:

    bash
    git clone https://github.com/cuongdev/mcp-codepipeline-server.git
    cd mcp-codepipeline-server

    2. Install dependencies:

    bash
    npm install

    3. Create a .env file based on the .env.example template:

    bash
    cp .env.example .env

    4. Update the .env file with your AWS credentials and configuration:

    code
    AWS_REGION=us-east-1
    AWS_ACCESS_KEY_ID=your_access_key_id
    AWS_SECRET_ACCESS_KEY=your_secret_access_key
    PORT=3000

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

    Usage

    Build the project

    bash
    npm run build

    Start the server

    bash
    npm start

    For development with auto-restart:

    bash
    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:

    bash
    npm start

    2. Add the server configuration to your Windsurf MCP config file at ~/.codeium/windsurf/mcp_config.json:

    json
    {
       "mcpServers": {
        "codepipeline": {
          "command": "npx",
          "args": [
            "-y",
            "path/to/mcp-codepipeline-server/dist/index.js"
          ],
          "env": {
            "AWS_REGION": "us-east-1",
            "AWS_ACCESS_KEY_ID": "your_access_key_id",
            "AWS_SECRET_ACCESS_KEY": "your_secret_access_key"
          }
        }
      }
    }

    3. Create the directory if it doesn't exist:

    bash
    mkdir -p ~/.codeium/windsurf
    touch ~/.codeium/windsurf/mcp_config.json

    4. 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 pipelineexecutionId: Execution IDreason: 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 pipelineexecutionId: Execution ID
    get_pipeline_metricsGet performance metrics for a pipelinepipelineName: Name of the pipelineperiod: Optional metric period in secondsstartTime: Optional start time for metricsendTime: Optional end time for metrics

    Pipeline Actions and Integrations

    Tool NameDescriptionParameters
    approve_actionApprove or reject a manual approval actionpipelineName: Name of the pipelinestageName: Name of the stageactionName: Name of the actiontoken: Approval tokenapproved: Boolean indicating approval or rejectioncomments: Optional comments
    retry_stageRetry a failed stagepipelineName: Name of the pipelinestageName: Name of the stagepipelineExecutionId: Execution ID
    tag_pipeline_resourceAdd or update tags for a pipeline resourcepipelineName: Name of the pipelinetags: Array of key-value pairs for tagging
    create_pipeline_webhookCreate a webhook for a pipelinepipelineName: Name of the pipelinewebhookName: Name for the webhooktargetAction: Target action for the webhookauthentication: Authentication typeauthenticationConfiguration: Optional auth configfilters: 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:

    • Verify your AWS credentials in the .env file
    • Ensure your IAM user has the necessary permissions

    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:

    bash
    # Run with more verbose logging
    DEBUG=* npm start

    Examples

    Creating a Webhook for GitHub Integration

    json
    {
      "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

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

    License

    ISC

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScript·
      42
    • ME

      Metmuseum Mcp

      TypeScript·
      14
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScript·
      42
    • ME

      Metmuseum Mcp

      TypeScript·
      14
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k