Access the complete AWS documentation library directly from your IDE. Search across all AWS services, get code examples, and find best practices without leaving Google Antigravity.
## AWS Documentation MCP Server: Instant Access to AWS Knowledge The **AWS Documentation MCP Server** provides instant access to Amazon Web Services' comprehensive documentation library directly within Google Antigravity. No more switching between your IDE and browser tabs—get authoritative AWS information, code examples, and best practices exactly when you need them. ### Why AWS Documentation MCP? AWS offers over 200 cloud services, each with extensive documentation covering: - Service overviews and concepts - API references and SDKs - Best practices and architecture guides - Troubleshooting and FAQs - Code examples in multiple languages Navigating this vast knowledge base traditionally requires leaving your development environment, breaking your flow, and manually searching through documentation. The AWS Documentation MCP eliminates this friction. ### Key Features #### 1. Intelligent Documentation Search Search across all AWS documentation with natural language queries: ``` "How do I create an S3 bucket with versioning enabled?" "What are the IAM best practices for Lambda functions?" "Show me examples of DynamoDB queries in Python" ``` The MCP understands context and returns the most relevant documentation sections. #### 2. Service-Specific Deep Dives Get detailed information about any AWS service: - **Service Overview**: Understand what the service does and when to use it - **Core Concepts**: Learn the fundamental building blocks - **Pricing Information**: Understand cost implications - **Limits and Quotas**: Know the service boundaries - **Region Availability**: Check where services are available #### 3. Code Examples Library Access AWS's official code samples: - SDK examples in Python, JavaScript, Java, Go, and more - CloudFormation and CDK templates - CLI command examples - Terraform configurations - Complete working samples from AWS Code Library #### 4. Architecture Guidance Get architectural best practices: - Well-Architected Framework recommendations - Reference architectures for common patterns - Security and compliance guidelines - Performance optimization strategies - Cost optimization techniques #### 5. API Reference Access Instant access to API documentation: - Operation descriptions and parameters - Request/response formats - Error codes and handling - Rate limits and throttling information - Authentication requirements ### Configuration Add AWS Documentation MCP to your Antigravity configuration: ```json { "mcpServers": { "aws-docs": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-aws-docs"], "env": { "AWS_DOCS_CACHE_DIR": "~/.cache/aws-docs", "AWS_DOCS_OFFLINE_MODE": "false" } } } } ``` ### Use Cases for Development #### Learning New AWS Services When starting with a new AWS service: ``` "Explain AWS Step Functions and when to use them" "What's the difference between SQS and SNS?" "How does AWS Lambda cold start work?" ``` #### Implementing AWS Features During active development: ``` "Show me how to implement S3 event notifications to Lambda" "What parameters does the boto3 dynamodb.put_item accept?" "How do I configure ALB target groups for ECS services?" ``` #### Troubleshooting Issues When debugging problems: ``` "What does DynamoDB error ProvisionedThroughputExceededException mean?" "How do I debug Lambda timeout issues?" "Why is my IAM policy not allowing S3 access?" ``` #### Infrastructure as Code When writing IaC: ``` "Show me a CloudFormation template for a VPC with public and private subnets" "What are the required properties for an AWS::Lambda::Function resource?" "How do I reference Secrets Manager secrets in CDK?" ``` ### Supported Documentation Sources - **AWS Documentation**: All official service documentation - **AWS Code Examples**: GitHub repositories of working code - **AWS Blogs**: Technical blog posts and announcements - **AWS Well-Architected**: Framework documentation - **AWS Whitepapers**: In-depth technical guides - **AWS re:Post**: Community knowledge articles ### Integration with Development Workflow The AWS Documentation MCP enhances your workflow: 1. **Inline Assistance**: Get documentation without leaving your code 2. **Contextual Suggestions**: AI understands your codebase context 3. **Copy-Ready Examples**: Get code you can use immediately 4. **Cross-Reference**: Link related concepts and services 5. **Version Awareness**: Get documentation for specific service versions ### Best Practices 1. **Be Specific**: Include service names and version when asking 2. **Ask for Examples**: Request code samples for faster implementation 3. **Check Limits**: Always verify service quotas for production 4. **Security First**: Ask about IAM policies and security best practices 5. **Cost Awareness**: Query pricing before implementing expensive features ### Offline Mode For environments with limited connectivity: ```json { "env": { "AWS_DOCS_OFFLINE_MODE": "true", "AWS_DOCS_CACHE_DIR": "/path/to/cache" } } ``` The server will cache frequently accessed documentation for offline use. ### Advanced Features #### Service Comparison Compare AWS services: ``` "Compare ECS vs EKS for container orchestration" "When should I use Aurora vs RDS?" ``` #### Architecture Review Get architecture recommendations: ``` "Review my architecture for a serverless web application" "What AWS services should I use for a real-time data pipeline?" ``` #### Migration Guidance Plan migrations: ``` "How do I migrate from EC2 to Lambda?" "What's the path from self-managed Kubernetes to EKS?" ``` ### Getting Started 1. Add the MCP configuration to your Antigravity settings 2. Restart Google Antigravity 3. Start asking questions about AWS services 4. Get instant, authoritative answers from official documentation The AWS Documentation MCP transforms how you interact with AWS knowledge, bringing the entire AWS documentation library directly into your development workflow.
{
"mcpServers": {
"aws-docs": {
"env": {
"AWS_DOCS_CACHE_DIR": "~/.cache/aws-docs"
},
"args": [
"-y",
"@anthropic/mcp-server-aws-docs"
],
"command": "npx"
}
}
}AWS_DOCS_CACHE_DIR~/.cache/aws-docs