--- id: aws-devops-agent title: AWS DevOps Agent sidebar_label: AWS DevOps Agent description: Learn how to connect the AWS DevOps Agent MCP server to Sumo Logic so that DojoAI agents can use its tools. slug: /help/docs/integrations/outbound/integrations-via-mcp-server/aws-devops-agent/ canonical: https://www.sumologic.com/help/docs/integrations/outbound/integrations-via-mcp-server/aws-devops-agent/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; This page covers how to connect the AWS DevOps Agent MCP server to Sumo Logic. This is a different server from the general AWS MCP server, which has its own [AWS](/docs/integrations/outbound/integrations-via-mcp-server/aws/) page. For the general setup steps, see [Set up an integration via MCP](/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/). - The server gives access to one DevOps Agent Space: investigations, chats, backlog tasks, and recommendations. The server address includes the region of your Agent Space. - You sign in with an access token that you create in AWS. It is one shared identity, so everyone allowed to use the connection acts through the same token. - This server does not use OAuth sign in, so there is no OAuth app and no redirect URL to enter. ## Prerequisites Before you start, make sure you have: - An AWS account with access to the AWS DevOps Agent console and an Agent Space. - AWS permissions to manage access tokens: `aidevops:CreateAccessToken`, `aidevops:RevokeAccessToken`, and `aidevops:RotateAccessToken`. - The **Manage Integrations** permission, to add a server or connection. - The region of your Agent Space, for example `us-east-1`. ## Authentication method The AWS DevOps Agent MCP server supports one method. | Method | Who is signed in | What you set up on AWS | |:--|:--|:--| | Bearer token (personal access token) | One shared identity. | Turn on access tokens for the Agent Space and generate a token. | ## Vendor configuration ### Enable the access tokens for the Agent Space 1. Sign in to the AWS Management Console and open the AWS DevOps Agent console. 1. Choose your Agent Space. 1. Open the **Configuration** tab. In the **Access tokens** section, choose **Enable** and confirm. ### Generate the token 1. Open the DevOps Agent web app for your Agent Space. In the navigation menu, choose **Settings**, then **Access Tokens**. 1. Select **Generate token** and enter a name. 1. Select a scope: | Scope | Allows | |:--|:--| | `read` | View investigations, recommendations, chats, and Agent Space resources. Use this unless you need more. | | `operate` | Everything in `read`, plus sending messages, creating chats, and managing backlog tasks and recommendations. | 1. Set an expiration of 1 to 60 days. 1. Copy the token and store it safely. You cannot see it again. ## Connection setup in Sumo Logic ### Bearer token Follow the steps below to configure the connection: 1. [**New UI**](/docs/get-started/sumo-logic-ui). To access the integrations, in the main Sumo Logic menu select **App Catalog > Integrations > Outbound Integrations**. 1. Click the **AWS DevOps Agent** card. 1. Click **Connect** to open the **Connect AWS DevOps Agent MCP** configuration panel. 1. Enter the connection name, for example `AWS DevOps Agent`. 1. Select an AWS Region from the dropdown. :::info You can select only one region per MCP server, and the selected region applies to all its connections. To change the region, delete all existing connections or add a custom MCP server. ::: 1. Under **Authentication configuration**, select **Bearer Token**. 1. Enter the access token you [generated in AWS](#generate-the-token). 1. Click **Connect**. Sumo Logic checks the connection when you save. Responses can take 5 to 30 seconds the first time, and longer for chats. #### Keep the connection working - Tokens expire after 60 days at most, and there is no automatic renewal. Replace the token before it expires. Add a new connection with the new token, make it the default if needed, and then delete the old one. - Rotating a token in AWS gives a new value and starts a fresh chat history. The old value stops working immediately, so update Sumo Logic right away. - Revoke a token in AWS if it is exposed. Revoked tokens cannot be restored. - Each token is for one Agent Space. To use another Agent Space, create a separate token and a separate server. ## Troubleshoot | Symptom | What to check | |:--|:--| | Saving fails with an authentication error. | The token is wrong, expired, or revoked, or access tokens are not enabled on the Agent Space. | | Saving fails with a connection error. | Check the region in the server address matches the region of the Agent Space. | | Some actions fail with a permission error. | The token has the `read` scope. Create one with the `operate` scope if you need to send messages or manage tasks. | | It worked and then stopped. | The token expired or was rotated. |