~ / rigs / klang / claude-bedrock-setup

klang/claude-bedrock-setup

Quick and dirty way to set up Claude Code to use Bedrock as backend

↗ GitHub ★ 3 no license updated 1mo ago personal setup Claude Code
stack: Shell
share on X
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
GUARDRAILS
1/5
No YOLO mode · details
Quality 15/100 Guardrails v2

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)

serversourceest. 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

copied ✓