aws-bleed
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aws-bleedscan my AWS account for hidden costs and generate a Terraform fix patch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
aws-bleed
5-second read-only scan for expensive AWS hidden taxes: NAT Gateway traffic to S3/DynamoDB without free gateway endpoints, CloudWatch Logs with infinite retention, gp2 and orphaned EBS volumes, idle Elastic IPs, and stale snapshots, complete with USD/month estimates and a fix-bleed.tf Terraform patch.
Install
bunx aws-bleed
npx aws-bleed
# or install in your project / globally
bun add -d aws-bleed
npm i -D aws-bleedJSR:
bunx jsr add @kanchingyg/aws-bleed
npx jsr add @kanchingyg/aws-bleedgo install github.com/kanchingyg/aws-bleed@latestThe core engine is Go (main.go, internal/). TypeScript under src/*.ts is included for npx / bunx / JSR usage and MCP bridge helpers when no native binary is present.
Related MCP server: AWS Cost Saver
Quick start
npx aws-bleed
bunx aws-bleed
npx aws-bleed --patch fix-bleed.tf --allow-write
npx aws-bleed --mcpWhat you get
Finding | Fix in patch |
NAT in VPC without S3/DynamoDB gateway endpoints |
|
Log groups with |
|
|
|
| Comments + CLI cleanup hints |
MCP + local models
npx aws-bleed --mcp
bunx aws-bleed --mcpUse summarize_exec_report with --model ollama/llama3.2 (or any OpenAI-compatible local server) so cost data stays on your machine.
Requirements
Node 18+ or Bun for
npx/bunx, or Go 1.22+ for native CLIAWS credentials with read-only
Describe*/List*(no writes unless you pass--allow-writefor patch files)
MCP Tools Reference
Tool | Mutates | Description |
|
| Run read-only FinOps checks across NAT Gateways, VPC Gateway Endpoints, EBS volumes, Elastic IPs, snapshots, and CloudWatch Log Groups. |
|
| Render a |
|
| Write the generated FinOps patch file to disk inside the workspace (requires |
|
| Format a concise monthly waste report suitable for engineering review. |
Editor and Agent Integration
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"aws-bleed": {
"command": "npx",
"args": ["-y", "aws-bleed", "--mcp"]
}
}
}Claude Code CLI
claude mcp add aws-bleed -- npx -y aws-bleed --mcpProgrammatic Usage (JSR / TypeScript)
import * as bridge from "jsr:@kanchingyg/aws-bleed/bridge";Runtime Safety and Guardrails
Stdio frame isolation: When
--mcpis active,hijackStdoutForMcp()redirects accidentalconsole.logcalls tostderrso JSON-RPC 2.0 frames onstdoutnever corrupt.Read-only by default: Mutating tools (
mutates: true) are blocked in--dry-runmode and require explicit--allow-writeauthorization.Loop breaker: Repeated identical
(toolName, args)invocations are hashed with SHA-256 and halted after 3 consecutive repeats to prevent runaway agent loops.Context budget truncation: Tool outputs are middle-truncated (
60%head /40%tail) scaled to the probed local modeln_ctx(Ollama/api/show, llama.cpp/props, vLLM/v1/models).Secret redaction and path normalization: AWS keys (
AKIA*,ASIA*), bearer tokens, andsk-*keys are scrubbed before returning tool output, and Windows drive paths (C:\...) translate cleanly to/mnt/c/...when WSL mode is enabled.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
- ZopDev MCPOAuthdev.zop
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
AWS pricing and cost estimates with no signup, plus read-only idle-resource scans of your account.
AWS Cost Explorer cost, forecast, and anomaly reporting through user-connected IAM credentials.
Lowers your AWS bill by helping you clean up and optimize your setup
Related MCP Servers
- FlicenseDqualityDmaintenanceEnables read-only assessment of AWS environments by inventorying resources, running security and operational checks, and generating actionable reports with cost analysis. Designed for contractors with support for assume-role authentication using external IDs.10-
- AlicenseNot gradedqualityDmaintenanceEnables scanning AWS accounts for cost optimization opportunities by reading resource configurations and pricing data, without making any modifications.23MIT
- AlicenseAqualityAmaintenanceEnables AI agents to run read-only AWS security audits and receive normalized, severity-ranked findings about account posture, such as stale access keys, missing MFA, public buckets, open security groups, and CloudTrail coverage.11MIT
- AlicenseBqualityCmaintenanceEnables read-only scanning and graph mapping of a cloud estate, revealing public exposure, connectivity, firewall and NSG rules, identity permissions, and RBAC with cited evidence.16MIT