A simple implementation of an AWS CLI MCP server with read/write tools for executing AWS CLI commands
Project description
AWS CLI MCP Server
A simple implementation of an AWS CLI MCP server.
Overview
This MCP server provides a bridge to execute AWS CLI commands through two main tools:
- aws_cli_read: For read-only AWS operations (listing resources, describing configurations, etc.)
- aws_cli_write: For write operations (creating/modifying/deleting AWS resources, pricing queries)
Features
- Execute AWS CLI commands safely through MCP tools
- Separate read and write permissions for better security control
- Built-in timeout protection (5 minutes)
- Error handling and output capture
- Support for complex bash scripts and command consolidation
Usage
The server exposes two tools that can execute AWS CLI commands:
- Read Operations: Use
aws_cli_readfor queries and listing operations - Write Operations: Use
aws_cli_writefor modifications and resource management
Both tools require:
script: The AWS CLI command or bash script to executereasoning: Explanation for why the operation is needed
AWS SSO Configuration
To use this server with AWS IAM Identity Center (SSO), you'll need to configure your AWS CLI with SSO authentication first follow this guide.
Prerequisites
- Install the AWS CLI (version 2.22.0+ recommended)
- Have access to AWS IAM Identity Center through your organization
- Gather your SSO Start URL and SSO Region from your AWS access portal
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_cli_mcp_server-0.0.2.tar.gz.
File metadata
- Download URL: aws_cli_mcp_server-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d62a63366cb86ca1f9c3566156d39976fbd8f32f170ff5169799cb866043de2
|
|
| MD5 |
114cce634a5594dc371dc1e53d90a3db
|
|
| BLAKE2b-256 |
662c668e76d5f6c2ec26dd9627a803f3ee415ba5f0c3cdf3d0fadaf099a38938
|
File details
Details for the file aws_cli_mcp_server-0.0.2-py3-none-any.whl.
File metadata
- Download URL: aws_cli_mcp_server-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a580b54a55c3df0004b3efb23f911091ddeca0004211866880f6d17fe4ea1762
|
|
| MD5 |
42f7bb2ce511ebde38623ecbf426960a
|
|
| BLAKE2b-256 |
6295646b6f87e1882bd738fb3b16ad45243f1488bb9944aabf3181266f386c82
|