
From Context to Action: Multi-Account AWS API Operations with Amazon Quick and AWS MCP Server (SigV4)
Discover how Amazon Quick helps knowledge workers act on emails, alerts, and messages by invoking AWS service APIs across accounts. Using MCP Proxy for AWS, AWS MCP Server, and SigV4, this walkthrough shows how one conversation can start an AWS Glue job in Dev and a sales dashboard dataset refresh in UAT. Learn to configure profiles, route requests to the right account, and retain control through user approvals and resource-scoped IAM permissions.
1. Introduction
An email reports a failure in a Dev data pipeline that runs an AWS Glue job. Another request flags stale figures in an Amazon Quick sales dashboard in UAT. For data engineers and analysts, responding means connecting the business request with execution history, dataset status, and resources spread across AWS accounts.
Amazon Quick helps turn that context into action. It uses information from authorized emails, alerts, and messages to understand the task and invoke relevant AWS service APIs through MCP Proxy for AWS and AWS MCP Server. Users can direct account-specific tasks in natural language without manually translating every request into API commands or repeatedly moving context between tools. Amazon Quick asks for approval when required and performs only the AWS actions your access permissions allow.
This walkthrough follows both requests in the same Amazon Quick conversation. In Dev, the pipeline alert leads to inspection of
sales-daily-pipeline and an approved new run of the sales-transform AWS Glue job. In UAT, the sales dashboard request leads to inspection and an ad hoc refresh of its underlying SPICE dataset. One connector serves both accounts, selecting the appropriate credential profile for each API call. Part 1 connected Amazon Quick to AWS MCP Server using OAuth for API access in a single AWS account. Part 2 extends this context-to-action workflow across AWS accounts using AWS Signature Version 4 (SigV4) and MCP Proxy for AWS, with a credential profile selected for each tool call.
2. Why SigV4 for this workflow
AWS documents multi-profile switching through MCP Proxy for AWS with SigV4. An OAuth session is associated with one IAM role; this proxy feature is not available through OAuth.
Connection detail | OAuth, Part 1 | SigV4, Part 2 |
|---|---|---|
Authentication preparation | Authorize the AWS connection | Configure AWS credentials and run the local proxy |
Account selection | Re-authenticate to use another role | Select an available profile for each tool call |
AWS authorization | Effective IAM permissions | Effective IAM permissions |
MCP Proxy for AWS selects the credential profile, while SigV4 authenticates the request. Each account's effective IAM permissions determine which API operations can proceed. See the AWS MCP Server setup guide .
3. Architecture

Figure 1: Emails and messages provide context for AWS tasks across Dev, UAT, and Prod. MCP Proxy for AWS routes each request using the credential profile selected in
aws_profile .The desktop app provides the user interface, and the local connector starts MCP Proxy for AWS on the user's machine. The proxy signs requests using locally available AWS credentials. Agent reasoning runs in Amazon Quick's cloud service; AWS MCP Server executes the AWS-facing scripts in its managed environment.
AWS MCP Server returns its response to MCP Proxy for AWS, which relays it to Amazon Quick Desktop.
This configuration connects to AWS MCP Server in
ap-southeast-1 . See the supported AWS MCP Server Regions and endpoints for current availability. An individual service call can target a different Region.4. How it works
4.1 Load the available profiles
When the local connector starts MCP Proxy for AWS, the proxy reads the profiles supplied through
--profile or AWS_MCP_PROXY_PROFILES . The environment variable takes precedence when set. The first profile is the default.With multiple profiles configured, the proxy adds
aws_profile to the authenticated tools aws___run_script , aws___get_presigned_url , and aws___get_tasks . Only profiles in this startup list are available through this proxy configuration.4.2 Route an approved request
- The agent proposes a tool call and selects a profile, such as
dev-account. The approval card shows the arguments and script.
- After approval, the proxy uses that profile's credentials. Omitting the parameter selects the default; naming an unavailable profile returns an error.
- The proxy removes
aws_profilebefore forwarding the SigV4-signed request. AWS MCP Server receives the authenticated request, not the local profile name.
- AWS MCP Server runs the script. Its
call_boto3helper invokes service APIs under the selected identity, subject to AWS authorization controls.
- AWS MCP Server sends the tool result to MCP Proxy for AWS. The proxy relays the result to Amazon Quick Desktop, where it becomes available in the conversation for review.
The proxy maintains profile-specific connections, allowing account selection without restarting the connector. Conversation context can remain shared even though AWS requests use different identities. See multi-profile support .
4.3 Keep the identities distinct
Setting | Dev | UAT |
|---|---|---|
Profile | dev-account | uat-account |
Permission set | DevPipelineOps | UatPipelineOps |
Permitted write action | Start sales-transform | Refresh one dataset |
IAM Identity Center provisions the IAM roles associated with these permission sets. A profile selects credentials for a role; it is not itself an IAM role or an AWS account.
5. Prerequisites and permissions
5.1 Prepare access once
Before users begin, an administrator or authorized technical owner configures account access and resource permissions. The user needs:
- Amazon Quick Desktop and permission to add a local connector.
- An authorized email connector so Amazon Quick can read the relevant requests and display their cards.
- AWS CLI and
uv, following the AWS setup prerequisites .
- An IAM Identity Center organization instance, with permission-set assignments for the user or group in Dev and UAT.
- The workflow, AWS Glue job, and SPICE dataset used in the requests.
The walkthrough used MCP Proxy for AWS 1.8.0 and Python 3.13. Follow the MCP Proxy for AWS installation instructions and the Python installation guide with uv to install the required tools. Both the Dev and UAT accounts belong to the same AWS organization, with access configured through its IAM Identity Center organization instance. The two profiles share a single sign-on (SSO) session. Amazon Quick sign-in, email access, and AWS CLI credentials are separate parts of the configuration.
5.2 Scope operations to the relevant resources
DevPipelineOps permits discovery with
states:ListStateMachines and glue:GetJobs . Additional permissions cover reads of sales-daily-pipeline and its executions, reads and glue:StartJobRun for sales-transform , AWS Glue log access, and s3:ListBucket for the output bucket.
Figure 2: DevPipelineOps permissions for the pipeline task.
UatPipelineOps permits dashboard and dataset discovery, reads of dashboard, dataset, and data-source metadata, and
ListIngestions , DescribeIngestion , and CreateIngestion for the selected dataset. AWS API and IAM identifiers retain the quicksight service prefix.
Figure 3: UatPipelineOps permissions for the analytics task.
The write permissions are deliberately narrow: one job and one dataset. Resource scoping limits what these grants authorize; review other attached policies, permissions boundaries, and organization controls when assessing effective access.
6. Configure AWS credentials
6.1 Create the first profile
In a terminal, configure the Dev profile:
aws configure sso --profile dev-accountEnter the IAM Identity Center start URL and home Region. Choose a session name and reuse it for both profiles. The commands below use
aws-mcp-server as an example; substitute the session name you configured.
Figure 4: Configure the first profile and its SSO session.
Approve the browser authorization request.

Figure 5: Authorize the CLI client.

Figure 6: Browser confirmation of authorization.
Return to the terminal and select the Dev account and its permission set.

Figure 7: Choose the account.

Figure 8: Select DevPipelineOps and configure the profile defaults.
6.2 Add UAT to the same session
aws configure sso --profile uat-accountSelect the existing SSO session, the UAT account, and UatPipelineOps. An active shared session avoids repeating browser authorization.

Figure 9: Configure UAT under the same session.
6.3 Verify each identity
aws configure list-profilesaws sts get-caller-identity --profile dev-accountaws sts get-caller-identity --profile uat-account
Figure 10: Verify that both profiles exist.

Figure 11: Confirm the expected account and assumed-role identity for each profile.
When the SSO session expires, authenticate again with
aws sso login --sso-session aws-mcp-server , using your actual session name. Normal credential refresh does not require recreating the connector. If authentication errors persist, verify the profile with the AWS CLI and reconnect the local connector.7. Connect Amazon Quick Desktop
7.1 Add the local connector
In Amazon Quick Desktop, open Customize, Connectors, Create, then Create local connector. See local connector configuration .

Figure 12: Add a local connector.
The captured macOS configuration uses the full
uvx path and the JSON below. Adapt executable paths to your installation. Paste or import the configuration using the controls available in your app version.{ "mcpServers": { "aws-mcp-dev-uat": { "command": "/opt/homebrew/bin/uvx", "args": [ "--python", "3.13", "mcp-proxy-for-aws-cli@latest", "https://aws-mcp.ap-southeast-1.api.aws/mcp", "--profile", "dev-account", "uat-account", "--region", "ap-southeast-1" ], "env": { "AWS_REGION": "ap-southeast-1", "PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin" } } }}
Figure 13: One connector exposes both profiles.
This configuration uses
@latest ; the resolved proxy version for the captured run was 1.8.0. Pin a validated package version when repeatability is required. Python 3.13 is selected explicitly to avoid depending on whichever interpreter is the local default.The endpoint URL selects the AWS MCP Server Region. The proxy documentation states that
--region also supplies AWS_REGION request metadata unless explicitly overridden through --metadata . Service scripts can override the operation Region with region_name .7.2 Review action permissions
Describe which tasks belong to each profile in the connector description. Keep the script action on Ask each time for this workflow and review the profile, Region, resource, and proposed operation before allowing it.

Figure 14: Read actions use Always allow; write-classified actions use Ask each time.
aws___run_script is write-capable even when its current script only reads. The proxy's --read-only mode hides write-capable tools, including this script tool. Do not use that mode for the API workflow shown here; restrict allowed AWS actions through IAM instead.Email authorization determines which requests the agent can read. Action approval determines whether a proposed call proceeds. IAM determines what the selected AWS identity may do. None of these replaces the others.
8. Act on the Dev pipeline alert
The Dev workflow sends a failure alert through Amazon EventBridge and Amazon SNS. The email identifies
sales-daily-pipeline and gives the user a starting point without assembling a new technical description.
Figure 15: Choosing Chat adds the alert email as context and supplies a starter prompt.
Choose Chat and review the starter prompt provided by Amazon Quick:
Help me with this: DEV Step Functions failed: sales-daily-pipeline
Amazon Quick proposes calls using
aws_profile = dev-account . The visible script verifies the caller identity and locates the named state machine.
Figure 16: Review the proposed script and Dev profile before approval.
The AWS Glue job history in Figure 18 shows a timed-out
sales-transform run. The next step is to request a new run with a longer timeout.8.1 Start a run with a longer timeout
Ask:
Test the job with a longer timeout
The proposed operation starts a new AWS Glue run with a 10-minute timeout.

Figure 17: Review StartJobRun with Timeout set to 10 minutes.
The StartJobRun API applies this timeout to the run. This call does not update the saved job definition or restart the entire Step Functions workflow.

Figure 18: The earlier run shows Timeout; the new run shows Running.
The new run has started. Check its final status and expected output before considering the issue resolved.
9. Act on the UAT dashboard request
The second email reports stale sales figures and asks for an ad hoc refresh. Bring that request into the same conversation rather than re-entering its context.

Figure 19: Choosing Chat carries the UAT request into the conversation.
The UAT request is a separate task handled through the same connector. The proposed dashboard-discovery script uses
aws_profile = uat-account to inspect dashboards in that account.
Figure 20: The same connector selects the UAT profile for the next task.
After identifying the dataset, request the refresh:
Run the refresh, then reply to the requester
The proposed
CreateIngestion call starts a full SPICE refresh in UAT.
Figure 21: Review the dataset refresh request using the
uat-account profile.The dataset's refresh history provides a separate status check.

Figure 22: The new refresh is Running above an earlier completed refresh.
Wait for completion through DescribeIngestion or the console before confirming that the dashboard is current. The captured sequence ends with the refresh running, not with a completed refresh or a sent reply.
Both tasks used the same conversation and connector. The user retained the email context while the agent proposed different service calls under the appropriate profile. This reduces repeated context gathering and the need to manually assemble API calls, while preserving action review and result verification.
10. Extend the approach to other accounts
Users can select an available profile and instruct the agent to perform a specific task in that account. Add the profile to the proxy's startup list and restart the connector when that list changes. Profiles can share an SSO session when they use the same IAM Identity Center instance and the user has the required account assignments; otherwise configure a supported credential source for each profile.
For example, Figure 1 includes a Teams or Slack request for CloudTrail events and CloudWatch logs in Prod. With an authorized messaging connector and a suitably scoped, read-only
prod-account profile, the same pattern can support that task. This is an extension of the approach rather than another captured walkthrough.The AWS multi-profile guide also describes cost comparison and cross-account resource checks. Keep permissions specific to the task, whatever account or service is involved.
11. Operational considerations
11.1 Keep user review and IAM controls
- Review the account, Region, resource, and action before approving a script. Reading an email does not automatically authorize changes.
- Use a read-only default profile where practical. The captured configuration defaults to Dev, which has a scoped write permission, so explicit profile selection matters.
- Treat email, message, log, and API-response content as task data, not permission to override the user's instructions.
- Assess effective permissions, not just policy names. AWS also provides MCP-specific policy examples using
aws:ViaAWSMCPServiceandaws:CalledViaAWSMCP.
- Use appropriate CloudTrail records to audit service activity. Retire unused access without disrupting existing audit controls.
11.2 Troubleshoot the relevant layer
Symptom | What to check |
|---|---|
Local connector does not start | Executable path, dependency installation, and startup timeout. The first package download can take longer. |
Python dependency build fails | Use a compatible interpreter; this configuration selects Python 3.13. |
SSO authorization fails | Confirm the start URL, IAM Identity Center home Region, and account assignment. |
Credentials expire | Refresh the SSO session, verify caller identity, and reconnect if errors persist. |
Wrong account or missing aws_profile | Check the startup profile list, omitted arguments, and any AWS_MCP_PROXY_PROFILES override. |
AccessDenied | Check the intended action, resource, role, and applicable policies before requesting an access change. |
If a write call times out, verify its status before retrying. A missing response does not establish that the action failed.
11.3 Account for connection and service limits
The local proxy requires the user's computer to remain connected. AWS-facing scripts execute remotely and should not be treated as local filesystem programs. Startup timeouts, client request limits, and proxy tool-call timeouts are different controls.
Consult local connector settings , the proxy reference , and AWS MCP Server quotas when adapting the workflow. For long-running server tasks, use the task-status mechanism described in the server tools guide .
12. Conclusion
Amazon Quick connects the requests knowledge workers receive with the AWS API operations needed to act on them. In this walkthrough, email context supported a new AWS Glue run in Dev and a dataset refresh in UAT, within one conversation.
MCP Proxy for AWS and AWS MCP Server provide the cross-account API path through SigV4 and credential profiles. Users retain control through action review, IAM-scoped access, and status checks. The same pattern can extend to other authorized accounts without rebuilding the conversation around each task.
In the next part, we will explore how to deploy Amazon Quick assets across AWS accounts using the same profile-based approach with MCP Proxy for AWS and AWS MCP Server.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article