Skip to main content

AWS DevOps Agent

AWS DevOps Agent's official MCP server lets agents investigate incidents, review recommendations, and chat with one Agent Space. The endpoint is https://connect.aidevops.{region}.api.aws/mcp over HTTP, where {region} is that Agent Space's Region. There is no sign-in. Willow sends an access token as Authorization: Bearer.

This is not the AWS MCP Server. That server calls AWS APIs in an account. This one talks only to AWS DevOps Agent.

Access tokens are off until an administrator enables them. A token works only for the Agent Space and Region it was created in. AWS also supports SigV4 through a local signing proxy. Willow does not sign requests, so use an access token.

Enable access tokens​

You need permission to manage access tokens (aidevops:CreateAccessToken, aidevops:RevokeAccessToken, and aidevops:RotateAccessToken).

  1. Sign in to the AWS Management Console and open the AWS DevOps Agent console.
  2. Choose the Agent Space.
  3. Open the Configuration tab.
  4. In Access tokens, choose Enable and confirm.

Create a token​

  1. Open the DevOps Agent web app for that Agent Space. From the navigation menu, choose Settings, then Access Tokens.
  2. Choose Generate token and enter a name.
  3. Choose a scope:
    • read — view investigations, recommendations, chats, and Agent Space resources.
    • operate — everything in read, plus send messages, create chats, and manage backlog tasks and recommendations.
  4. Choose a client type. AWS defines human for IDE, CLI, and other interactive tools, and agent for autonomous integrations.
  5. Set an expiration from 1 to 60 days.
  6. Copy the token. AWS shows it once.

An IP allowlist on the token is optional. When one is set, AWS rejects calls from every other address. Willow calls AWS from its gateway, so the allowlist has to include those addresses.

Connect in Willow​

  1. Go to MCP Servers → + Add MCP server, open the AWS DevOps Agent card with the Official badge, and click + Use.
  2. Set AWS Region to the Agent Space's Region, for example us-east-1. The card defaults to us-east-1.
  3. Keep API key. Paste Bearer followed by the token. Willow sends that value as the Authorization header.
  4. Click Check connection. Assign groups and Publish.

Each person pastes a token when they connect. Calls run with that token's scope. When a token expires or is rotated, paste the new value. AWS invalidates the previous value immediately, and a rotated token starts a new chat history on the remote server.

Troubleshooting​

HTTP 401, or "Missing or unsupported Authorization header"

The value is missing the Bearer prefix, or the token is invalid, expired, or revoked. Paste Bearer plus a current token from Settings → Access Tokens.

Connection refused

AWS Region does not match the Agent Space. Set it to the Region where that space was created. The URL is https://connect.aidevops.{region}.api.aws/mcp.

Access denied, and the token has an IP allowlist

The call came from an address the token does not allow. Update the allowlist, or create a token without one.

Additional Resources​