Compatible with every major AI agent and IDE
What is the Amazon S3 Bucket MCP Server?
Grant your AI agent precise, scoped access to a single Amazon S3 bucket — no more, no less. Unlike full S3 access, this integration enforces the principle of least privilege: your agent can read, write, and manage objects exclusively within one pre-configured bucket.
What you can do
- Browse Objects — List and navigate files within the bucket using prefix and delimiter filters
- Read Data — Retrieve object contents or inspect metadata (headers, content type, size) without downloading
- Write Data — Upload string or JSON content as objects directly into the bucket
- Clean Up — Delete specific objects to maintain storage hygiene
- Audit Security — Inspect the bucket's access policy and ACL to ensure compliance
How it works
- Subscribe to this server
- Enter your AWS Access Key, Secret Key, Region, and the target Bucket Name
- Your agent operates exclusively within that bucket — no access to other buckets or account-level operations
Why single-bucket?
AI agents should follow the principle of least privilege. Granting full S3 access to an autonomous agent creates unnecessary blast radius. This server confines the agent to a single bucket, which means:
- No accidental bucket creation or deletion
- No cross-bucket data exposure
- Clearer audit trail for compliance
- Safer agent-to-agent delegation
Who is this for?
- AI Engineers — give each agent a dedicated data workspace without exposing your entire cloud storage
- Data Teams — let agents process, query, and write results to a specific data lake partition
- Platform Engineers — enforce tenant isolation by assigning one bucket per agent or workflow
- Security-Conscious Teams — minimize attack surface by scoping storage access to exactly what's needed
Built-in capabilities (7)
Delete an object
Get bucket ACL
Get bucket policy
Get object content
Get object metadata
Can be filtered by prefix and delimiter. List objects in the bucket
Upload an object
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Amazon S3 Bucket tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Amazon S3 Bucket without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Amazon S3 Bucket tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Amazon S3 Bucket in Mastra AI
Amazon S3 Bucket and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Amazon S3 Bucket to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Amazon S3 Bucket in Mastra AI
The Amazon S3 Bucket MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 7 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Amazon S3 Bucket for Mastra AI
Every tool call from Mastra AI to the Amazon S3 Bucket MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How is this different from the full Amazon S3 server?
The full Amazon S3 server gives the agent access to all buckets in your AWS account — it can list, create, and delete buckets. This server scopes the agent to a single, pre-configured bucket. The agent can only read, write, and manage objects within that bucket. This follows the principle of least privilege, which is critical for secure agent deployments.
How do I get my AWS Access Key and Secret Key?
Log in to the AWS Management Console, navigate to IAM (Identity and Access Management), and create a user with programmatic access. For this integration, we recommend a policy scoped to a single bucket (e.g., s3:GetObject, s3:PutObject, s3:DeleteObject, s3:ListBucket limited to your target bucket ARN).
Can I upload large files using this integration?
The put_object tool handles standard REST uploads and is best suited for small to medium-sized files or JSON data. For very large files, standard AWS tools utilizing Multipart Uploads are recommended.
Can my agent access multiple buckets?
Each instance of this server is scoped to exactly one bucket. If your agent needs access to multiple buckets, you can subscribe to this server multiple times — each with a different bucket configuration. This maintains strict isolation between data boundaries.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
ZoomInfo
8 toolsEquip your AI agent with direct access to ZoomInfo — search company and contact records, enrich lead data, and build prospect lists without opening the ZoomInfo platform.

ProTexting
12 toolsAutomate SMS marketing via ProTexting — manage campaigns, contacts, and keywords directly with AI.

IP2WHOIS
10 toolsLook up domain registration details, ownership information, and expiration dates with instant WHOIS queries at scale.

Checkbook.io
8 toolsManage digital and physical check payments via Checkbook — send money, track checks, and monitor invoices directly from any AI agent.
