sample-mcp-server-s3

This sample MCP server is an implementation for retrieving PDF data from AWS S3. It exposes data through resources, specifically focusing on PDF documents. By configuring AWS credentials, it allows listing buckets and retrieving objects.

GitHub Stars

62

User Rating

Not Rated

Favorites

0

Views

41

Forks

15

Issues

8

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Python: 3.7 or higher
AWS CLI: Latest version

Installation Steps

1. Clone Repository

bash
git clone https://github.com/aws-samples/sample-mcp-server-s3.git
cd sample-mcp-server-s3

2. Install Dependencies

bash
pip install -r requirements.txt

3. Configure AWS Credentials

Obtain AWS access key ID, secret access key, and region from the AWS Management Console and configure credentials:
bash
aws configure

4. Start Server

bash
uv run s3-mcp-server

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Python version and reinstall dependencies. Issue: AWS authentication error Solution: Verify AWS CLI configuration and ensure appropriate permissions are granted.

Additional Resources