(or any AI agent)
An MCP server that sits between your AI agent and AWS STS, issuing temporary credentials scoped to specific AWS services and access levels on demand.
Timebound-IAM is an MCP Server that issues short-lived, service-scoped AWS credentials via STS AssumeRole so that AI coding agents (like Claude Code) can access AWS resources without long-lived keys. Credentials are time-bounded (15 minutes to 12 hours), scoped to specific services and access levels (read-only or full), and automatically cleaned up on expiry.
-
Homebrew (macOS/Linux)
brew install builder-magic/tap/timebound-iam
-
Go install
go install github.com/builder-magic/timebound-iam@latest
-
Binary download — Download pre-built binaries from GitHub Releases.
For the complete installation and setup guide, see https://timebound-iam.com/installation-and-setup.
-
Configure AWS
Run the setup wizard to generate the IAM trust policy and inline policy for the broker role:
bin/timebound-iam setup aws # or specify a named profile bin/timebound-iam setup aws --profile my-profileFollow the printed instructions to create the
timebound-iam-brokerIAM role in your account with the generated policies. -
Add to Claude Code
Register the MCP server so Claude Code can request temporary credentials on demand:
claude mcp add --scope user timebound-iam -- timebound-iam serve
Restart Claude Code to pick up the new server.
-
Verify
Verify that the MCP server is installed and running with the
/mcpcommand:Test the credential flow end-to-end:
timebound-iam testThis requests short-lived S3 read-only credentials and writes them to a temporary
.envfile you can use to verify access.
Contributions in any form (suggestions, bug reports, pull requests, and feedback) are welcome. If you've found a bug, you can submit an issue or email me at rsingh@builder-magic.com.
This project is licensed under the Apache License, Version 2.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed under the Apache License, Version 2.0, without any additional terms or conditions.
Contact: rsingh@builder-magic.com


