Returns a list of all S3 buckets owned by the authenticated user
Returns up to 1,000 objects in a specified S3 bucket
Retrieves an object (document) from Amazon S3 by specifying the full key name
AWS S3 Access is a Model Context Protocol server that enables AI assistants to interact with Amazon S3 storage. It allows for listing buckets, browsing objects, and retrieving documents (currently supporting PDF files) directly from S3 buckets, making it easy to incorporate cloud-stored data into AI conversations. With this integration, AI assistants can access up to 1,000 objects from S3 buckets, providing a seamless way to work with documents stored in AWS cloud infrastructure. The server handles authentication through standard AWS credentials, making it a secure and efficient solution for organizations that rely on S3 for document storage.
To use the AWS S3 Access MCP server, you'll need to install it and configure your AWS credentials.
You can install the server using pip
:
pip install s3-mcp-server
Alternatively, you can install it using uv
:
uv pip install s3-mcp-server
Before using the server, you need to configure your AWS credentials:
~/.aws/credentials
and ~/.aws/config
%USERPROFILE%\.aws\credentials
and %USERPROFILE%\.aws\config
Ensure your credentials have appropriate READ/WRITE permissions for S3 buckets.
To use this MCP server with Claude Desktop, you need to update the Claude Desktop configuration file:
On MacOS:
Edit ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows:
Edit %APPDATA%/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"s3-mcp-server": {
"command": "uvx",
"args": [
"s3-mcp-server"
]
}
}
}
For development or custom installations, use:
{
"mcpServers": {
"s3-mcp-server": {
"command": "uv",
"args": [
"--directory",
"PATH_TO_YOUR_PROJECT_DIRECTORY",
"run",
"s3-mcp-server"
]
}
}
}
Replace PATH_TO_YOUR_PROJECT_DIRECTORY
with the actual path to your project directory.
Once installed and configured, you can use the AWS S3 Access server to interact with your S3 buckets. The server provides resources for retrieving PDF documents and tools for listing and accessing S3 objects.
To list all available buckets:
Use the ListBuckets tool to show me all my S3 buckets.
To list objects in a specific bucket:
Use the ListObjectsV2 tool to show me the contents of my "documents" bucket.
To retrieve and view a PDF document:
Use the GetObject tool to retrieve the file "reports/annual-2023.pdf" from my "company-docs" bucket.
If you encounter issues with the MCP server, you can use the MCP Inspector for debugging:
npx @modelcontextprotocol/inspector
npx @modelcontextprotocol/inspector uv --directory PATH_TO_YOUR_PROJECT_DIRECTORY run s3-mcp-server
The inspector will provide a URL that you can open in your browser to debug the server interactions.