Omniscio

OmniscioGuidesAWS MCP

AWS MCP in Claude Code: current documentation, one server at a time

AWS is not one MCP server. It is a shelf of them under the awslabs name — documentation, API calls, infrastructure as code, pricing, support — plus a hosted server that needs no install at all.

The one to start with is the documentation server, because it needs no AWS credentials and pays off immediately: Claude reads the current AWS docs instead of reciting a version from its training. This page covers that server, the one-line command for it, and the hosted alternative.

Sources read November 25, 2026. By the Omniscio team. Updated .

What it gives Claude Code

awslabs describes the documentation server as tools to access AWS documentation, search for content and get recommendations, and lists its jobs as fetching and converting documentation pages to Markdown, searching the documentation, reading sections of a page, filtering rows in large tables, and recommending related content.

The tools are named for those jobs: read_documentation, search_documentation, read_sections, search_table and recommend. Searching, section reads, table search and recommendations are documented as global-only; the China partition gets get_available_services instead.

That makes the useful requests concrete: ask for the current S3 bucket naming rules and have it cite the page, ask what a service quota is without pasting a table, or ask it to read one section of a long guide rather than the whole page.

The same repository ships the servers that do touch your account — aws-api for API calls, aws-iac for infrastructure as code, aws-pricing, aws-support and more — and awslabs prints a claude mcp add line for each. Those need AWS credentials configured on the machine; the documentation server does not.

The command

First the prerequisite, because it is the thing that stops the server starting: install uv from Astral, and Python 3.10 or newer with uv python install 3.10.

Then, in your terminal rather than inside a session, from the project root — local scope binds the server to the project you are in:

claude mcp add aws-docs -- uvx awslabs.aws-documentation-mcp-server@latest

awslabs prints the same line without the double dash, as claude mcp add aws-docs uvx awslabs.aws-documentation-mcp-server@latest. The double dash separates Claude Code's own options from the command that runs the server: harmless when you pass none, required as soon as you do.

Passing an environment variable is where the double dash stops being optional, because --env is Claude Code's own flag and the value belongs to the server. Keep the server name out of the slot directly after --env: Claude Code reads a name there as another KEY=value pair and rejects it, which is why the name comes first in this line:

claude mcp add aws-docs --env FASTMCP_LOG_LEVEL=ERROR -- uvx awslabs.aws-documentation-mcp-server@latest

The hosted option is a different shape entirely, because there is nothing to run:

claude mcp add --transport http aws-knowledge https://knowledge-mcp.global.api.aws

awslabs describes that one as a remote, fully-managed server hosted by AWS that needs no setup, no infrastructure management and no credentials.

The .mcp.json block

The documentation server's entry, under the name the command above gives it — the server name is yours to choose, and the command, arguments and environment come from the block in awslabs' collection README, which also sets the partition and log level the one-line command leaves at their defaults:

{
  "mcpServers": {
    "aws-docs": {
      "command": "uvx",
      "args": ["awslabs.aws-documentation-mcp-server@latest"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_DOCUMENTATION_PARTITION": "aws"
      }
    }
  }
}

AWS_DOCUMENTATION_PARTITION takes aws or aws-cn, so a team working in the China partition sets it once here instead of describing it in every prompt. FASTMCP_LOG_LEVEL quiets the server's logging; awslabs' own configuration sets it to ERROR.

Behind a corporate proxy that filters on User-Agent, awslabs documents MCP_USER_AGENT as the override, set to a browser string the proxy allows.

The hosted server is the two-line entry, and it is the one to copy if you would rather not run a Python package on every machine:

{
  "mcpServers": {
    "aws-knowledge": {
      "type": "http",
      "url": "https://knowledge-mcp.global.api.aws"
    }
  }
}

Which scope to use

Local is the default: your configuration, this project only. Project scope writes .mcp.json at the repository root, and user scope makes the server available in every project.

The documentation server holds no secret, so project scope is a good default when the repository is AWS-shaped: the partition and the log level are the same for everyone, and a teammate who clones it gets the same answers. For a server that does carry credentials, keep it local or user, because a token in a committed file is a token everyone can read.

A project-scoped server is approved on first use, so a fresh clone shows it as pending until someone runs claude interactively.

The auth step

There is none for the documentation server. It reads public documentation, so there is no token, no sign-in and nothing to paste — which is also why it is a safe first server to add.

That changes for the account-facing servers in the same family, which act on your account: they use the AWS credentials the machine already has, and awslabs' setup step for them is to configure those credentials before adding the server.

Confirm it connected

claude mcp list
claude mcp get aws-docs

The list prints ✔ Connected, ! Needs authentication or ✘ Failed to connect beside the name, and claude mcp get aws-docs prints that server's details with an Issue: line when the connection failed.

Inside a session, /mcp shows each server's tool count: five in the global partition. In the China partition, four of the five are replaced by get_available_services. A connected server with no tools is a different problem from a server that never started, and the MCP errors guide covers both.

The first real check is a question with a citation in it: ask for the current S3 bucket naming rules and have Claude name the documentation page it read. A confident answer with no page behind it means the server is not the thing answering.

The failure people hit

The first run is the one that fails, and the cause is a download. awslabs notes that the first launch of a uvx server fetches the package, which can take longer than the client's startup timeout, so the server is slow once and fast afterwards. Run the command by hand in a terminal once so the download is cached, or add a "timeout" field to that server's configuration entry — in milliseconds, and values below 1000 are ignored.

If it never starts at all, check uvx before anything else. The server is a Python package that uvx runs, so the uvx on the path Claude Code uses is the one that decides whether it can start — and a session launched somewhere other than your terminal is not guaranteed to see the same uv.

The third is a partition mismatch: a team in the China partition needs AWS_DOCUMENTATION_PARTITION=aws-cn, and with the default it gets global documentation and global search.

The message each of these prints belongs to the MCP errors guide, and the add command's flags and scopes are covered in full in Add an MCP server to Claude Code.

Sources

Every line on this page rests on one of these. The date beside each one is the day we read it.

  • awslabs: AWS Documentation MCP Server, for the prerequisites, the tools and their global-only and China notes, the environment variables and the User-Agent override. Read November 25, 2026.
  • awslabs/mcp, for the Claude Code command list, the configuration block, the AWS Knowledge MCP Server entry and its no-credentials note, the managed-server description, and the first-launch download note. Read November 25, 2026.
  • Anthropic: Connect Claude Code to tools via MCP, for the local-server shape and the double dash, --env, the scope table and approval prompt, the health statuses and the per-server timeout field. Read November 25, 2026.

Common questions

What is the command to add AWS MCP to Claude Code?

For the documentation server: claude mcp add aws-docs -- uvx awslabs.aws-documentation-mcp-server@latest. The awslabs README prints the same line without the double dash, since nothing in it begins with a dash.

Do AWS MCP servers need AWS credentials?

The documentation server does not: it reads public AWS documentation. The hosted AWS Knowledge server needs no credentials either. Servers that call AWS APIs, such as aws-api and aws-iac, do need credentials configured on the machine.

What do I need installed for the AWS documentation server?

uv, from Astral, and Python 3.10 or newer. The server is published as a Python package that uvx runs, so if uvx is not on the path Claude Code uses, the server never starts.

Why did the AWS server fail to connect the first time?

The first launch of a uvx server downloads the package, and awslabs notes that this can exceed the default startup timeout. Raise that server's timeout field, or run the command by hand once in a terminal so the download is cached first.

What is the difference between the AWS documentation server and AWS Knowledge MCP?

Both answer AWS documentation questions. The documentation server runs on your machine through uvx; AWS Knowledge MCP is a remote server hosted by AWS at knowledge-mcp.global.api.aws, added with a URL and needing no setup or credentials.

Every session, one window

Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.