Labsco
awslabs logo

AWS Documentation

βœ“ Officialβ˜… 9,400

from awslabs

Fetch, convert, and search AWS documentation pages, with recommendations for related content.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

AWS Documentation MCP Server

Model Context Protocol (MCP) server for AWS Documentation

This MCP server provides tools to access AWS documentation, search for content, and get recommendations.

Features

  • Read Documentation: Fetch and convert AWS documentation pages to markdown format

  • Search Documentation: Search AWS documentation using the official search API (global only)

  • Read Sections: Fetches sections of AWS documentation page and converts it to markdown format.

  • Recommendations: Get content recommendations for AWS documentation pages (global only)

  • Get Available Services List: Get a list of available AWS services in China regions (China only)

Environment Variables

Variable Description Default FASTMCP_LOG_LEVEL Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) WARNING AWS_DOCUMENTATION_PARTITION AWS partition (aws or aws-cn) aws MCP_USER_AGENT Custom User-Agent string for HTTP requests Chrome-based default

Corporate Network Support

For corporate environments with proxy servers or firewalls that block certain User-Agent strings:

Copy & paste β€” that's it
{
 "env": {
 "MCP_USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
 }
}

Tools

read_documentation

Fetches an AWS documentation page and converts it to markdown format.

Copy & paste β€” that's it
read_documentation(url: str) -> str

search_documentation (global only)

Searches AWS documentation using the official AWS Documentation Search API.

Copy & paste β€” that's it
search_documentation(ctx: Context, search_phrase: str, limit: int, product_types: Optional[List[str]], guide_types: Optional[List[str]]) -> SearchResponse

read_sections (global only)

Fetches sections of AWS documentation page and converts it to markdown format.

Copy & paste β€” that's it
read_sections(url: str, section: list[str]) -> list[dict]

recommend (global only)

Gets content recommendations for an AWS documentation page.

Copy & paste β€” that's it
recommend(url: str) -> list[dict]

get_available_services (China only)

Gets a list of available AWS services in China regions.

Copy & paste β€” that's it
get_available_services() -> str

Development

For getting started with development on the AWS Documentation MCP server, please refer to the awslabs/mcp DEVELOPER_GUIDE first. Everything below this is specific to AWS Documentation MCP Server development.

Running tests

Unit tests: uv run --frozen pytest --cov --cov-branch --cov-report=term-missing Unit tests with integration tests: uv run --frozen pytest --cov --cov-branch --cov-report=term-missing --run-live