
AWS Documentation MCP Server
MCPAWS 官方:搜索并读取 AWS 官方文档,转成 Markdown 供 agent 引用,还能获取相关页面推荐,也可切换到中国区文档。不需要配置 AWS 凭证,需要 uv。
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.
- Search Table: Filter and search rows in large documentation tables (e.g., service quotas, pricing) without reading the full page (global only)
- 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)
Prerequisites
Installation Requirements
- Install
uvfrom Astral or the GitHub README - Install Python 3.10 or newer using
uv python install 3.10(or a more recent version)
Installation
| Kiro | Cursor | VS Code |
|---|---|---|
Configure the MCP server in your MCP client configuration:
{
"mcpServers": {
"awslabs.aws-documentation-mcp-server": {
"command": "uvx",
"args": ["awslabs.aws-documentation-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_DOCUMENTATION_PARTITION": "aws",
"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"
},
"disabled": false,
"autoApprove": []
}
}
}
For Kiro MCP configuration, see the Kiro IDE documentation or the Kiro CLI documentation for details.
For global configuration, edit ~/.kiro/settings/mcp.json. For project-specific configuration, edit .kiro/settings/mcp.json in your project directory.
Windows Installation
For Windows users, the MCP server configuration format is slightly different:
{
"mcpServers": {
"awslabs.aws-documentation-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.aws-documentation-mcp-server@latest",
"awslabs.aws-documentation-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_DOCUMENTATION_PARTITION": "aws"
}
}
}
}
Note: Set
AWS_DOCUMENTATION_PARTITIONtoaws-cnto query AWS China documentation instead of global AWS documentation.Corporate Networks: If you're behind a corporate proxy or firewall that blocks certain User-Agent strings, set
MCP_USER_AGENTto match your browser's User-Agent to an allowable string.
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": []
}
}
}
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:
{
"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"
}
}
Basic Usage
Example:
- "look up documentation on S3 bucket naming rule. cite your sources"
- "recommend content for page https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html"

Tools
read_documentation
Fetches an AWS documentation page and converts it to markdown format.
read_documentation(url: str) -> str
search_documentation (global only)
Searches AWS documentation using the official AWS Documentation Search API.
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.
read_sections(url: str, section: list[str]) -> list[dict]
search_table (global only)
Searches for specific rows in large documentation tables (e.g., service quotas, pricing tables, supported models). More efficient than read_sections for pages with hundreds of table rows — returns matching rows as structured JSON instead of the full table.
search_table(url: str, section_title: Optional[str], query: str, max_rows: int = 20) -> SearchTableResponse
recommend (global only)
Gets content recommendations for an AWS documentation page.
recommend(url: str) -> list[dict]
get_available_services (China only)
Gets a list of available AWS services in China regions.
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
相關資源

Microsoft Learn MCP Server
MCP检索并读取 Microsoft Learn 官方文档与 Azure、.NET 等代码示例,减少 agent 给出过时的微软技术答案。微软官方维护,远程接入免费且无需密钥。
MicrosoftDocs/mcp2k
AWS CLI
CLIAWS 官方统一命令行,用一套命令管理 EC2、S3、IAM 等各项 AWS 服务,支持 --query(JMESPath)过滤与 JSON 输出,便于 agent 查询和变更云资源。使用前需用 aws configure 配置访问凭证。
aws/aws-cli17.4k
Agent Skills for AWS
SkillAWS 官方技能合集(Agent Toolkit for AWS):覆盖 IAM、CDK/CloudFormation、Serverless、容器、可观测性、成本管理与 Bedrock,另有按服务划分的专项技能。执行 AWS 操作需本地配置凭据。
aws/agent-toolkit-for-aws3.7k
Agent Plugins for AWS
PluginAWS Labs 官方插件市场:含 deploy-on-aws(架构推荐、成本估算与 IaC 部署)、aws-serverless、aws-amplify、databases-on-aws、sagemaker-ai 等插件。AWS 建议新项目优先用 Agent Toolkit for AWS。
awslabs/agent-plugins957
Amazon CloudWatch MCP Server
MCPAWS 官方:查询 CloudWatch 指标、告警与日志,分析日志异常模式并推荐告警配置,帮助 agent 做故障根因分析。需要 AWS 凭证。
awslabs/mcp10k
Amazon EKS MCP Server
MCPAWS 官方:创建与管理 EKS 集群,部署应用并增删改查 Kubernetes 资源,读取 Pod 日志与事件辅助排障。默认只读,写操作需加 --allow-write,读日志需加 --allow-sensitive-data-access。
awslabs/mcp10k