
colemurray/aws-athena-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
FastMCP를 사용하는 AWS Athena MCP
개요
AWS Athena 통합을 위한 간단하고 청결한 MCP (모델 Context Protocol) 서버. SQL 쿼리를 실행하고 스키마를 발견하고 표준화 된 인터페이스를 통해 쿼리 실행을 관리합니다. - - 5 분 미만에서 실행 - 모듈, 잘 테스트, 이해하기 쉬운 - - Query 실행 및 스키마 발견 - - 전체 유형 힌트 및 Pydantic 모델 - - - async/await와 함께 성능에 내장 - 최소 구성 상자에서 작동 그게 다야! 서버는 이제 실행되고 MCP 연결을 수락 할 준비가되어 있습니다. Claude 데스크톱이 MCP 서버를 사용하려면: Claude Desktop을 다운로드하고 설치하십시오. claude desktop config.json에 다음 구성을 추가하십시오. - : ~/Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json 가장 일반적인 MCP 설정 패턴에 대한 옵션 1 (uvx)를 사용하십시오. Option 2 (설치 도구)는 각 시작에 패키지 해상도를 피하기 때문에 더 나은 성능을 제공합니다.
개요(AI 번역)
AWS Athena 통합을 위한 간단하고 청결한 MCP (모델 Context Protocol) 서버. SQL 쿼리를 실행하고 스키마를 발견하고 표준화 된 인터페이스를 통해 쿼리 실행을 관리합니다.
✨ 특징
- Simple Setup - 5 분 이내에 실행
- ** 클린 아키텍처 ** - 모듈, 잘 테스트, 쉽게 이해 -Essential Tools - Query 실행 및 스키마 발견
- Type Safe - 전체 유형 힌트 및 Pydantic 모델
- Async Support - async/await로 성능 내장
- Good Defaults - 최소 설정으로 상자에서 작동
⭐ 빠른 시작
##1. 설치
##2. 구성
필요한 환경 변수를 설정:
##3. 실행
그게 다야! 서버는 이제 실행되고 MCP 연결을 수락 할 준비가되어 있습니다.
. Claude 데스크탑 통합
Claude 데스크톱이 MCP 서버를 사용하려면:
##1. Claude 데스크탑 설치 Claude Desktop을 다운로드하고 설치하십시오.
##2. Claude 데스크탑 구성
다음 구성을 claude_desktop_config.json에 추가하십시오:
** 설정 파일의 위치:**
-macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- 윈도우:
%APPDATA%\Claude\claude_desktop_config.json
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
AWS Athena MCP Server
A simple, clean MCP (Model Context Protocol) server for AWS Athena integration. Execute SQL queries, discover schemas, and manage query executions through a standardized interface.
✨ Features
- Simple Setup - Get running in under 5 minutes
- Clean Architecture - Modular, well-tested, easy to understand
- Essential Tools - Query execution and schema discovery
- Type Safe - Full type hints and Pydantic models
- Async Support - Built for performance with async/await
- Good Defaults - Works out of the box with minimal configuration
🚀 Quick Start
1. Install
# From PyPI with uv (recommended for Claude Desktop)
uv tool install aws-athena-mcp
# From PyPI with pip
pip install aws-athena-mcp
# Or from source
git clone https://github.com/ColeMurray/aws-athena-mcp
cd aws-athena-mcp
pip install -e .
2. Configure
Set the required environment variables:
# Required
export ATHENA_S3_OUTPUT_LOCATION=s3://your-bucket/athena-results/
# Optional (with defaults)
export AWS_REGION=us-east-1
export ATHENA_WORKGROUP=primary
export ATHENA_TIMEOUT_SECONDS=60
3. Run
# Start the MCP server (if installed with uv tool install)
aws-athena-mcp
# Or run directly with uv (without installing)
uv tool run aws-athena-mcp
# Or run directly with uvx (without installing)
uvx aws-athena-mcp
# Or run directly with Python
python -m athena_mcp.server
That’s it! The server is now running and ready to accept MCP connections.
🤖 Claude Desktop Integration
To use this MCP server with Claude Desktop:
1. Install Claude Desktop
Download and install Claude Desktop if you haven’t already.
2. Configure Claude Desktop
Add the following configuration to your claude_desktop_config.json:
Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Configuration (Option 1 - Using uvx - Recommended):
{
"mcpServers": {
"aws-athena-mcp": {
"command": "uvx",
"args": [
"aws-athena-mcp"
],
"env": {
"ATHENA_S3_OUTPUT_LOCATION": "s3://your-bucket/athena-results/",
"AWS_REGION": "us-east-1",
"ATHENA_WORKGROUP": "primary",
"ATHENA_TIMEOUT_SECONDS": "60"
}
}
}
}
Configuration (Option 2 - Using installed tool):
{
"mcpServers": {
"aws-athena-mcp": {
"command": "aws-athena-mcp",
"env": {
"ATHENA_S3_OUTPUT_LOCATION": "s3://your-bucket/athena-results/",
"AWS_REGION": "us-east-1",
"ATHENA_WORKGROUP": "primary",
"ATHENA_TIMEOUT_SECONDS": "60"
}
}
}
}
Configuration (Option 3 - Using uv tool run):
{
"mcpServers": {
"aws-athena-mcp": {
"command": "uv",
"args": [
"tool",
"run",
"aws-athena-mcp"
],
"env": {
설치
uvx aws-athena-mcp설정
{
"mcpServers": {
"aws-athena-mcp": {
"command": "uvx",
"args": [
"aws-athena-mcp"
],
"env": {
"ATHENA_S3_OUTPUT_LOCATION": "s3://your-bucket/athena-results/",
"AWS_REGION": "us-east-1",
"ATHENA_WORKGROUP": "primary",
"ATHENA_TIMEOUT_SECONDS": "60"
}
}
}
}