AWS Builder Center
From Context to Action: Connect Amazon Quick to AWS MCP Server (Part 1: OAuth)

From Context to Action: Connect Amazon Quick to AWS MCP Server (Part 1: OAuth)

Amazon Quick and AWS MCP Server provide conversational access to AWS operations under the permissions of the authorized AWS identity. The examples cover event retrieval, dataset inspection, and a SOC app interface with GitHub and Jira context.

Sr Gen AI Architect , Amazon Quick

1. Introduction

Understanding an operational issue often requires more than checking a dashboard or reading a log. An email may explain a business concern, team messages may provide deployment context, and AWS logs may reveal what happened in the environment. Bringing these details together helps teams spend less time gathering information and more time deciding what to do next.
Amazon Quick can combine context from authorized email and messaging sources with AWS logs and resource information accessed through AWS MCP Server. Teams can use natural-language requests to investigate activity, understand dataset health, and prepare incident handoffs. Each source retains its own access controls, while AWS operations remain governed by the authorized identity's AWS Identity and Access Management (IAM) permissions and organization controls. See the  AWS OAuth authorization model .
This two-part series explores the connection options:
  • Part 1: OAuth. Sign in to Amazon Quick using Okta single sign-on (SSO), connect to AWS MCP Server, review CloudTrail activity, and inspect dashboard datasets. A security operations center (SOC) app example brings AWS events, GitHub context, and incident preparation into one view.
  • Part 2: SigV4. Explore AWS Signature Version 4 authentication for AWS MCP Server and the documented connection path using AWS credentials and named profiles.

2. What is AWS MCP Server

 AWS MCP Server  is an AWS-managed, remote Model Context Protocol (MCP) server. It gives compatible AI applications access to current AWS documentation, authenticated service APIs, and curated task guidance without requiring you to host the server.
Its  tools  support documentation search, regional-availability checks, and server-side Python scripts that combine AWS API calls and process their results. Documentation queries can run without authentication; account operations require an authorized AWS identity.
The managed service succeeds the older AWS Labs AWS API MCP Server. For existing installations, consult the  migration guide .

Figure 1: Single-customer-account architecture with AWS MCP Server in an AWS-managed account. The Amazon Quick boundary denotes subscription ownership, not service hosting. SAML sign-in and OAuth authorization are separate flows; API access follows the authorized role's permissions. Service icons illustrate possible authorized AWS resources.

3. Prerequisites and permissions

You need:
  • An AWS identity permitted to authorize OAuth and perform the intended service operations.
  • A non-production AWS account with resources to inspect, such as CloudTrail event history and a dashboard dataset.

3.1 Prepare the AWS identity

This environment uses an Okta-federated IAM role. Its Security Assertion Markup Language (SAML) trust relationship enables SSO; connector OAuth authorization is a separate step. Okta is specific to this walkthrough, not a general requirement for AWS MCP Server.
Federated IAM role trust policy

Figure 2: The existing SAML trust relationship.
The AWS managed policy  AWSMCPSignInOAuthAccessPolicy  grants the OAuth sign-in actions  signin:AuthorizeOAuth2Access  and  signin:CreateOAuth2Token . It does not grant access to service resources. Follow the  AWS prerequisite-permissions guidance  to configure it.
OAuth sign-in policy

Figure 3: OAuth sign-in permissions on the role.
Separate policies grant access to the AWS operations you intend to use. Scope these to the necessary actions and resources. The screenshot is an excerpt from one of several policies; its name does not establish read-only or least-privilege access.
Service permissions excerpt

Figure 4: A partial customer-managed policy covering Amazon CloudWatch and logs operations.

4. Connect Amazon Quick using OAuth

These steps follow the demonstrated Amazon Quick web experience; labels may vary by interface version. Refer to the  Amazon Quick MCP integration guide  and the  AWS MCP Server setup guide .

4.1 Sign in to Amazon Quick using Okta SSO

Open your organization's Amazon Quick application through Okta and complete single sign-on (SSO). Once Amazon Quick opens, check the profile menu to confirm the intended account and user. See the  Okta federation tutorial  for setup details.
Okta SSO sign-in for Amazon Quick

Figure 5: Sign in through Okta to access Amazon Quick.
This signs you in to Amazon Quick; you authorize the AWS MCP connection separately in step 4.5.

4.2 Open the MCP connector

In Amazon Quick, open Connectors, choose Create for your team, and select Model Context Protocol.
Model Context Protocol connector

Figure 6: The MCP connector in Amazon Quick.

4.3 Enter the connection details

Give the connection a descriptive name and enter a supported regional endpoint. This example uses:
https://aws-mcp.us-east-1.api.aws/mcp
Both Connection type and Auth connection type are set to Public network. Consult the  official endpoint list  for other Regions.
AWS MCP connection settings

Figure 7: Connection name, endpoint, and network settings.

4.4 Select OAuth authentication

Select User authentication. In the demonstrated creation screen, Default OAuth app is selected and no additional credentials are required. Choose Create and continue. This path does not require manually entering a client ID or secret.
OAuth authentication settings

Figure 8: User authentication with the default OAuth configuration.

4.5 Authorize the AWS session

AWS Sign-in opens Connect MCP Client to AWS MCP Server. Check the client callback URL and the account and role offered by the active session.
This establishes the AWS identity for the connection. Do not assume it is automatically the same as your Amazon Quick sign-in identity.
AWS Sign-in consent

Figure 9: Authorizing an active AWS session; identifying details are redacted.

4.6 Configure action approvals

The wizard separates write and read actions. The demonstrated write settings use Let users choose; Always ask is available for per-run approval.
Write action permissions

Figure 10: Write-classified actions include the script-execution tool.
Read action permissions

Figure 11: Read-classified tools include documentation and regional-information queries.

4.7 Complete setup

Complete the wizard's Publish step, then confirm that the connector is signed in and ready. Review the discovered actions before testing it.
Action approval and IAM authorization are different controls. Approving a script lets it proceed, but does not expand AWS permissions. The script tool is write-capable even when a particular script only reads data. AWS also provides  MCP-specific IAM condition keys  to restrict MCP-initiated operations separately from direct calls.

5. Inspect recent CloudTrail events

When troubleshooting an unexpected change, reviewing recent API activity helps an operator decide where to investigate next. Asking Amazon Quick brings that context into the conversation without manually assembling an event-history query.
Start with a read-only question, such as:
Show the 10 most recent AWS CloudTrail management events from the past seven days.
Amazon Quick requests approval to run a script. Expand the review form to inspect the proposed operation before choosing Allow.
CloudTrail action review

Figure 12: Review the proposed action before execution.
CloudTrail script review

Figure 13: The script requests CloudTrail events for a seven-day window.
The review form shows this code excerpt, using the managed sandbox's  call_boto3  helper. It is not a standalone local Boto3 script; response-processing code is omitted. Confirm the operation Region when reviewing the request.
import datetime

end_time = datetime.datetime.now(datetime.timezone.utc)
start_time = end_time - datetime.timedelta(days=7)

result = await call_boto3(
service_name="cloudtrail",
operation_name="LookupEvents",
params={
"StartTime": start_time.isoformat(),
"EndTime": end_time.isoformat(),
"MaxResults": 10,
},
)
The event summary gives the operator a starting point for tracing recent activity and selecting events for closer review.
CloudTrail event results

Figure 14: Returned event names and timestamps; only part of the table is visible.
This read-only lookup returns recent CloudTrail management events. See  LookupEvents  for supported event types and limits.

6. Inspect dashboard datasets and SPICE usage

When a dashboard appears out of date, dataset metadata helps distinguish a freshness issue from a reporting question. Bringing the source, ingestion status, row counts, and storage usage together helps an analyst decide whether to investigate the data pipeline, request a refresh, or review capacity.
With the Telecom-AnyCompany dashboard open, ask about its underlying dataset and data source. An adapted prompt is:
Identify this dashboard's datasets and data sources, SPICE or direct-query mode, latest ingestion status, row counts, and dataset SPICE usage. Use the relevant AWS APIs without starting a refresh.
AWS API and IAM identifiers retain the  quicksight  prefix. The accompanying policy allows  quicksight:Describe* ,  quicksight:List* ,  quicksight:Start* , and  quicksight:Search*  on  Resource: * .
Dataset inspection policy

Figure 15: The example policy is broader than the metadata reads required here.
Dashboard metadata request

Figure 16: The dashboard question and MCP action path.
Reviewing these details together helps narrow the next troubleshooting step before making changes.
Combined dataset results

Figure 17: Dataset metadata, ingestion history, and SPICE usage in one combined view.
This example inspects metadata; it does not trigger a refresh.
For implementation details, see the AWS references for  dataset metadata  and  ingestion status .

7. Bring the context into a SOC Command Center app

Security investigations often require moving between cloud events, application logs, repository changes, and incident records. A SOC Command Center built as an Amazon Quick app can bring these sources together, helping operators gather context and prepare a clearer handoff to the response team.
SOC app creation prompt

Figure 18: Creating the SOC Command Center app.
Each source supports a different part of the investigation:
  • AWS CloudTrail: Review API activity to identify events that need closer investigation.
  • Amazon CloudWatch Logs: Examine operational messages for context around an issue.
  • GitHub: Review commit messages and pull-request context for changes worth checking alongside the cloud activity.
  • Jira: Prepare an incident with the relevant event context so the receiving team has a starting point for triage.
Full SOC Command Center with GitHub and Jira

Figure 19: SOC Command Center with GitHub context and the Jira incident form.
GitHub context helps operators identify changes to investigate, while the Jira form lets them review the project, issue type, summary, and supporting log details before submission. Together, these capabilities can reduce context switching and repeated information gathering during an incident handoff.
The value is a shared investigation context, with operators deciding which evidence warrants action. This approach supports the review practices described in  AWS guidance on centralised logging and monitoring .

8. What this opens up

The same approach opens up possibilities such as resource inventory, deployment troubleshooting, dataset health checks, security-finding reviews, and explicitly approved operational changes. Separately connected business tools can add investigation context and incident reporting. Start with a defined task, minimal permissions, and a result that can be verified.

9. Current limitations

The following reflects AWS documentation reviewed on 21 October 2026:
  • OAuth sessions and profiles: The interactive flow uses one-hour access tokens with refresh supported for up to 12 hours. Each OAuth session is bound to a single IAM role; switching accounts requires re-authentication. Per-call profile switching requires SigV4 with MCP Proxy for AWS, as described in  multi-profile support . The SigV4 path also supports a session-default Region and read-only tool hiding. See  authentication setup . AWS also documents a separate  headless OAuth flow .
  • Scale: Sustained limits are 10 authenticated requests/second per account per Region and 5 unauthenticated requests/second per source IP per Region. The authenticated connection limit is 100 per account per Region; these limits are not adjustable. Separate active-session defaults are 180 per account and 90 per IAM user or role, per Region, and are adjustable. See  quotas .
  • Execution and storage: Scripts run remotely, not against your local filesystem. Ephemeral compute storage is retained for at most eight hours. Long-running scripts may return a task identifier that must be polled. See  server tools ,  migration guidance , and  storage limits .
  • Regional and client constraints: The MCP endpoint Region and the AWS operation Region are separate. Check  supported endpoints  and target-service availability. Separately, Amazon Quick currently documents a five-minute timeout for MCP operations. See  Amazon Quick MCP limitations .

10. Operational guardrails

Use a narrowly scoped role, review proposed changes, and verify the target account and Region. Treat logs, API responses, and repository text as data, not instructions. When access is no longer needed, revoke or remove the connection without disabling existing audit logging. The  AWS OAuth security guidance  covers access governance and revocation.
For a SOC app, validate connector access, data freshness, and severity rules before operational use. Keep incident submission subject to review and each external system's permissions.
AWS MCP Server has no additional service charge; underlying AWS resource and usage charges still apply. See  Agent Toolkit pricing .

11. Conclusion

Amazon Quick and AWS MCP Server provide conversational access to AWS operations under the permissions of the authorized AWS identity. The examples cover event retrieval, dataset inspection, and a SOC app interface with GitHub and Jira context. Keep action approvals, authorization, and result validation explicit when extending the approach.
Part 2 explores SigV4 authentication and the documented multi-profile connection path.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article