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

Listen through the publisher, then discuss the episode here or arrange an in-person Roundtable. Your city determines where to meet.
Roundtables are designed for groups of four, with a shared subject and room for everyone to speak. Come for discussion, with no dating expectation.
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 (https://talkpython.fm/talk-python-membership-continue-conversation) Talk Python Membership (https://talkpython.fm/talk-python-membership-inner-circle) Talk Python Courses (https://talkpython.fm/training) Links from the show Guest Pamela Fox: pamelafox.org (https://pamelafox.org/?featured_on=talkpython) Meetup: SQLite Might *Actually* Be All You Need: talkpython.fm (https://talkpython.fm/meetups/sqlite-might-actually-be-all-you-need) MCP: modelcontextprotocol.io (https://modelcontextprotocol.io/docs/2026-07-28/getting-started/intro?featured_on=talkpython) WeAreDevelopers workshop: pamelafox.github.io (https://pamelafox.github.io/github-copilot-mcp-skills-workshop/?featured_on=talkpython) slide 16: pamelafox.github.io (https://pamelafox.github.io/github-copilot-mcp-skills-workshop/) To MCP or not to MCP: blog.pamelafox.org (http://blog.pamelafox.org/2025/07/to-mcp-or-not-to-mcp.html?featured_on=talkpython) MCP: Bringing mashups back: blog.pamelafox.org (http://blog.pamelafox.org/2025/07/mcp-bringing-mashups-back.html?featured_on=talkpython) MCP auth session: www.youtube.com (https://www.youtube.com/watch?v=_Redi3ChzFA) Pydantic AI \+ Playwright: blog.pamelafox.org (http://blog.pamelafox.org/2026/08/browser-automation-with-pydantic-ai.html?featured_on=talkpython) post: blog.pamelafox.org (http://blog.pamelafox.org/2026/03/do-stricter-mcp-tool-schemas-increase.html?featured_on=talkpython) PyAI talk: www.youtube.com (https://www.youtube.com/watch?v=l0McGgmngeU) post: blog.pamelafox.org (http://blog.pamelafox.org/2026/08/building-safe-mcp-servers-for-your.html?featured_on=talkpython) POSETTE talk: www.youtube.com (https://www.youtube.com/watch?v=3_JPHuXgDyQ) post: blog.pamelafox.org (http://blog.pamelafox.org/2025/09/filter-tools-from-mcp-servers.html?featured_on=talkpython) Can MCP choose my outfit: blog.pamelafox.org (http://blog.pamelafox.org/2026/03/can-mcp-choose-my-outfit.html?featured_on=talkpython) Talk Python now has a CLI: talkpython.fm (https://talkpython.fm/blog/posts/talk-python-now-has-a-cli/) FastMCP: gofastmcp.com (https://gofastmcp.com/?featured_on=talkpython) Typer: typer.tiangolo.com (https://typer.tiangolo.com/?featured_on=talkpython) Click CLI: click.palletsprojects.com (https://click.palletsprojects.com/en/stable/?featured_on=talkpython) Boldin: www.boldin.com (https://www.boldin.com/?featured_on=talkpython) Sentry MCP: mcp.sentry.dev (https://mcp.sentry.dev/) X.com MCP: docs.x.com (https://docs.x.com/tools/mcp?featured_on=talkpython) Watch this episode on YouTube: youtube.com (https://www.youtube.com/watch?v=F5-DtOl-9oM) Episode #569 deep-dive: talkpython.fm/569 (https://talkpython.fm/episodes/show/569/connecting-agents-to-data-via-mcp-cli-and-more) Episode transcripts: talkpython.fm (https://talkpython.fm/episodes/show/569/connecting-agents-to-data-via-mcp-cli-and-more) Theme Song: Developer Rap Served in a Flask : talkpython.fm/flasksong (https://talkpython.fm/flasksong) ---== Don't be a stranger ==--- YouTube: youtube.com/@talkpython (https://talkpython.fm/youtube) Bluesky: @talkpython.fm (https://bsky.app/profile/talkpython.fm) Mastodon: @[email protected] (https://fosstodon.org/web/@talkpython) X.com: @talkpython (https://x.com/talkpython) Michael on Bluesky: @mkennedy.codes (https://bsky.app/profile/mkennedy.codes?featured_on=talkpython) Michael on Mastodon: @[email protected] (https://fosstodon.org/web/@mkennedy) Michael on X.com: @mkennedy (https://x.com/mkennedy?featured_on=talkpython)
Episode information is provided by the publisher. Listening takes place on the publisher’s service.
Listen at the source ↗









