AWS Documentation Assistant
HTTP-SSESTDIOMCP server providing tools to access, search and get recommendations for AWS documentation.
MCP server providing tools to access, search and get recommendations for AWS documentation.
Model Context Protocol (MCP) server for AWS Documentation
This MCP server provides tools to access AWS documentation, search for content, and get recommendations.
uv
from Astral or the GitHub READMEuv python install 3.10
(or a more recent version)Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit ~/.aws/amazonq/mcp.json
):
{ "mcpServers": { "awslabs.aws-documentation-mcp-server": { "command": "uvx", "args": ["awslabs.aws-documentation-mcp-server@latest"], "env": { "FASTMCP_LOG_LEVEL": "ERROR", "AWS_DOCUMENTATION_PARTITION": "aws" }, "disabled": false, "autoApprove": [] } } }
Note: Set
AWS_DOCUMENTATION_PARTITION
toaws-cn
to query AWS China documentation instead of global AWS documentation.
or docker after a successful docker build -t mcp/aws-documentation .
:
{ "mcpServers": { "awslabs.aws-documentation-mcp-server": { "command": "docker", "args": [ "run", "--rm", "--interactive", "--env", "FASTMCP_LOG_LEVEL=ERROR", "--env", "AWS_DOCUMENTATION_PARTITION=aws", "mcp/aws-documentation:latest" ], "env": {}, "disabled": false, "autoApprove": [] } } }
Example:
Fetches an AWS documentation page and converts it to markdown format.
read_documentation(url: str) -> str
Searches AWS documentation using the official AWS Documentation Search API.
search_documentation(search_phrase: str, limit: int) -> list[dict]
Gets content recommendations for an AWS documentation page.
recommend(url: str) -> list[dict]
Gets a list of available AWS services in China regions.
get_available_services() -> str