MilkStraw MCP server
The MilkStraw MCP server lets AI apps that support the Model Context Protocol (MCP), such as Claude Code, Cursor, and ChatGPT, read your MilkStraw AI savings, bills, alerts, projects, and tasks. For example, your coding agent can find the tasks for a resource in your code and read their instructions.
Connect an app#
Add the server#
Add https://app.milkstraw.ai/mcp as a remote MCP server in your app. In Claude Code or Codex, run:
claude mcp add --transport http milkstraw https://app.milkstraw.ai/mcpcodex mcp add milkstraw --url https://app.milkstraw.ai/mcpSign in#
Start the sign-in from your app. In Claude Code, run /mcp and pick the server. In Codex, codex mcp add already starts the sign-in. Your browser opens MilkStraw AI. Sign in if you need to.
Allow access#
MilkStraw AI shows the app name. If you started this connection, click Allow access.
What you can ask#
- Savings: "How much did MilkStraw AI save us this month?"
- Bills: "Show our last three MilkStraw AI bills."
- Tasks: "Does MilkStraw AI have a task for the RDS instance in this Terraform file?"
- Fixes: "Apply the fix for task 42 to our Terraform code."
- History: "Before you delete this volume, read the history of its MilkStraw AI task."
- Alerts: "Which alerts do we have, and how do we fix them?"
Tools#
The tools follow your role in each organization. Your app sees only the tools that your roles allow, and it reads only the data that you can see in the app. The tools can't change your AWS resources or your MilkStraw AI settings.
| Tool | What it does | Roles |
|---|---|---|
whoami | Shows the account that you signed in with. | All roles |
list_organizations | Lists your organizations and your role in each. | All roles |
send_feedback | Sends feedback about the MCP server to our team. | All roles |
get_savings | Gets your savings, as the Savings page shows them. | All roles |
list_contracts | Lists the commitments on the Savings page. | All roles |
list_bills | Lists your bills, as Settings > Billing shows them. | Billing, Admin, Owner |
list_alerts | Lists the alerts on the Overview page and how to fix them. | Engineer, Admin, Owner |
list_projects | Lists the projects on the Overview page. | Engineer, Admin, Owner |
list_tasks | Lists tasks, with filters such as AWS account, Region, and resource. | Engineer, Admin, Owner |
get_task | Gets one task with its instructions, resource details, and activity. | Engineer, Admin, Owner |
Your app gets tasks only from the projects that you can open in the app. All your connected apps together can make 120 requests a minute.
Manage connected apps#
An app stays connected while you use it, even after you sign out of MilkStraw AI. A connection ends after 180 days without use.
To disconnect an app, open Settings > Security, find the app under Connected apps, and click Disconnect app, then Disconnect. The app must ask for your approval again before it can use MilkStraw tools.