How to Set Up Claude Code with CircleCI MCP Server (Full Demo)

Jul 6, 2026

AI agents write code fast, but without a validation layer, fast just means faster bugs.

In this video, we connect Claude Code to the CircleCI MCP server so Claude can trigger pipelines, pull build failures into context, and iterate until everything is green.

No context switching. No copy-pasting logs.

0:00 Introduction

0:45 What you'll need

1:01 Creating a CircleCI API token

1:38 Setting your token as an environment variable

2:08 Adding the CircleCI MCP server to Claude Code

2:30 Verifying the MCP connection

3:10 Validating your CircleCI config

3:52 Diagnosing a failed build

4:15 Fixing tests & monitoring until the pipeline goes green

5:41 Next steps & CTA

Full tutorial (blog post): https://circle.ci/4wkM468
Create a free CircleCI account: https://circle.ci/4vRedlH