AI Dev Tools

MCP Tools from APIs: 300+ Destructive Risks

AI agents were supposed to plug-and-play with your APIs. This dev's MCP conversion reveals a nightmare: hundreds of unchecked delete buttons across Stripe, GitHub, and more.

Table showing destructive DELETE endpoints in MCP tools from Stripe, GitHub, Twilio and other APIs

Key Takeaways

  • 10 popular APIs yield 300+ destructive MCP endpoints with zero guardrails, risking data wipes from agent hallucinations.
  • Ruah conv automates safe MCP generation, filtering risks and slashing token bloat for faster agents.
  • API vendors must ship risk-tagged MCP tools—history shows broad perms lead to disasters.

Everyone figured AI agents would just… work with popular APIs. smoothly, right? Hand over Stripe keys, tell it to manage subscriptions, done. But nah—this guy’s conversion of 10 big-name APIs into MCP tools flips that script hard. Suddenly, you’re staring at 300-plus destructive endpoints, no guardrails in sight. Agents don’t distinguish ‘peek at data’ from ‘obliterate everything.’

Look.

Stripe alone coughs up 47 DELETE ops. GitHub? Another 47. That’s your production systems, folks, wired for full CRUD without a whisper of risk tags.

The Table That’ll Make You Sweat

He crunched the OpenAPI specs—public ones, mind you—and spat out this beauty:

API Destructive (DELETE)
Stripe 47
GitHub 47
Twilio 35
Slack 13
Notion 7

And so on, totaling over 300 landmines. No official MCP servers from any of ‘em. Devs are hand-rolling this mess, baking in auth nightmares and zero safety nets.

If you’re connecting them to AI agents without knowing which endpoints are destructive, you’re one hallucination away from a very bad day.

That’s the money quote. Dead on. I’ve seen devs chase hallucinations into oblivion before—remember the 2012 Knight Capital glitch? $440 million gone in 45 minutes from a rogue algo. History’s whispering: AI agents on raw APIs? Same vibe, turbocharged.

But here’s my unique take, one you won’t find in the original: this reeks of the early AWS days, circa 2008-2010. Back then, S3 buckets had god-mode perms by default. One scripting error, poof—your entire photo library or customer DB vanishes. No versioning, no undelete. AWS fixed it with IAM fine-grained policies years later. Fast-forward to MCP tools today: OpenAPI specs are the new ‘default god-mode.’ Agents get the full buffet, including the poison pills. Who’s learning? Not these API giants, apparently. Ruah-dev’s tool is a band-aid—welcome, but it’ll take vendor buy-in to kill the root rot.

Short version? You’re exposed.

Why Do These APIs Ship Destructive MCP Tools Without Labels?

Take Stripe. delete_customer. void_invoice. cancel_subscription. An agent tasked with ‘tidy up test accounts’—bam, live subs evaporate. GitHub’s delete_repository or delete_org? ‘Reorganize the team repos,’ you say? Kiss your codebase goodbye.

Shopify’s admin API? 55-plus nukes for products, orders, customer data. Twilio releases phone numbers on a whim. Discord, SendGrid, PagerDuty—all packing heat.

The specs don’t care. GET is safe, sure. But POST/PATCH? Moderate risk, maybe mutates. DELETE? Pure destruction. Patterns like /cancel, /revoke scream danger, yet agents treat ‘em like list_customers. No human in the loop unless you force it.

And the token bloat—Christ. 314 Stripe tools? 60k-150k tokens just for descriptions. Perplexity’s CTO nailed it: eats half your context window before the agent’s even thinking. Filter or die trying.

This isn’t hype. It’s a production incident waiting to happen.

Can You Trust AI Agents with Stripe or GitHub APIs?

Hell no, not raw. That’s the change here—devs expected plug-and-play autonomy. Reality? You’re architecting jail cells around these agents.

Enter ruah conv. npm install, point at your OpenAPI YAML, out pop MCP tools tagged safe/moderate/destructive. Filter to –max-risk moderate, slash destructive ops. Or tag-filter to payments only—25 tools, lean and mean.

ruah conv generate stripe-openapi.yaml --target mcp-ts-server --max-risk moderate

Handles OpenAPI, Postman, GraphQL, even HAR files. Outputs TS/Python servers, JSON defs, OpenAI/Anthropic schemas. Auth wrappers, retries, dry-run mode baked in. MIT license, no lock-in.

Skeptical me asks: who’s banking here? Ruah-dev’s toolchain hints at a larger play—orchestrators, optimizers. Free tier’s great, but scale up and watch the invoices. Still, beats hand-wiring disasters.

I’ve covered a dozen ‘agent frameworks’ this year. Most gloss over this. This post doesn’t. Props.

But vendors? Wake up. Ship official MCP with risk tiers. Or we’ll keep seeing headlines like ‘AI Agent Deletes $1M in Subscriptions.’

Why Does This Matter for Developers Building Agents?

Context windows shrink under tool weight. Safety’s not optional—it’s table stakes. One bad prompt, and your Slack channels, Notion pages, Linear tickets? Toast.

Linear’s GraphQL? 7 destructives. PagerDuty? 30. These run your ops.

Filter ruthlessly. Dry-run everything. And pester API teams for MCP natives.

Ruah conv’s a start. Use it. But don’t sleep—agents are loose, and APIs are wide open.

We’ve been here before. OAuth1 hell in 2010. Serverless cold starts wasting millions. Now MCP token bombs and delete parties. Silicon Valley never changes; it just rebrands the bugs.

Prediction: by Q2 2025, we’ll see vendor MCP servers with baked-in guardrails. Or the first mega-oops. Bet on the latter.


🧬 Related Insights

Frequently Asked Questions

What are MCP tools for AI agents?

MCP tools turn APIs into structured functions agents can call, like delete_customer from Stripe. Problem: no safety labels by default.

How do you stop AI agents deleting data via APIs?

Convert specs with ruah conv, tag risks, filter out destructive endpoints. Use –max-risk moderate to block DELETEs.

Is ruah conv safe for production APIs like Stripe?

It adds risk classification and wrappers—better than raw hand-coding. Test in dry-run first; no silver bullet.

James Kowalski
Written by

Investigative tech reporter focused on AI ethics, regulation, and societal impact.

Frequently asked questions

What are MCP tools for AI agents?
MCP tools turn APIs into structured functions agents can call, like delete_customer from Stripe. Problem: no safety labels by default.
How do you stop AI agents deleting data via APIs?
Convert specs with ruah conv, tag risks, filter out destructive endpoints. Use --max-risk moderate to block DELETEs.
Is ruah conv safe for production APIs like Stripe?
It adds risk classification and wrappers—better than raw hand-coding. Test in dry-run first; no silver bullet.

Worth sharing?

Get the best Developer Tools stories of the week in your inbox — no noise, no spam.

Originally reported by dev.to

Stay in the loop

The week's most important stories from DevTools Feed, delivered once a week.