Command Palette

Search for a command to run...

PodMine
AI and I
AI and I•October 1, 2025

MCP Servers: Teaching AI to Use the Internet Like Humans

In this episode, Alex Rattray, founder of Stainless, discusses the future of AI and Model Context Protocol (MCP), exploring how AI can interact with APIs and internet services through code execution tools, with a vision of creating more flexible and efficient AI interactions.
AI & Machine Learning
Indie Hackers & SaaS Builders
Tech Policy & Ethics
Developer Culture
Cryptocurrency
Dan Shipper
Alex Rattray
OpenAI

Summary Sections

  • Podcast Summary
  • Speakers
  • Key Takeaways
  • Statistics & Facts
  • Compelling StoriesPremium
  • Thought-Provoking QuotesPremium
  • Strategies & FrameworksPremium
  • Similar StrategiesPlus
  • Additional ContextPremium
  • Key Takeaways TablePlus
  • Critical AnalysisPlus
  • Books & Articles MentionedPlus
  • Products, Tools & Software MentionedPlus
0:00/0:00

Timestamps are as accurate as they can be but may be slightly off. We encourage you to listen to the full context.

0:00/0:00

Podcast Summary

Alex Rattray, CEO of Stainless (the API company behind platforms like OpenAI and Anthropic), shares his vision for the future of AI integration with the internet through Model Context Protocol (MCP). The conversation explores why current MCP implementations struggle with scalability and context limitations, and reveals Stainless's innovative solution: replacing dozens of specialized tools with just two—a code execution tool and a documentation search tool. (34:30) Alex predicts "the future of AI is cyborgs"—systems that combine LLM intelligence with traditional code execution for maximum efficiency and minimal context usage.

Speakers

Alex Rattray

Alex Rattray is the founder and CEO of Stainless, the API company that builds SDKs and APIs for major tech companies including OpenAI, Anthropic, and Stripe. Before founding Stainless, he worked at Stripe developing their API infrastructure. He's known for his unconventional approach to problem-solving and his vision for how AI will interact with the internet through improved protocols and tools.

Dan Shipper

Dan Shipper is the host and a technology entrepreneur focused on AI applications and business automation. He's an investor in Stainless and runs multiple AI-powered products, giving him practical experience with the challenges and opportunities in AI integration.

Key Takeaways

Current MCPs Fail Due to Context Window Limitations

Traditional MCP implementations struggle because they try to expose every possible API endpoint as individual tools, quickly overwhelming the model's context window. (15:21) As Alex explains, translating something like the entire Stripe API into MCP tools could consume "hundreds of thousands of tokens" just in tool definitions, leaving little room for actual conversation. The solution isn't more tools—it's smarter tool design that works within context constraints while maintaining full API functionality.

Code Execution Tools Will Replace Multiple Specialized Tools

The future of AI-API interaction lies in giving models just two tools: one for executing TypeScript/Python code and another for searching documentation. (35:56) This approach leverages what LLMs do best—writing code—while dramatically reducing context usage. Instead of having 50 different tools for different API endpoints, models write code like `stripe.customers.retrieve()` and execute it directly, returning only relevant results rather than massive data dumps.

AI-Powered Note Collection Creates Persistent Knowledge

Alex uses Claude Code to automatically collect and organize business intelligence in a Git repository, including customer quotes, SQL queries, and analysis results. (28:13) This creates a persistent knowledge base that doesn't require re-querying MCP servers for previously discovered insights. The practice of having AI collect notes "for the AI by the AI" while human-curating the results creates a powerful feedback loop for business intelligence.

Security Must Happen at the API Layer, Not MCP Layer

Current security approaches that limit MCP tool exposure are fundamentally flawed because they create artificial constraints while the underlying API remains fully accessible. (41:13) True security requires implementing OAuth with granular permissions and proper scopes at the API level itself. This ensures that AI agents operate within the same security boundaries as human users, rather than relying on MCP-level restrictions that can be easily bypassed.

One-Off AI Tasks Will Evolve Into Automated Workflows

The natural progression of AI assistance follows the same pattern as traditional software development: tasks performed once, twice, then three times eventually get automated. (45:00) AI code execution environments will enable this evolution by allowing useful one-off scripts to be easily converted into persistent workflows. This bridges the gap between exploratory chat interfaces and structured dashboards, letting teams gradually formalize successful AI interactions into reusable business processes.

Statistics & Facts

  1. Stainless employs approximately 50 people and serves major tech companies including OpenAI, Anthropic, and Stripe for their API infrastructure needs. (04:44)
  2. Current MCP implementations can consume "hundreds of thousands of tokens" just in tool definitions when trying to expose comprehensive APIs like Stripe's hundreds of endpoints. (15:21)
  3. Alex estimates that AI code execution currently succeeds in fixing customer support tickets less than 50% of the time, but shows promise for improving overall team efficiency. (33:25)

Compelling Stories

Available with a Premium subscription

Thought-Provoking Quotes

Available with a Premium subscription

Strategies & Frameworks

Available with a Premium subscription

Similar Strategies

Available with a Plus subscription

Additional Context

Available with a Premium subscription

Key Takeaways Table

Available with a Plus subscription

Critical Analysis

Available with a Plus subscription

Books & Articles Mentioned

Available with a Plus subscription

Products, Tools & Software Mentioned

Available with a Plus subscription

More episodes like this

The Prof G Pod with Scott Galloway
January 14, 2026

Raging Moderates: Is This a Turning Point for America? (ft. Sarah Longwell)

The Prof G Pod with Scott Galloway
Young and Profiting with Hala Taha (Entrepreneurship, Sales, Marketing)
January 14, 2026

The Productivity Framework That Eliminates Burnout and Maximizes Output | Productivity | Presented by Working Genius

Young and Profiting with Hala Taha (Entrepreneurship, Sales, Marketing)
On Purpose with Jay Shetty
January 14, 2026

MEL ROBBINS: How to Stop People-Pleasing Without Feeling Guilty (Follow THIS Simple Rule to Set Boundaries and Stop Putting Yourself Last!)

On Purpose with Jay Shetty
The James Altucher Show
January 14, 2026

From the Archive: Sara Blakely on Fear, Failure, and the First Big Win

The James Altucher Show
Swipe to navigate