← Generative AI Mastermind for EngineersAll programsHomeSearch
Generative AI Mastermind for Engineers·Session Recordings·1:43:39

Day 2 (afternoon): MCP as the USB Port for AI, Building a Server in Two Lines, the Four Orchestration Shapes, and CRUD as the Security Model

Siddharth Trainer - Outskill Head of Product & Design, ~20 years in product; whiteboard + live Claude demos · Om Asnani Host - opens, relays chat, asks for the closing RAG explanation

The short version

  1. An LLM replies; an agent has agency, and tools are what give it that - not memory, not planning (0:08-0:13). ChatGPT's Agent Mode shopping for a hand towel on Amazon.in (blocked mid-demo) shows the point (0:13-0:15).
  2. MCP = Model Context Protocol: rules for how tools and LLMs talk, like TCP or HTTP are rules for machines. The USB analogy - one port, any device - and the claim that ~95% of software is connectable through an existing server or a wrapped API (0:15-0:22). Claude's 'connectors' are MCP under the hood: Slack message sent live to Om, calendar checked for a free three-hour slot, each behind an Allow Once / Always Allow / Deny prompt (0:22-0:33).
  3. An MCP package holds tools, and optionally prompts (what a column means) and resources (files, templates). Making a server: TypeScript server.tool(name, args, handler) or Python @mcp.tool() on a function you already have - 'usually one or two lines' (0:33-0:41). Even Tally accounting has one; a directory lists ~32,000 (0:41-0:44). API vs MCP: an API is a code-to-code contract an AI cannot safely call raw; MCP is 'the API for AI' (0:45-0:48).
  4. Orchestration is conducting. Four shapes are all you need: sequential, team / sub-agent with a manager, swarm with no manager, and graph with conditional routing (LangGraph's namesake, the enterprise favourite) - start sequential and escalate only when it fails (1:21-1:29). Live: a three-agent CrewAI podcast pipeline (researcher -> reporting analyst -> scriptwriter), YAML per agent, crewai run, auto-triggered when his laptop leaves home Wi-Fi and delivered to Telegram, 1-4 rupees an episode (0:58-1:16). Frameworks are a no-code (n8n) to all-code (LangGraph) spectrum - Canva vs Photoshop, not better or worse (1:17-1:21).
  5. Security through CRUD: Read is the only safe default on live data; Create and Update can delete by overwriting; give full CRUD only to a copy in a sandbox; choose Allow Once on anything real; and 'Dropbox is not backup, Google Drive is not backup' - go read 3-2-1 (1:29-1:36). RAG, in closing: semantic search built so an AI can find the right piece of your data without loading all of it; without the generation step it is just retrieval (1:36-1:43).

At a glance, three clicks deep

Skim here first: the closed row is the glance, open is the study card with the key points and timestamps, and the ↓ link drops to that concept's full write-up below.

01MCP is the USB port for AI: a protocol between tools and modelsMCP = the communication rules between tools and LLMs;›

MCP = the communication rules between tools and LLMs; one port, any software.

Protocol by analogy to TCP / HTTP (0:15-0:18)

USB adapter analogy (0:19-0:21)

~95% of software connectable (0:21-0:22)

Tally MCP server; 32,000-server directory (0:41-0:44)

↓ Full write-up of this concept

02Claude's connectors are MCP: Slack and Calendar driven live, one permission at a timeConnectors = MCP servers behind Claude;›

Connectors = MCP servers behind Claude; per-action permissions; computer use for anything without a server.

Connector catalogue is MCP (0:22-0:24)

Slack message live with per-action permission (0:24-0:29)

Calendar -> Slack chain (0:27-0:28)

Claude driving Chrome on x.com (0:47-0:52)

↓ Full write-up of this concept

03An MCP package is tools + prompts + resources; wrapping your function takes two linesPROCEDURE: server(name, version) -> wrap existing functions as tools (@mcp.tool / server.tool) -> optional…›

PROCEDURE: server(name, version) -> wrap existing functions as tools (@mcp.tool / server.tool) -> optional prompts and resources.

Tools, prompts, resources (0:33-0:36)

TypeScript and Python SDK snippets (0:36-0:40)

Read vs write tools in the connector permission list (0:40-0:41)

↓ Full write-up of this concept

04API vs MCP, and why a sandbox existsAPI = code-to-code contract;›

API = code-to-code contract; MCP = AI-executable contract; sandbox = where risky permissions live.

APIs assume mutual trust and a developer (0:45-0:46)

'MCP is the API for AI' (0:46-0:47)

Sandbox definition (0:47)

↓ Full write-up of this concept

05Four orchestration shapes: sequential, team, swarm, graph - start with the simplestSequential / team / swarm / graph;›

Sequential / team / swarm / graph; simplest first; framework by fit on the no-code-to-code spectrum.

Four shapes named and drawn (1:21-1:28)

Graph = LangGraph's namesake, enterprise use (1:26-1:28)

Start sequential (1:28-1:29)

n8n -> CrewAI -> LangGraph spectrum (1:17-1:21)

↓ Full write-up of this concept

06The personal podcast crew: researcher -> analyst -> scriptwriter, triggered when the laptop leaves homeThree sequential CrewAI agents from YAML;›

Three sequential CrewAI agents from YAML; crewai run; event-triggered; delivered to a messenger.

YAML per agent; crewai run (1:04-1:10)

Live edit and playback (1:10-1:14)

1-4 rupees an episode (1:14)

Wi-Fi-disconnect trigger -> Telegram (1:03)

↓ Full write-up of this concept

07CRUD is the security model: read-only by default, full rights only on a sandboxed copyRead-only on live data;›

Read-only on live data; full CRUD on a sandboxed copy; Allow Once; audit grants; 3-2-1 backups.

CRUD frame (1:29-1:31)

Create / Update can delete (1:31-1:33)

Sandboxed copy for full rights (1:32)

Manage Connectors states (1:34)

'Dropbox is not backup' (1:33-1:35)

↓ Full write-up of this concept

The concepts in full

01

MCP is the USB port for AI: a protocol between tools and models

TCP, HTTP, FTP - rules for computers talking. MCP - rules for tools and LLMs talking.

Siddharth grounds 'protocol' in the familiar ones, then defines MCP as the agreed way a tool and a model exchange requests and results. The USB / HDMI analogy carries the value: without it every AI-to-app integration is bespoke; with it any software plugs into any AI. His claim is that roughly 95% of software is reachable - a ready-made server exists or the existing API can be wrapped - and he proves ubiquity by finding an MCP server for Tally, 'the most uncle-old accounting software', and browsing a directory of ~32,000 servers (ElevenLabs, Excel, SAP, Zed...). MCP can also drive hardware - phones, microcontrollers, cameras.

Why it matters

The clearest one-line definition of MCP in the corpus, and the reason it beat raw APIs.

02

Claude's connectors are MCP: Slack and Calendar driven live, one permission at a time

'Send Om a Slack message.' Allow once. Screenshot from Om: received.

The Connectors menu (Gmail, Figma, Granola, Linear, Slack, and a catalogue behind Manage Connectors - Notion, Miro, Zapier, Airtable, Stripe, Vercel, AWS, GitHub, make.com...) is MCP with a friendlier name. Two demos: a Slack message to a colleague by user ID, and 'find me a free three-hour slot tomorrow and send the options to Om' across Calendar and Slack. Each action raises Always Allow / Allow Once / Deny; he chooses Allow Once deliberately and returns to it in the security section. A third demo has Claude drive Chrome directly to read and summarise ten tweets on x.com.

Why it matters

Shows what MCP feels like in a product Paul already uses daily.

03

An MCP package is tools + prompts + resources; wrapping your function takes two lines

The add() function already exists. MCP-enabling it is a decorator.

Per the official spec an MCP server offers tools, prompts (contextual notes - what a database column means) and resources (files, templates, past reports), plus rarely used utilities. PROCEDURE with the official SDKs: create a server object with a name and version; register a tool by wrapping an existing function - TypeScript server.tool(name, args, handler), Python / FastMCP @mcp.tool() - and likewise add resources and prompts. The docs are 'honestly quite bad, but official'. Compare Claude's per-connector permission list, which separates read-only tools from write / delete ones like 'schedule message'.

Why it matters

The actual how-to for exposing Technology On Call's own scripts or a client's app to an AI.

04

API vs MCP, and why a sandbox exists

'Why not just use the API?' - asked in chat, answered on the whiteboard.

An API is a code-to-code contract between systems that already trust each other, with auth and CORS and the rest; an AI cannot safely execute raw APIs without a sandbox layer, which is inefficient. MCP is designed to be directly executable by an AI and absorbs those concerns - 'the API for AI'. A sandbox is a contained environment where an agent can delete its own database without touching the live one, which is exactly where full permissions belong. Some servers are free (Slack, Google Calendar), some paid (ElevenLabs).

Why it matters

Resolves the most common MCP confusion in one comparison.

05

Four orchestration shapes: sequential, team, swarm, graph - start with the simplest

'Literally the only four shapes' you need to build any multi-agent system.

Sequential - agents run one after another (the podcast pipeline). Team / sub-agent - a manager receives the task and delegates to specialists. Swarm - no manager; agents coordinate among themselves. Graph - flowchart-style conditional routing between agents, tools and data, the most powerful and most complex, heavily used by enterprises (a food-delivery chatbot that looks like one thread is a graph behind it) and the origin of LangGraph's name. Rule: begin sequential; escalate only when the simpler shape cannot solve the problem. Frameworks sit on a spectrum from no-code n8n through CrewAI to all-code LangGraph - Canva versus Photoshop - and the choice is fit, not superiority; the frameworks are free, the model calls are not.

Why it matters

A vocabulary for every multi-agent design conversation in the library.

06

The personal podcast crew: researcher -> analyst -> scriptwriter, triggered when the laptop leaves home

By the time he is in the cab, a five-minute AI-news podcast is waiting in Telegram.

PROCEDURE, shown running: a CrewAI project with crew.py, YAML files defining each agent's role / goal / backstory, and main.py; Researcher filters AI news, Reporting Analyst writes the report, Scriptwriter produces a 5-10 minute script and the audio. He edits the greeting in YAML, runs crewai run, and plays the result. Cost 'around 3-4 rupees' with heavy search, 'less than 1 rupee' casually. Trigger: his Mac mini runs it when the MacBook disconnects from home Wi-Fi; delivery is a Telegram voice message. The repo was shared with a known double-generation bug left for attendees to fix.

Why it matters

A complete, cheap, personal agent system - the template for any 'brief me daily' automation.

07

CRUD is the security model: read-only by default, full rights only on a sandboxed copy

Create can delete. Update can delete. Only Read cannot.

Reason about every agent permission as Create / Read / Update / Delete on a resource. Anything sent through MCP goes to the lab's servers, so passwords and legal documents never go to an AI. Overwriting a file with an empty one is a Create that deletes; editing away content is an Update that deletes - so nothing but Read is safe on live data. Give full CRUD only to a copy in a sandbox. Choose Allow Once for real systems and audit standing grants in Manage Connectors (Always Allow / Needs Approval / Blocked). And keep real backups: sync is not backup; read up on 3-2-1.

Why it matters

The most practical safety rule in the corpus for anyone connecting agents to real accounts.

Tools referenced

ToolCoverageMomentContext
Claude DesktopdemonstratedConnectors, permissions, computer use on Chrome
ChatGPTdemonstratedAgent Mode shopping on Amazon.in
SlackdemonstratedMessage sent via connector
Google CalendardemonstratedFree-slot check via connector
CrewAIdemonstratedPodcast pipeline
n8nmentionedNo-code end of the spectrum
LangGraphmentionedAll-code end; graph shape
TelegrammentionedPodcast delivery
ExcalidrawmentionedWhiteboard share
ElevenLabsmentionedPaid MCP example
TallymentionedOld accounting software with an MCP server

Action items

    Resources mentioned

    Resources
    • docShared at close
    • docRAG in one minute (closing)

    Extraction notes

    This page was built from an auto-generated transcript, which garbles product and people's names. Those were corrected silently in everything above and logged here for transparency. The warnings flag claims that were true on the recording day but change fast.

    Transcript corrections applied

    The transcript saysThe trainer actually means
    cloud (throughout)Claude
    Sid / Sudhak / SudarSiddharth
    Cued AI / Creo AI / Clue AICrewAI
    3 way / 3-wayn8n (probable)
    codecsClaude Code or Codex - unresolved

    True on recording day — verify before relying