--- id: aws title: AWS sidebar_label: AWS description: Learn how to connect the AWS MCP server to Sumo Logic so that DojoAI agents can use AWS tools with your own AWS permissions. slug: /help/docs/integrations/outbound/integrations-via-mcp-server/aws/ canonical: https://www.sumologic.com/help/docs/integrations/outbound/integrations-via-mcp-server/aws/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; This page covers how to connect the AWS MCP server to Sumo Logic. For the general setup steps and the list of redirect URLs, see [Set up an integration via MCP](/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/). To connect the AWS DevOps Agent, see [AWS DevOps Agent](/docs/integrations/outbound/integrations-via-mcp-server/aws-devops-agent/). - You sign in with your own AWS identity, and the tools can only do what your AWS permissions allow. AWS MCP does not give anyone extra permissions. - The AWS MCP server supports automatic client registration, so you do not create an OAuth app and do not enter a client ID or secret. Sumo Logic registers itself with AWS Sign-in. - AWS Sign-in issues access tokens that last 1 hour and refreshes them automatically for up to 12 hours. After that, users need to connect again. ## Prerequisites Before you start, make sure you have: - An AWS account with an IAM identity that can sign in to the AWS MCP server. - The **Manage Integrations** permission, to add a server or connection. - An AWS administrator, to give each person who connects the sign-in permissions described below. ## Authentication method The AWS MCP server supports the following methods. | Method | Who is signed in | What you set up on AWS | |:--|:--|:--| | OAuth 2.0 (Authorization code) - Auto-register (Dynamic Client Registration) | Each user, with their own AWS identity. | No app, client ID or secret to create. An AWS administrator gives each user sign-in permissions through IAM. | ## Vendor configuration ### Give users permission to sign in Each person who connects needs permission to sign in to the AWS MCP server. Their IAM identity needs the `signin:AuthorizeOAuth2Access` and `signin:CreateOAuth2Token` permissions. The simplest way is to attach the AWS managed policy `AWSMCPSignInOAuthAccessPolicy`, for example: ```sh aws iam attach-role-policy --role-name MyRole --policy-arn arn:aws:iam::aws:policy/AWSMCPSignInOAuthAccessPolicy ``` Authorizing the app does not add permissions beyond what the person already has for each AWS service. ### Redirect URL You do not enter or allow the redirect URL anywhere in your AWS account. Sumo Logic sends it to AWS when it registers, using the redirect URL for your deployment from the [redirect URL table](/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/#redirect-callback-urls). AWS has already approved the Sumo Logic redirect URLs, and AWS keeps that list centrally, so there is no per-account setting to change. The one exception is an organization that limits where AWS may send tokens with the `signin:OAuthRedirectUri` IAM condition key. If your policies use it, your AWS administrator needs to also allow the Sumo Logic redirect URL for your deployment there. ## Connection setup in Sumo Logic ### OAuth 2.0 (Authorization code) - Auto-register (Dynamic Client Registration) Follow the steps below to add the server and connect: 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** card. To add the server as a custom server instead, see [Add a custom MCP server](/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/#add-a-custom-mcp-server) and enter `https://aws-mcp.us-east-1.api.aws/mcp` as the server URL. You can use the address of another AWS region instead. 1. Click **Connect** to open the **Connect AWS MCP** configuration panel. 1. Enter the connection name. 1. Under **Authentication configuration**, select **OAuth 2.0 (Authorization code)**. 1. Under **Authorization**, select **Auto-register (Dynamic Client Registration)**. The server automatically registers an OAuth app. No credentials needed. 1. Click **Connect**. 1. AWS Sign-in opens in the browser. Sign in with your AWS credentials. If you already have an active AWS Sign-in session, it may be reused. 1. Review the consent page that shows the app requesting access, and then authorize. You return to Sumo Logic and the server shows as connected. For a custom server, use **Discover** to find the endpoints from the server address. Registration then runs when you save. ## Troubleshoot | Symptom | What to check | |:--|:--| | Registration fails with `invalid_redirect_uri`. | AWS did not accept your deployment's redirect URL. You cannot fix this in your own AWS account, so contact Sumo Logic support. | | The sign in fails with a redirect error even though the permissions are right. | If your organization uses the `signin:OAuthRedirectUri` condition key in IAM policies, the Sumo Logic redirect URL for your deployment needs to be allowed there. | | The sign in is refused or the consent page does not appear. | Check the IAM identity has the `signin:AuthorizeOAuth2Access` and `signin:CreateOAuth2Token` permissions (the managed policy above). | | A tool says access denied. | The person's own AWS permissions do not allow that action. Authorizing the app does not add permissions. | | You are asked to connect again after several hours. | AWS refresh tokens last up to 12 hours. Connect again. | | The server cannot be reached. | Check the address, and that you are using the endpoint for a region AWS supports. |