aws-athena-mcp

by lishenxydlgzs
Verified

run_query

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

Input Schema

NameRequiredDescriptionDefault
databaseYesThe Athena database to query
maxRowsNoMaximum number of rows to return (default: 1000)
queryYesSQL query to execute
timeoutMsNoTimeout in milliseconds (default: 60000)

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "The Athena database to query", "type": "string" }, "maxRows": { "description": "Maximum number of rows to return (default: 1000)", "maximum": 10000, "minimum": 1, "type": "number" }, "query": { "description": "SQL query to execute", "type": "string" }, "timeoutMs": { "description": "Timeout in milliseconds (default: 60000)", "minimum": 1000, "type": "number" } }, "required": [ "database", "query" ], "type": "object" }

You must be authenticated.

Other Tools