Skip to main content
Glama
musaddiq-dev

io.github.musaddiq-dev/aws-cli-mcp-server

by musaddiq-dev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_REGIONNoDefault AWS regionus-east-1
AWS_PROFILENoAWS credentials profiledefault
AWS_MCP_LOG_LEVELNoApplication log levelINFO
AWS_MCP_WORKING_DIRNoWorking directory for file operations/tmp/aws-mcp-work
AWS_MCP_REQUIRE_CONFIRMATIONNoEmit warnings for destructive-looking operationstrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
call_awsA

Execute AWS CLI commands with validation and error handling.

This is the primary tool for executing AWS CLI commands. Use this when you know the specific AWS service and operation you want to perform.

Key points:

  • Commands MUST start with "aws" and follow AWS CLI syntax

  • Default region: us-east-1 (override with --region parameter)

  • Working directory: /tmp/aws-mcp-work

  • Use absolute paths for files

Command restrictions:

  • DO NOT use shell pipes (|), redirects (>, >>, <), or command substitution ($())

  • DO NOT use shell variables or environment variables

  • DO NOT use relative paths for file operations

Examples:

  • "aws ec2 describe-instances" - List EC2 instances

  • "aws s3 ls" - List S3 buckets

  • "aws lambda list-functions" - List Lambda functions

  • "aws iam list-users" - List IAM users

  • "aws cloudwatch describe-alarms" - List CloudWatch alarms

Returns: Dictionary with success status, output data, and error information

suggest_aws_commandsA

Suggest AWS CLI commands based on a natural language query.

Use this tool when you're unsure about the exact AWS CLI command syntax or want to explore available commands for a specific task.

Best practices for query formulation:

  1. Include the AWS service name (EC2, S3, Lambda, etc.)

  2. Describe the action you want to perform

  3. Include any relevant context or constraints

Query examples:

  • "List all running EC2 instances in us-east-1"

  • "Get the size of my S3 bucket named 'my-backup-bucket'"

  • "List all IAM users with AdministratorAccess policy"

  • "Show me all Lambda functions in my account"

  • "Create a new security group for SSH access"

Returns: Dictionary with success status, query, and list of suggested commands

get_aws_regionsA

Get a list of available AWS regions.

Returns: Dictionary with success status and list of AWS regions

get_caller_identityA

Get the AWS identity of the current caller.

Returns information about the IAM user or role whose credentials are used to call the operation.

Returns: Dictionary with success status and caller identity (Account, ARN, UserId)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/musaddiq-dev/aws-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server