klang/claude-bedrock-setup
Quick and dirty way to set up Claude Code to use Bedrock as backend
stack: Shell
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~7.7k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
Copy this rig
# review before running: this installs third-party code $ claude mcp add mcp-obsidian -e OBSIDIAN_<redacted> -e OBSIDIAN_HOST=YOUR_OBSIDIAN_HOST -e OBSIDIAN_PORT=YOUR_OBSIDIAN_PORT -e OBSIDIAN_PROTOCOL=YOUR_OBSIDIAN_PROTOCOL -- uvx mcp-obsidian $ claude mcp add awslabs.aws-documentation-mcp-server -e AWS_DOCUMENTATION_PARTITION=YOUR_AWS_DOCUMENTATION_PARTITION -e FASTMCP_LOG_LEVEL=YOUR_FASTMCP_LOG_LEVEL -e MCP_USER_AGENT=YOUR_MCP_USER_AGENT -- uvx awslabs.aws-documentation-mcp-server@latest $ claude mcp add awslabs.aws-iac-mcp-server -- uvx awslabs.aws-iac-mcp-server $ claude mcp add context7 -e DEFAULT_MINIMUM_TOKENS=YOUR_DEFAULT_MINIMUM_TOKENS -- npx -y @upstash/context7-mcp $ npx degit klang/claude-bedrock-setup/project-isolated-configuration/.claude ./rig-claude-bedrock-setup # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add mcp-obsidian -e OBSIDIAN_<redacted> -e OBSIDIAN_HOST=YOUR_OBSIDIAN_HOST -e OBSIDIAN_PORT=YOUR_OBSIDIAN_PORT -e OBSIDIAN_PROTOCOL=YOUR_OBSIDIAN_PROTOCOL -- uvx mcp-obsidian $ claude mcp add awslabs.aws-documentation-mcp-server -e AWS_DOCUMENTATION_PARTITION=YOUR_AWS_DOCUMENTATION_PARTITION -e FASTMCP_LOG_LEVEL=YOUR_FASTMCP_LOG_LEVEL -e MCP_USER_AGENT=YOUR_MCP_USER_AGENT -- uvx awslabs.aws-documentation-mcp-server@latest $ claude mcp add awslabs.aws-iac-mcp-server -- uvx awslabs.aws-iac-mcp-server $ claude mcp add context7 -e DEFAULT_MINIMUM_TOKENS=YOUR_DEFAULT_MINIMUM_TOKENS -- npx -y @upstash/context7-mcp
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} MCP servers (4)
| server | source | est. tokens |
|---|---|---|
| mcp-obsidian env: OBSIDIAN_API_KEY, OBSIDIAN_HOST, OBSIDIAN_PORT, OBSIDIAN_PROTOCOL | pypi | 2.5k |
| AWS Documentation · "awslabs.aws-documentation-mcp-server" env: AWS_DOCUMENTATION_PARTITION, FASTMCP_LOG_LEVEL, MCP_USER_AGENT | pypi | 1.5k |
| awslabs.aws-iac-mcp-server | pypi | 2.5k |
| Context7 env: DEFAULT_MINIMUM_TOKENS | npm | 1.2k |
Plugins (1)
safety-net@cc-marketplace
Similar rigs
awsdataarchitect/kiro-best-practices
Kiro Best Practices Boilerplate
Automator 6.3k tok · · Q3
awsdataarchitect/ai-ppt-generator
Transform any document into professional presentations instantly using AWS Bedrock AI. Upload PDFs, get context-aware slides with RAG-powered intelligence. Leveraging S3 Vectors for 90% cost savings
Automator 8.5k tok · · Q3
raymondfesta/agentic-coding-best-practices
A collection of best practices for improving agentic coding accuracy through instructional docs — hooks, steering, and settings — translated into native formats for Claude Code, Cursor, Windsurf, and Kiro.
Automator 6.3k tok · · Q18
edbizarro/dotfiles
:skull: dotfiles! managed by GNU stow
Pragmatist 2.9k tok · · Q15