Skip to content
Artwork for Talk Python To Me
Talk Python To Me · Monday · 1 hr 2 min

#569: Connecting Agents to Data via MCP, CLI, and More

Should your agent call an MCP server or just run a CLI? Pamela Fox joins us to share how she thinks about connecting AI and her data. She’s taught MCP workshops from PyCon to WeAreDevelopers. And, every week, an agent combs her Gmail, Outlook, and X history to build her news roundup. She uses MCP all day. Yet, there are still times you when to skip it. You'll hear how her colleague pitted the GitHub CLI against the GitHub MCP server on a real bug fix. The CLI used fewer tokens. It succeeded more often. So do we choose CLIs, MCPs, or even just APIs for connecting our agents to our data and services? Let's find out. Episode sponsors Talk Python Membership Talk Python Membership Talk Python Courses Links from the show Guest Pamela Fox: pamelafox.org Meetup: SQLite Might *Actually* Be All You Need: talkpython.fm MCP: modelcontextprotocol.io WeAreDevelopers workshop: pamelafox.github.io slide 16: pamelafox.github.io To MCP or not to MCP: blog.pamelafox.org MCP: Bringing mashups back: blog.pamelafox.org MCP auth session: www.youtube.com Pydantic AI \+ Playwright: blog.pamelafox.org post: blog.pamelafox.org PyAI talk: www.youtube.com post: blog.pamelafox.org POSETTE talk: www.youtube.com post: blog.pamelafox.org Can MCP choose my outfit: blog.pamelafox.org Talk Python now has a CLI: talkpython.fm FastMCP: gofastmcp.com Typer: typer.tiangolo.com Click CLI: click.palletsprojects.com Boldin: www.boldin.com Sentry MCP: mcp.sentry.dev X.com MCP: docs.x.com Watch this episode on YouTube: youtube.com Episode #569 deep-dive: talkpython.fm/569 Episode transcripts: talkpython.fm Theme Song: Developer Rap 🥁 Served in a Flask 🎸: talkpython.fm/flasksong ---== Don't be a stranger ==--- YouTube: youtube.com/@talkpython Bluesky: @talkpython.fm Mastodon: @talkpython@fosstodon.org X.com: @talkpython Michael on Bluesky: @mkennedy.codes Michael on Mastodon: @mkennedy@fosstodon.org Michael on X.com: @mkennedy

0:00-1:02:44

transcript

No transcript — this publisher did not publish one.

show notes

Should your agent call an MCP server or just run a CLI? Pamela Fox joins us to share how she thinks about connecting AI and her data. She’s taught MCP workshops from PyCon to WeAreDevelopers. And, every week, an agent combs her Gmail, Outlook, and X history to build her news roundup. She uses MCP all day. Yet, there are still times you when to skip it. You'll hear how her colleague pitted the GitHub CLI against the GitHub MCP server on a real bug fix. The CLI used fewer tokens. It succeeded more often. So do we choose CLIs, MCPs, or even just APIs for connecting our agents to our data and services? Let's find out.

Episode sponsors

Talk Python Membership
Talk Python Membership
Talk Python Courses

Links from the show

Guest
Pamela Fox: pamelafox.org

Meetup: SQLite Might *Actually* Be All You Need: talkpython.fm

MCP: modelcontextprotocol.io
WeAreDevelopers workshop: pamelafox.github.io
slide 16: pamelafox.github.io
To MCP or not to MCP: blog.pamelafox.org
MCP: Bringing mashups back: blog.pamelafox.org
MCP auth session: www.youtube.com
Pydantic AI \+ Playwright: blog.pamelafox.org
post: blog.pamelafox.org
PyAI talk: www.youtube.com
post: blog.pamelafox.org
POSETTE talk: www.youtube.com
post: blog.pamelafox.org
Can MCP choose my outfit: blog.pamelafox.org
Talk Python now has a CLI: talkpython.fm
FastMCP: gofastmcp.com
Typer: typer.tiangolo.com
Click CLI: click.palletsprojects.com
Boldin: www.boldin.com
Sentry MCP: mcp.sentry.dev
X.com MCP: docs.x.com

Watch this episode on YouTube: youtube.com
Episode #569 deep-dive: talkpython.fm/569
Episode transcripts: talkpython.fm

Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong

---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython

Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython

Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy
links36

more episodes

All episodes