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).
- Sign in to the AWS Management Console and open the AWS DevOps Agent console.
- Choose the Agent Space.
- Open the Configuration tab.
- In Access tokens, choose Enable and confirm.
Create a token
- Open the DevOps Agent web app for that Agent Space. From the navigation menu, choose Settings, then Access Tokens.
- Choose Generate token and enter a name.
- Choose a scope:
read— view investigations, recommendations, chats, and Agent Space resources.operate— everything inread, plus send messages, create chats, and manage backlog tasks and recommendations.
- Choose a client type. AWS defines
humanfor IDE, CLI, and other interactive tools, andagentfor autonomous integrations. - Set an expiration from 1 to 60 days.
- 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
- Go to MCP Servers → + Add MCP server, open the AWS DevOps Agent card with the Official badge, and click + Use.
- Set AWS Region to the Agent Space's Region, for example
us-east-1. The card defaults tous-east-1. - Keep API key. Paste
Bearerfollowed by the token. Willow sends that value as theAuthorizationheader. - 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.