aws-athena-mcp

by lishenxydlgzs
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_REGIONNoAWS region to use for Athena queriesAWS CLI default region
AWS_PROFILENoAWS profile name to use for credentialsdefault
MAX_RETRIESNoMaximum number of retry attempts for query status checks100
OUTPUT_S3_PATHYesS3 path where Athena query results will be stored (e.g., s3://your-bucket/athena-results/)
RETRY_DELAY_MSNoDelay between retry attempts in milliseconds500
QUERY_TIMEOUT_MSNoMaximum time to wait for query completion in milliseconds300000
AWS_ACCESS_KEY_IDNoAWS access key ID
AWS_SESSION_TOKENNoAWS session token
AWS_SECRET_ACCESS_KEYNoAWS secret access key

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
run_query

Execute a SQL query using AWS Athena. Returns full results if query completes before timeout, otherwise returns queryExecutionId.

get_result

Get results for a completed query. Returns error if query is still running.

get_status

Get the current status of a query execution