

# Using the AWS Assurance MCP server

With the AWS Assurance remote Model Context Protocol (MCP) server, your AI assistant or coding agent can work with your compliance data directly — listing frameworks, starting an assessment, or reading evidence from the tool you already use.

AWS hosts the server. You connect to it through a local proxy that signs each request with your AWS credentials, so a client can only do what your credentials already allow.

**Topics**
+ [Prerequisites](#mcp-server-prerequisites)
+ [Configuring your client](#mcp-server-configure)
+ [Installing the skill](#mcp-server-skill)
+ [Credentials](#mcp-server-credentials)
+ [Tools that change data](#mcp-server-write-tools)
+ [AWS Assurance skill](mcp-skill.md)
+ [Example workflows](mcp-examples.md)

## Prerequisites
<a name="mcp-server-prerequisites"></a>
+ An MCP client. Claude Desktop, Claude Code, Kiro, Codex, and Gemini CLI are all examples.
+  `uv`, which provides the `uvx` command used to run the proxy. See [Installing uv](https://docs.astral.sh/uv/getting-started/installation/) in the *uv documentation*.
+ AWS credentials on your machine. If you can run AWS CLI commands, you are ready.
+ Permissions for the AWS Assurance actions you intend to use. See [Actions](security-iam-service-with-iam.md#security-iam-service-with-iam-id-based-policies-actions).

## Configuring your client
<a name="mcp-server-configure"></a>

The MCP server endpoint is `https://assurance.{{region}}.api.aws/mcp`. Use the Region that holds the environments you want the client to see.

Add an `assurance` server to your client’s MCP configuration. For Claude Desktop, that file is `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, or `%APPDATA%\Claude\claude_desktop_config.json` on Windows.

```json
{
  "mcpServers": {
    "assurance": {
      "command": "uvx",
      "args": [
        "mcp-proxy-for-aws@latest",
        "https://assurance.us-west-2.api.aws/mcp",
        "--service",
        "assurance",
        "--region",
        "us-west-2"
      ],
      "env": {
        "AWS_REGION": "us-west-2"
      }
    }
  }
}
```

The example runs the latest version of `mcp-proxy-for-aws`. To pin a version, replace `latest` with the version number. Restart your client afterward, because clients read this file only at startup.

Any MCP client works. Only the location of the configuration file differs — copy the `assurance` object into your client’s equivalent unchanged.

## Installing the skill
<a name="mcp-server-skill"></a>

We strongly recommend installing the `assurance-compliance` skill alongside the server. The server gives your client the AWS Assurance tools. The skill tells it how to use them: which values to look up rather than guess, that assessments run asynchronously and must be polled, and how to read the findings and remediation tasks a run produces. Without it, a client can still call the tools, but it is more likely to call them in the wrong order or misreport a result.

Install it however your client loads skills, then see [AWS Assurance skill](mcp-skill.md) for the full content.

## Credentials
<a name="mcp-server-credentials"></a>

The proxy authenticates with IAM, resolving credentials the same way the AWS CLI does. Without any credential settings, it uses your `default` profile. The identity behind an MCP request is whatever `aws sts get-caller-identity` returns in the same environment.

To use a different profile, set `AWS_PROFILE` in the server’s `env` block.

```json
      "env": {
        "AWS_PROFILE": "my-compliance-profile",
        "AWS_REGION": "us-west-2"
      }
```

The profile must exist in your `~/.aws/config` or `~/.aws/credentials` file. See [Using named profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) in the *AWS Command Line Interface User Guide*. Profiles that assume a role or use IAM Identity Center also work, but sign in before starting your client.

**Note**  
Keep `--region` and `AWS_REGION` set to the same Region. A mismatch is a common cause of authentication failures.

## Tools that change data
<a name="mcp-server-write-tools"></a>

The AWS Assurance Model Context Protocol (MCP) server includes tools that change your compliance data, not only tools that read it. The following tools create, update, or delete data:
+ Projects – `CreateProject`, `UpdateProject`, `DeleteProject` 
+ Frameworks – `CreateFramework`, `UpdateFramework`, `PublishFramework`, `DeleteFramework`, `EnableFramework`, `DisableFramework` 
+ Controls and control groups – `CreateControl`, `UpdateControl`, `DeleteControl`, `CreateControlGroup`, `UpdateControlGroup`, `DeleteControlGroup` 
+ Assessments – `StartAssessment`, `UpdateAssessment` 
+ Evidence – `PutEvidence`, `DeleteEvidence` 
+ Tasks and comments – `UpdateTask`, `CreateComment`, `UpdateComment`, `DeleteComment` 

The `assurance-compliance` skill directs your client not to upload evidence on your behalf. To upload evidence, use the AWS CLI or the `PutEvidence` API operation yourself.

To limit a client to reading your compliance data, run the proxy with credentials whose permissions allow only the read actions.

The following example JSON policy grants only the `Get`, `List`, and `BatchGet` actions for AWS Assurance:

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AssuranceReadOnly",
      "Effect": "Allow",
      "Action": [
        "assurance:Get*",
        "assurance:List*",
        "assurance:BatchGet*"
      ],
      "Resource": "*"
    }
  ]
}
```