Latest / Talk Python To Me / #569: Connecting Agents to Data via MCP, CLI, and More
Transcript
- 0:00Michael Kennedy: Should your agent call an MCP server or just run a CLI?
- 0:04Michael Kennedy: Pamela Fox joins us to share how she thinks about connecting AIs and her data.
- 0:09Michael Kennedy: She's taught MCP workshops from PyCon to VR developers,
- 0:13Michael Kennedy: and every week an agent combs her Gmail,
- 0:16Michael Kennedy: Outlook, and X history to build her news roundup.
- 0:20Michael Kennedy: She uses MCP all day,
- 0:21Michael Kennedy: yet there are still times when you should skip it.
- 0:24Michael Kennedy: You'll hear how her colleague pitted the GitHub CLI
- 0:27Michael Kennedy: against the GitHub MCP server on a real bug.
- 0:30Michael Kennedy: The CLI used fewer tokens.
- 0:32Michael Kennedy: It succeeded more often.
- 0:33Michael Kennedy: So do we choose CLIs,
- 0:36Michael Kennedy: MCPs,
- 0:36Michael Kennedy: or even just APIs
- 0:38Michael Kennedy: for connecting our agents to our data and services?
- 0:41Michael Kennedy: Let's find out.
- 0:42Michael Kennedy: This is Talk Python To Me, episode 569,
- 0:44Michael Kennedy: recorded October 15th, 2026.
- 1:04Michael Kennedy: Welcome to Talk Python To Me, the number one Python podcast for developers and data scientists.
- 1:09Michael Kennedy: This is your host, Michael Kennedy.
- 1:11Michael Kennedy: I'm a PSF fellow who's been coding for over 25 years.
- 1:15Michael Kennedy: Let's connect on social media.
- 1:16Michael Kennedy: You'll find me and Talk Python on Mastodon, Bluesky,
- 1:19Michael Kennedy: and X.
- 1:20Michael Kennedy: The social links are all in your show notes.
- 1:22Michael Kennedy: You can find over 10 years of past episodes at
- 1:25Michael Kennedy: Talk Python.fm.
- 1:26Michael Kennedy: And if you want to be part of the show, you can join our recording live streams.
- 1:30Michael Kennedy: That's right. We live stream the raw uncut version of each episode on YouTube.
- 1:34Michael Kennedy: Just visit
- 1:35Michael Kennedy: Talk Python.fm slash YouTube to see the schedule of upcoming events.
- 1:39Michael Kennedy: Be sure to subscribe there and
- 1:40Michael Kennedy: press the bell so you'll get notified anytime we're recording.
- 1:43Michael Kennedy: Before we dive into the show,
- 1:45Michael Kennedy: I want to tell you about an upcoming members meetup here at Talk Python.
- 1:49Michael Kennedy: The title,
- 1:50Michael Kennedy: SQLite Might Actually Be All You Need.
- 1:54Michael Kennedy: This talk dives into running SQLite in production
- 1:56Michael Kennedy: and why, surprisingly,
- 1:58Michael Kennedy: it might be one of the best production databases you can choose.
- 2:03Michael Kennedy: Here's something I haven't really talked about yet.
- 2:05Michael Kennedy: Talk Python doesn't run on MongoDB anymore.
- 2:08Michael Kennedy: After years on Mongo,
- 2:09Michael Kennedy: I've moved almost all of our sites to SQLite,
- 2:12Michael Kennedy: the database that you might file under.
- 2:14Michael Kennedy: Fine for prototypes and phone apps.
- 2:16Michael Kennedy: I knew an in-process database would have some speed advantages,
- 2:20Michael Kennedy: but what I didn't expect is that it's 40 to 300 times faster on our data.
- 2:26Michael Kennedy: Now,
- 2:26Michael Kennedy: looking up a guest takes 1.5 microseconds.
- 2:29Michael Kennedy: That's 1 1,000th of a millisecond,
- 2:31Michael Kennedy: or over 600,000 calls a second from plain Python.
- 2:36Michael Kennedy: And a write?
- 2:37Michael Kennedy: Well, that's 1 1 100th of a millisecond.
- 2:40Michael Kennedy: But then there's that question that scares people off.
- 2:42Michael Kennedy: What happens when the server dies?
- 2:44Michael Kennedy: This is where the surprises live.
- 2:47Michael Kennedy: So I hope you join me for the members tech meetup.
- 2:49Michael Kennedy: It's on December 2nd at 10 a.m.
- 2:52Michael Kennedy: U.S. Pacific time.
- 2:53Michael Kennedy: Find all the details at Talk Python.
- 2:55Michael Kennedy: Just click membership and go to the tech talks.
- 2:58Michael Kennedy: Add it to your calendar right there.
- 3:00Michael Kennedy: I hope to see you at the meetup and share some SQLite surprises with you.
- 3:04Michael Kennedy: Pamela,
- 3:04Michael Kennedy: welcome to Talk Python To Me.
- 3:06Michael Kennedy: It is long past time I had you on the show.
- 3:08Michael Kennedy: Really glad you're here.
- 3:10Pamela Fox: Awesome.
- 3:10Pamela Fox: It's so fun to be here.
- 3:11Michael Kennedy: We're going to talk about some of the craziness of 2026 and choices.
- 3:18Michael Kennedy: Should we MCP to MCP or not?
- 3:21Michael Kennedy: Was that the Shakespeare question? I think that was it.
- 3:23Pamela Fox: Yeah, exactly.
- 3:24Michael Kennedy: Or the CLI or APIs,
- 3:26Michael Kennedy: or basically I've got some data and services and I want to connect them to my code, to my agents.
- 3:32Michael Kennedy: How do we do that, right?
- 3:33Michael Kennedy: I know you've written a whole lot about this and people should absolutely check out your blog, but especially conference talks.
- 3:40Michael Kennedy: You're an awesome technologist and I really loved all of your presentations,
- 3:43Michael Kennedy: you know, including the one just at PyBay where we were.
- 3:45Michael Kennedy: How was PyBay? What do you think?
- 3:48Pamela Fox: I thought PyBay was really fun.
- 3:51Pamela Fox: I love the Python conferences,
- 3:53Pamela Fox: getting to meet the local community and you had a great talk at it as well.
- 3:58Michael Kennedy: Oh, yeah.
- 3:58Michael Kennedy: Thanks. That was really fun about Talk Python in production.
- 4:00Michael Kennedy: that will come out eventually.
- 4:02Michael Kennedy: I'm sure the videos of those will come out. They were recorded,
- 4:04Michael Kennedy: so they wouldn't record them for no reason.
- 4:07Pamela Fox: Yes.
- 4:08Michael Kennedy: So really, really cool. Now, before we dive in,
- 4:10Michael Kennedy: as per usual,
- 4:11Michael Kennedy: just give people a quick background on you.
- 4:13Pamela Fox: Yeah,
- 4:13Pamela Fox: sure.
- 4:14Pamela Fox: So I am Pamela Fox. I am
- 4:16Pamela Fox: currently at Microsoft and or GitHub,
- 4:20Pamela Fox: whichever company you prefer more.
- 4:24Pamela Fox: And I am a principal
- 4:25Pamela Fox: cloud advocate.
- 4:26Pamela Fox: So that means that generally,
- 4:28Pamela Fox: like I'm using all of our developer tools
- 4:30Pamela Fox: and showing developers how to use them.
- 4:33Pamela Fox: I tend to focus on Python.
- 4:35Pamela Fox: We had like an official Python advocacy team for four years
- 4:40Pamela Fox: and we don't anymore,
- 4:42Pamela Fox: which is sad.
- 4:43Pamela Fox: And that's kind of part of the change due to coding agents
- 4:46Pamela Fox: where like languages are not as much of a thing anymore
- 4:50Pamela Fox: because the coding agents can just code and whatever
- 4:53Pamela Fox: and all that matters is the output.
- 4:55Pamela Fox: So now,
- 4:56Pamela Fox: you know,
- 4:57Pamela Fox: I guess there's just this big question
- 4:58Pamela Fox: as to how much does your language even matter anymore.
- 5:02Pamela Fox: So I'm glad on that note with PyBay,
- 5:04Pamela Fox: I currently think it's great
- 5:06Pamela Fox: that we still have these Python-specific conferences.
- 5:09Pamela Fox: It will be interesting to see how long language
- 5:12Pamela Fox: is the theme that holds together a community.
- 5:15Michael Kennedy: What an interesting idea.
- 5:16Michael Kennedy: I've been thinking about this a lot too, and I fright.
- 5:19Michael Kennedy: I was, before we go down this AI thing,
- 5:22Michael Kennedy: when you were talking about
- 5:24Michael Kennedy: not specifically having a Python team,
- 5:26Michael Kennedy: one of the thoughts I had,
- 5:27Michael Kennedy: well, like Python is just so popular,
- 5:29Michael Kennedy: just it's expected.
- 5:30Michael Kennedy: It's not this niche thing where we brought in a few people
- 5:32Michael Kennedy: that know this weird no curly braces language.
- 5:35Michael Kennedy: You know what I mean?
- 5:36Michael Kennedy: But like just the advocates know about Python.
- 5:39Michael Kennedy: And so maybe you don't need a specific Python team.
- 5:41Pamela Fox: Yeah, I guess two things happen is one is that more and more
- 5:45Pamela Fox: the advocates from the other language teams
- 5:47Pamela Fox: found themselves using Python because you almost have to now
- 5:50Pamela Fox: because that's like it became the default language for new SDKs, right?
- 5:54Pamela Fox: When I first joined Marksoft, it was the opposite, right?
- 5:56Pamela Fox: where we had to like kind of beg for a Python SDK.
- 5:59Pamela Fox: And then people had to beg for like SDKs in C#,
- 6:02Pamela Fox: which is a crazy thing for Microsoft
- 6:04Pamela Fox: because Microsoft is like a huge,
- 6:05Pamela Fox: you know, C# user.
- 6:07Michael Kennedy: Like they may have created the language.
- 6:09Michael Kennedy: Right,
- 6:10Pamela Fox: that thing.
- 6:10Pamela Fox: Yes, yes,
- 6:11Pamela Fox: that's true.
- 6:12Pamela Fox: So yeah, so I think part of it
- 6:14Pamela Fox: is that just basically all advocates,
- 6:16Pamela Fox: you know,
- 6:17Pamela Fox: they're, you know, we're all there.
- 6:18Pamela Fox: Everyone's using Python now,
- 6:19Pamela Fox: all using JavaScript now.
- 6:21Pamela Fox: Everyone's using every,
- 6:21Pamela Fox: you know,
- 6:22Pamela Fox: because it's just so easy to add on,
- 6:24Pamela Fox: you know, a React front end.
- 6:25Pamela Fox: I saw a talk from my dad the other day.
- 6:27Pamela Fox: He's a computer scientist.
- 6:29Pamela Fox: And on his slide, he had like React front end.
- 6:31Pamela Fox: I was like, what?
- 6:32Pamela Fox: Dad,
- 6:33Pamela Fox: you're doing React?
- 6:34Pamela Fox: Like what has happened,
- 6:35Pamela Fox: right?
- 6:35Pamela Fox: That's only due to coding agents.
- 6:38Pamela Fox: I guarantee it.
- 6:39Pamela Fox: Because there's no way that my dad would be just like suddenly like, well, I'm like seven
- 6:44Pamela Fox: years old.
- 6:44Pamela Fox: I think it's time that I learned React,
- 6:46Pamela Fox: right?
- 6:47Michael Kennedy: Exactly.
- 6:47Michael Kennedy: It's like,
- 6:48Michael Kennedy: Pamela, what are you using Node for?
- 6:49Michael Kennedy: We all use Bun now.
- 6:51Michael Kennedy: Come on.
- 6:52Michael Kennedy: What?
- 6:53Michael Kennedy: Who are you?
- 6:54Pamela Fox: Yeah.
- 6:54Pamela Fox: I need to call him up so we can talk JavaScript now.
- 6:57Michael Kennedy: Funny.
- 6:57Michael Kennedy: Yeah,
- 6:57Michael Kennedy: you're right.
- 6:58Michael Kennedy: And I honestly don't even know if I want to talk about it because it makes me a little bit sad.
- 7:03Michael Kennedy: But I do think that there is also something to the second half of the reason that you gave.
- 7:07Michael Kennedy: And that's we don't necessarily have to read the code.
- 7:10Michael Kennedy: Should we read the code?
- 7:11Michael Kennedy: I don't know.
- 7:12Michael Kennedy: I'm very conflicted.
- 7:13Michael Kennedy: I actually was thinking today about building a little GUI application,
- 7:18Michael Kennedy: plug into an LLM,
- 7:19Michael Kennedy: maybe an MCP, who knows,
- 7:20Michael Kennedy: that would basically go to a code base and go from this git commit to that one i need i need a tour
- 7:27Michael Kennedy: of what has happened will you explain this to me because git history is not there's a thousand
- 7:32Michael Kennedy: change files what is significant what do i you know what i mean something like that would be cool
- 7:36Pamela Fox: yeah yeah we care more about the high level changes and also just how they're being verified
- 7:41Pamela Fox: so i think like in terms of python you know what i am most interested in is you know the verifiability
- 7:48Pamela Fox: We do have great testing frameworks in Python.
- 7:50Pamela Fox: So I think we can continue,
- 7:51Pamela Fox: you know,
- 7:52Pamela Fox: talking about those testing frameworks,
- 7:54Pamela Fox: like how you
- 7:55Pamela Fox: could encourage your agents to use PlayWrite and use pytest and use hypothesis and schema
- 8:00Pamela Fox: thesis and all of that stuff.
- 8:02Pamela Fox: And,
- 8:02Pamela Fox: you know, at least guide it to using like an async FastAPI,
- 8:07Pamela Fox: you know, versus a
- 8:08Pamela Fox: sync framework.
- 8:10Pamela Fox: But the specifics of Python,
- 8:13Pamela Fox: you know,
- 8:13Pamela Fox: not as useful.
- 8:15Pamela Fox: I was reading the Python 315 release notes and I was like, oh, all of this is great.
- 8:19Pamela Fox: I'm glad.
- 8:19Pamela Fox: I know.
- 8:20Pamela Fox: I'm glad they added this.
- 8:21Pamela Fox: But none of this matters until the LLMs know it.
- 8:26Michael Kennedy: I see.
- 8:27Pamela Fox: Until they've been pointed at the release notes and until I'm using 315 in production.
- 8:32Michael Kennedy: We're going to see what the world brings.
- 8:34Michael Kennedy: But it is trending this way and it is weird.
- 8:36Michael Kennedy: I don't think that means that people without programming skills are not needed or don't
- 8:40Michael Kennedy: have value.
- 8:41Michael Kennedy: I think there's tons.
- 8:42Michael Kennedy: It's just not in the structure level.
- 8:45Michael Kennedy: It's like, okay,
- 8:45Michael Kennedy: we need this kind of design pattern.
- 8:47Michael Kennedy: We need this kind of storage.
- 8:49Michael Kennedy: What are we going to do about, you know,
- 8:51Michael Kennedy: durability if this data center goes down and we got our data there?
- 8:54Michael Kennedy: That kind of questions,
- 8:55Michael Kennedy: yeah?
- 8:55Pamela Fox: Yeah, and that's all things we've learned.
- 8:57Pamela Fox: You know, syntax was just one way that we expressed our programming knowledge.
- 9:01Pamela Fox: Now,
- 9:02Pamela Fox: you know, we're really going to express the architecture side of it because that's where,
- 9:06Pamela Fox: you know,
- 9:06Pamela Fox: we still need to think a lot about how we're going to architecture things,
- 9:09Pamela Fox: what the protocols are
- 9:11Pamela Fox: that we're going to use in order to interface across systems,
- 9:13Pamela Fox: which that's like a good lead
- 9:15Pamela Fox: in for today's topic,
- 9:16Pamela Fox: because,
- 9:17Pamela Fox: you know, that I think the protocols are increasingly the important
- 9:20Pamela Fox: part.
- 9:20Michael Kennedy: Absolutely.
- 9:21Michael Kennedy: All right. Well, let's go ahead and dive into it. I think,
- 9:23Michael Kennedy: as I said, I kind of
- 9:24Michael Kennedy: want to structure this around MCP because that's maybe the most obvious choice. Somebody says,
- 9:29Michael Kennedy: I want to connect this thing to my AI. Well,
- 9:32Michael Kennedy: MCP were obviously right.
- 9:34Michael Kennedy: However,
- 9:34Michael Kennedy: there's a lot of
- 9:35Michael Kennedy: options,
- 9:35Michael Kennedy: as we'll see.
- 9:36Michael Kennedy: And there's times you do and don't use MCPs. But let's start with that
- 9:41Michael Kennedy: story.
- 9:41Michael Kennedy: So I had a Den Bilomarski on the show a while ago to talk about MCP protocol.
- 9:47Michael Kennedy: But honestly,
- 9:48Michael Kennedy: it's like a year ago and in AI world,
- 9:51Michael Kennedy: you know, how crazy, how long ago was that?
- 9:53Michael Kennedy: So maybe we
- 9:54Michael Kennedy: should just start from the beginning.
- 9:56Michael Kennedy: You know, what is an MCP?
- 9:58Michael Kennedy: What is MCP? And what is an MCP
- 9:59Michael Kennedy: server?
- 10:00Michael Kennedy: Like, why do we care about this stuff?
- 10:01Pamela Fox: Right.
- 10:01Pamela Fox: So MCP is,
- 10:03Pamela Fox: you know, it's the standard
- 10:04Pamela Fox: for helping AI applications to discover context,
- 10:09Pamela Fox: or here it says to connect to external systems.
- 10:13Pamela Fox: We basically wanted a standard way
- 10:15Pamela Fox: where we could extend our agents
- 10:17Pamela Fox: with access to additional tools,
- 10:20Pamela Fox: right?
- 10:20Pamela Fox: So it's extensibility story for agents,
- 10:22Pamela Fox: and it's a standard.
- 10:23Pamela Fox: And it's like, the cool thing is,
- 10:24Pamela Fox: it's like the first standard
- 10:26Pamela Fox: that everybody jumped on board with, right?
- 10:28Pamela Fox: It is so hard to get all these companies
- 10:31Pamela Fox: to agree right now,
- 10:33Pamela Fox: And they're like fighting on Twitter.
- 10:35Pamela Fox: It's like, come on, can't we all get along?
- 10:37Pamela Fox: And finally with MCP,
- 10:38Pamela Fox: you know, we can all get along.
- 10:39Pamela Fox: So this is,
- 10:40Pamela Fox: you know, originally came from Anthropic with Claude.
- 10:43Pamela Fox: But now there's great support in ChatGVT.
- 10:45Pamela Fox: You know, at Microsoft, we've got GitHub Copilot and VS Code.
- 10:49Pamela Fox: But there's also like consumer facing tools that have support for it.
- 10:53Pamela Fox: My business friends talk to me about MCP.
- 10:56Pamela Fox: Really?
- 10:57Michael Kennedy: Okay.
- 10:57Michael Kennedy: Yeah,
- 10:58Michael Kennedy: yeah.
- 10:59Pamela Fox: Their messaging made me like, oh, I just pitched this,
- 11:01Pamela Fox: you know,
- 11:02Pamela Fox: like extra using MCP.
- 11:04Pamela Fox: So yeah,
- 11:06Pamela Fox: because it's,
- 11:07Pamela Fox: you know,
- 11:08Pamela Fox: it's a standard that works across agents
- 11:10Pamela Fox: and agents are both developer facing and user agent.
- 11:14Pamela Fox: There's, you know, in the last few weeks,
- 11:15Pamela Fox: we've had GrokBot and Muse
- 11:18Pamela Fox: and there's so many new ones that pop out every week.
- 11:22Pamela Fox: And a lot of those are connecting behind the scenes using MCP.
- 11:26Pamela Fox: They don't always call it MCP.
- 11:27Pamela Fox: Chachapi calls it plugins,
- 11:29Pamela Fox: right?
- 11:30Pamela Fox: Like on their opening iDev day,
- 11:31Pamela Fox: They talked about ChattoBee plugins behind the scenes.
- 11:34Pamela Fox: Those are very much based off the MCP standard,
- 11:38Pamela Fox: right?
- 11:38Pamela Fox: So,
- 11:39Pamela Fox: you know, you're not always going to see MCP prominently displayed in the UI for these user-facing agents.
- 11:47Michael Kennedy: Yeah, I think if I go to Claude and I try to connect to it, it tells me what you need to do is add a connection,
- 11:54Michael Kennedy: not an MCP server,
- 11:55Michael Kennedy: right?
- 11:55Michael Kennedy: I'm like, this is where the MCP goes?
- 11:57Michael Kennedy: You know what I mean?
- 11:58Pamela Fox: Yeah,
- 11:58Pamela Fox: yeah.
- 11:58Pamela Fox: So I think they call it like connectors or connections.
- 12:01Pamela Fox: I'd be happy if they all call them MCP,
- 12:03Pamela Fox: but a lot of times they do wrap some additional things on top.
- 12:06Pamela Fox: Like ChatGPT,
- 12:08Pamela Fox: they wrap plugins in some additional metadata that helps them plug into the UI certain ways.
- 12:14Pamela Fox: So I think that's why they're calling it,
- 12:18Pamela Fox: they're coming up with their own name for it,
- 12:21Pamela Fox: just so they can add additional things on it.
- 12:23Michael Kennedy: Yeah, that makes a lot of sense.
- 12:25Michael Kennedy: And I guess it's like an API,
- 12:27Michael Kennedy: right?
- 12:28Pamela Fox: Right.
- 12:28Pamela Fox: Okay. So here's how it actually,
- 12:30Pamela Fox: like, I'll just tell you the actual, I mean, this is a developer,
- 12:32Pamela Fox: right? So what actually happens is first there's a handshake, right?
- 12:37Pamela Fox: So you register an MCP server and a lot of times your server is what's called an HTTP server. So there'll be actually like a URL for it.
- 12:44Pamela Fox: So it's like, you know, hpcoolserver.com slash MCP.
- 12:48Pamela Fox: And then the agent will connect to that server.
- 12:52Pamela Fox: So it'll send a handshake to that server.
- 12:54Pamela Fox: And during that handshake, it's going to ask the server what tools it has.
- 12:58Pamela Fox: because tools are like the there's other things that servers can expose but tools are like the
- 13:02Pamela Fox: really really important thing um so it'll say uh tools slash list so it sends this is a json rpc
- 13:09Pamela Fox: so it sends this json rpc uh you know hp requests to the server say hey what tools do you have
- 13:15Pamela Fox: and any other sort of discoverability it wants to do at that point mcp servers will support skills
- 13:20Pamela Fox: soon as well that's exciting um so it could discover those too so it discovers the tools
- 13:25Pamela Fox: the tools will come back.
- 13:26Pamela Fox: And once it has the tools,
- 13:27Pamela Fox: now the agent can populate its tools list
- 13:30Pamela Fox: with all the list of tools.
- 13:32Pamela Fox: And then it can decide to send those tool names to the LLM every time
- 13:37Pamela Fox: it's processing a user request.
- 13:39Pamela Fox: And if the LLM,
- 13:40Pamela Fox: the user request and says, oh,
- 13:42Pamela Fox: I've got a great
- 13:42Pamela Fox: tool for that, like book hotel,
- 13:44Pamela Fox: right? Maybe that's a tool and they want to book hotels.
- 13:47Pamela Fox: Then it's going to send a request to the MSP server that says it's like tools slash calls.
- 13:53Pamela Fox: And then it sends in arguments and says, OK, hotel in city, San Francisco,
- 13:57Pamela Fox: start date,
- 13:58Pamela Fox: October 15th, end date, October 17th.
- 14:01Pamela Fox: And so that sends, you know, basically like a remote procedure call like to the,
- 14:05Pamela Fox: you know, to that MSP server and the server processes it and responds back with,
- 14:10Pamela Fox: you know, JSON or,
- 14:11Pamela Fox: you know, however it wants to respond.
- 14:12Michael Kennedy: Yeah, it's a little bit like an HTTP endpoint,
- 14:16Michael Kennedy: but it's a little bit where the tools are, the individual functions that you might or the endpoints you might call with an API client.
- 14:25Michael Kennedy: But there's kind of a negotiation as well.
- 14:26Michael Kennedy: Like, do you support streaming?
- 14:29Michael Kennedy: What version of MCP are you?
- 14:31Michael Kennedy: So it's a little bit more high level than the HTTP APIs,
- 14:35Michael Kennedy: right?
- 14:35Michael Kennedy: Like maybe GraphQL or one of those types of something built on top of it, right?
- 14:40Michael Kennedy: But it's still very approachable for Python people.
- 14:42Pamela Fox: It's more opinionated because it's saying like, you know, it's saying this is specifically for agents.
- 14:47Pamela Fox: Agents want to know about tools.
- 14:49Pamela Fox: That's what they need.
- 14:50Pamela Fox: And they also want to know about, you know, in the future about skills.
- 14:53Pamela Fox: Right.
- 14:54Pamela Fox: But,
- 14:55Pamela Fox: you know, it's using mechanisms that we understand behind the scenes like JSON RPC.
- 15:00Michael Kennedy: Nice.
- 15:01Michael Kennedy: Yeah, I just last year, I can't remember exactly when it was.
- 15:04Michael Kennedy: I built a MCP server for the podcast.
- 15:07Michael Kennedy: So you can ask it like,
- 15:08Michael Kennedy: what did Talk Python cover on this?
- 15:11Michael Kennedy: And instead of having to go and do a full search of all the pages of the website,
- 15:16Michael Kennedy: the thing could just connect and run database index backed super fast queries,
- 15:21Michael Kennedy: right?
- 15:21Michael Kennedy: So it gets really quick answers and answers.
- 15:23Pamela Fox: I'm seeing now a lot of conferences.
- 15:26Pamela Fox: Well, not maybe a lot, but the nerdiest conferences will actually have MCP servers to interact with their data, right?
- 15:32Pamela Fox: So AI engineer did that and that was really fun.
- 15:34Michael Kennedy: That's awesome.
- 15:35Michael Kennedy: example for the talk's schedule and stuff.
- 15:39Michael Kennedy: Like,
- 15:39Michael Kennedy: hey, I'm interested in this.
- 15:41Michael Kennedy: What talk should I go see next?
- 15:42Michael Kennedy: Right.
- 15:43Michael Kennedy: That kind of question would be awesome to answer right away.
- 15:45Pamela Fox: Yeah.
- 15:45Pamela Fox: And then,
- 15:46Pamela Fox: so here's what's nice about MSP is that then you can connect multiple MSP servers
- 15:50Pamela Fox: to your agent,
- 15:51Pamela Fox: right?
- 15:51Pamela Fox: So example,
- 15:51Pamela Fox: you could connect the,
- 15:52Pamela Fox: you know, like the AI engineer MSP server for that conference.
- 15:57Pamela Fox: And you could also connect like the Google Calendar,
- 15:59Pamela Fox: like,
- 16:00Pamela Fox: you know, or in my case, I
- 16:02Pamela Fox: use the Microsoft WorkIQ MCP server for access to my Outlook.
- 16:06Pamela Fox: And so then in theory, you can be
- 16:07Pamela Fox: like, hey,
- 16:08Pamela Fox: which of these talks am I even like available to attend?
- 16:11Pamela Fox: Could you also just like
- 16:13Pamela Fox: put it on my calendar?
- 16:14Pamela Fox: Right.
- 16:15Pamela Fox: So this is what excites me about MCP is that MCP enables like
- 16:20Pamela Fox: us to make mashups really easily.
- 16:22Pamela Fox: Right.
- 16:23Pamela Fox: Like,
- 16:23Pamela Fox: you know, I don't know how people know the term
- 16:25Pamela Fox: mashups but back with like web 2.0 i love it yeah it was like 2006 like we're you know we had this
- 16:33Pamela Fox: huge boom of the hdgp web 2.0 apis that were very you know fun to use like the flicker api and google
- 16:41Pamela Fox: maps and all that stuff and i was making like hundreds of mashups i was absolutely addicted
- 16:46Pamela Fox: um but it was it was so fun but like i was able to do that because i was you know i was a coder
- 16:50Pamela Fox: now the difference is you know obviously yes as coders we can make these mashups but we can
- 16:55Pamela Fox: enable anyone to make these mashups,
- 16:58Pamela Fox: right? Like we're putting the power of this,
- 17:01Pamela Fox: you know,
- 17:01Pamela Fox: this, this programmatic combinatorial power,
- 17:05Pamela Fox: we're giving it to everyone now.
- 17:07Michael Kennedy: Yeah. For all the trouble that AI is causing trouble, I don't know,
- 17:10Michael Kennedy: disruption,
- 17:11Michael Kennedy: I guess,
- 17:12Michael Kennedy: in our industry and others,
- 17:14Michael Kennedy: you know, I do think there's something very special about being able
- 17:17Michael Kennedy: to give people this power to speak in regular English or whatever language you speak to a
- 17:22Michael Kennedy: computer and it's almost like programming.
- 17:24Michael Kennedy: Yeah.
- 17:24Pamela Fox: Yeah. I mean, I think that's also just generally
- 17:26Pamela Fox: true,
- 17:27Pamela Fox: not just with MCP,
- 17:28Pamela Fox: but,
- 17:29Pamela Fox: you know, I gave a talk last week to CS teachers talking about,
- 17:32Pamela Fox: you know, the stack of programming languages.
- 17:34Pamela Fox: And we went up from, you know, assembly,
- 17:36Pamela Fox: machine,
- 17:36Pamela Fox: assembly,
- 17:38Pamela Fox: you know,
- 17:38Pamela Fox: C++,
- 17:39Pamela Fox: higher level like Python.
- 17:40Pamela Fox: And now,
- 17:41Pamela Fox: you know, we're at natural human language,
- 17:43Pamela Fox: right? Like we have lowered the barrier so that anyone spoken language can basically code something,
- 17:50Pamela Fox: Right.
- 17:50Pamela Fox: So,
- 17:51Pamela Fox: yeah.
- 17:51Michael Kennedy: Yeah. My daughter just discovered Codex and she wanted to build a website.
- 17:55Michael Kennedy: And after a few hours, she goes,
- 17:57Michael Kennedy: Dad, is it OK if I stay up all night?
- 17:58Michael Kennedy: I can't put this down.
- 17:59Michael Kennedy: Like,
- 18:00Michael Kennedy: you're going to run out of credits before you stay up all night.
- 18:02Michael Kennedy: But don't do that.
- 18:03Michael Kennedy: But that's kind of how the excitement is, you know.
- 18:06Pamela Fox: That reminds me of discovering the web like in like sixth grade.
- 18:09Pamela Fox: I definitely stayed up all.
- 18:10Pamela Fox: The first time you discover that you can make,
- 18:12Pamela Fox: you know, like a web app or a piece of software,
- 18:15Pamela Fox: it's a long night.
- 18:17Michael Kennedy: It's an amazing night.
- 18:18Michael Kennedy: But the next day, oh,
- 18:19Michael Kennedy: boy, what have I done?
- 18:20Michael Kennedy: What have I done?
- 18:21Michael Kennedy: So make this a little bit concrete.
- 18:23Michael Kennedy: Give us some specific MCP servers that you use.
- 18:27Michael Kennedy: And I'll share a couple of mine as well, but I'm going to let you go first on this.
- 18:30Pamela Fox: Yeah.
- 18:31Pamela Fox: So the ones that I use the most often,
- 18:33Pamela Fox: there's the Twitter X MCP server.
- 18:37Pamela Fox: So I have that installed.
- 18:39Pamela Fox: And that, you know, can search through all the tweets, especially the tweets I've liked and bookmarked because I use that basically as like research,
- 18:45Pamela Fox: right?
- 18:45Pamela Fox: because I obviously am using Twitter purely for educational purposes
- 18:50Pamela Fox: and, you know, not just for procrastinating.
- 18:52Pamela Fox: So every week it actually like goes through and,
- 18:54Pamela Fox: you know, looks at stuff.
- 18:55Pamela Fox: And it also is like helps me like manage bookmarks,
- 18:58Pamela Fox: right?
- 18:58Pamela Fox: So I can put all my bookmarks in one place.
- 19:00Pamela Fox: So yeah, there's the XMCP server.
- 19:02Michael Kennedy: I didn't know this existed.
- 19:04Michael Kennedy: This is,
- 19:04Michael Kennedy: this could be a problem if I learn about this.
- 19:06Pamela Fox: Yeah.
- 19:07Pamela Fox: Yeah,
- 19:08Pamela Fox: yeah.
- 19:08Pamela Fox: They've been improving it over time.
- 19:10Pamela Fox: You still, there's still a fair bit of setup for it.
- 19:12Pamela Fox: It's not the most,
- 19:13Pamela Fox: you know, most user friendly.
- 19:15Pamela Fox: um but uh you know it's it's working decently well uh let's say i also have the um a gmail mcp server
- 19:25Pamela Fox: which is not quite an official one but it's working well enough for now we're still waiting for it i
- 19:29Pamela Fox: think they're about to come out with this like google workspace mcp server so i'm excited for
- 19:33Pamela Fox: that oh that is exciting yeah yeah i basically my friend like vibed an unofficial this is the thing
- 19:39Pamela Fox: is you can make your own mcp servers that wrap things if you need it so right now i'm using like
- 19:43Pamela Fox: an official vibe Gmail MCP server.
- 19:46Pamela Fox: I use the WorkIQ MCP server.
- 19:48Pamela Fox: That gives me access to my work, Microsoft stuff,
- 19:50Pamela Fox: like Teams,
- 19:51Pamela Fox: Outlook,
- 19:52Pamela Fox: that sort of thing, Calendar.
- 19:54Pamela Fox: And yeah, and then I have some documentation servers.
- 19:57Pamela Fox: Like we have a documentation server just for Microsoft Learn,
- 19:59Pamela Fox: and that's where all of our documentation is.
- 20:01Pamela Fox: So I'm not even using that many MCP servers,
- 20:07Pamela Fox: but the ones I am using are just absolutely essential,
- 20:10Pamela Fox: right?
- 20:10Pamela Fox: So like every week I hold an office hours
- 20:12Pamela Fox: where we talk about what's going on in generative AI.
- 20:15Pamela Fox: And I have a skill for that, an agent skill
- 20:17Pamela Fox: that specifically uses all those MCP servers to go to research.
- 20:21Pamela Fox: So it goes and looks through my Gmail,
- 20:22Pamela Fox: it looks through my Outlook,
- 20:23Pamela Fox: it looks through my Twitter history and says,
- 20:26Pamela Fox: okay, these are everything that's happened
- 20:28Pamela Fox: in the last seven days,
- 20:30Pamela Fox: right?
- 20:30Pamela Fox: And it can just do that every Tuesday at 9 a.m.,
- 20:34Pamela Fox: automatically run,
- 20:35Pamela Fox: and then boom,
- 20:35Pamela Fox: got my news roundup.
- 20:37Pamela Fox: And it's based off the last week
- 20:40Pamela Fox: of what I have been engaging with myself personally,
- 20:43Pamela Fox: right?
- 20:44Michael Kennedy: Yeah,
- 20:44Michael Kennedy: and for your role, it's really important
- 20:45Michael Kennedy: to kind of stay on top of the news
- 20:47Michael Kennedy: and what's happening in tech and all that, right?
- 20:49Michael Kennedy: So being able to ask that as a question.
- 20:51Pamela Fox: Right,
- 20:52Pamela Fox: yeah, that's true.
- 20:52Pamela Fox: Like for every role,
- 20:53Pamela Fox: there's different MCP servers
- 20:54Pamela Fox: that are really shy.
- 20:55Pamela Fox: Like for other people,
- 20:56Pamela Fox: they're,
- 20:56Pamela Fox: you know,
- 20:56Pamela Fox: like the linear MCP server,
- 20:58Pamela Fox: they've had a huge,
- 20:59Pamela Fox: I think they get more traffic from MCP
- 21:02Pamela Fox: than via like their UI now or something.
- 21:04Pamela Fox: And they shared some chart where they're like,
- 21:06Pamela Fox: MCP usage is just, you know,
- 21:08Pamela Fox: shot way up, right?
- 21:10Pamela Fox: And that makes a ton of sense, right?
- 21:11Pamela Fox: Like if you're tracking all your issues in linear,
- 21:15Pamela Fox: you know, then you're going to have a lot of use.
- 21:17Pamela Fox: I also obviously use,
- 21:18Pamela Fox: I'm sorry,
- 21:18Pamela Fox: I didn't even think about the GitHub MSP server
- 21:20Pamela Fox: because it's like built in GoPilot,
- 21:22Pamela Fox: but you know that,
- 21:23Pamela Fox: you know,
- 21:23Pamela Fox: because my issues are stored in GitHub.
- 21:25Pamela Fox: There's Azure DevOps that I'll use sometimes
- 21:27Pamela Fox: if I'm working on a project that is there.
- 21:29Pamela Fox: So depending on what your role is,
- 21:31Pamela Fox: you know, what your job is,
- 21:33Pamela Fox: you know, there's going to be different MSP servers
- 21:34Pamela Fox: that are going to like really enhance your productivity
- 21:37Pamela Fox: and other ones that you just don't need.
- 21:38Michael Kennedy: Yeah,
- 21:38Michael Kennedy: very cool.
- 21:39Michael Kennedy: So for me,
- 21:40Michael Kennedy: I make a lot of use of the Talk Python one
- 21:43Michael Kennedy: because it lets me ask questions like,
- 21:45Michael Kennedy: have we talked about this before?
- 21:46Michael Kennedy: What have we covered?
- 21:47Michael Kennedy: Is it going to be just a repeat or that kind of stuff really nicely?
- 21:51Michael Kennedy: One, just to give a bit of an outside-of-the-box angle,
- 21:55Michael Kennedy: is I found this place.
- 21:59Michael Kennedy: Also,
- 21:59Michael Kennedy: Century MCP.
- 22:00Michael Kennedy: Century MCP is awesome because I have Century plugged into all my apps,
- 22:03Michael Kennedy: and I love it for my web apps, but I'm a good web developer.
- 22:07Michael Kennedy: I can do this, but you know what?
- 22:08Michael Kennedy: I'm not a good developer of mobile apps.
- 22:10Michael Kennedy: I'm barely hanging on to the edge to keep my mobile app going because I didn't write it.
- 22:16Michael Kennedy: I don't know it.
- 22:17Michael Kennedy: Like, it's just like, but okay,
- 22:18Michael Kennedy: sort of.
- 22:19Michael Kennedy: And I had Sentry connected to it for years and it just built up this huge backlog of errors.
- 22:25Michael Kennedy: And I'm like, you know what?
- 22:25Michael Kennedy: I'm tired of these errors.
- 22:27Michael Kennedy: I think one week and I said,
- 22:28Michael Kennedy: I bet Claude and I,
- 22:30Michael Kennedy: given all that Sentry data with all the errors,
- 22:32Michael Kennedy: I bet we can go fix almost all of them.
- 22:34Michael Kennedy: And so I just connected the MCP server and I opened up VS Code with Flutter and I said,
- 22:38Michael Kennedy: all right,
- 22:38Michael Kennedy: Claude,
- 22:39Michael Kennedy: I want you to look here.
- 22:40Michael Kennedy: We're going to go there one at a time until these are gone.
- 22:43Michael Kennedy: And it took three or four days,
- 22:44Michael Kennedy: but I completely refreshed the app
- 22:47Michael Kennedy: with all the details from the MCP server.
- 22:49Michael Kennedy: And I would just say, okay, what's next?
- 22:51Michael Kennedy: Yeah, go ahead and close that one.
- 22:52Michael Kennedy: Let's make a GitHub issue for that.
- 22:53Michael Kennedy: You know what I mean?
- 22:53Michael Kennedy: And just,
- 22:54Michael Kennedy: I kind of was just guiding it.
- 22:56Michael Kennedy: And it completely,
- 22:57Michael Kennedy: I think this is an amazing thing.
- 22:59Michael Kennedy: These error-based systems that catch all the errors
- 23:02Michael Kennedy: and you can just say,
- 23:03Michael Kennedy: go to the Claude or Codex,
- 23:04Michael Kennedy: go,
- 23:04Michael Kennedy: there's an error in Sentry,
- 23:06Michael Kennedy: fix it.
- 23:06Michael Kennedy: You know what I mean?
- 23:07Michael Kennedy: That's all it needs.
- 23:08Pamela Fox: Yeah,
- 23:08Pamela Fox: that's amazing.
- 23:09Pamela Fox: I can remember using Centurate Khan Academy
- 23:11Pamela Fox: and having those errors just build up over time.
- 23:13Pamela Fox: And you're like, one day, one day I'm going to fix them.
- 23:15Pamela Fox: But it is so hard to prioritize bugs
- 23:19Pamela Fox: when you're always like features.
- 23:20Pamela Fox: But now we can paralyze a bit more
- 23:23Pamela Fox: and you get the help of being able to sort through logs.
- 23:26Pamela Fox: At this point, I'm never going to look through
- 23:27Pamela Fox: an error traceback myself,
- 23:29Pamela Fox: especially with Python async.
- 23:30Pamela Fox: Man, Python async tangent.
- 23:32Pamela Fox: But Python async errors,
- 23:33Pamela Fox: the tracebacks
- 23:35Pamela Fox: are so hard to parse through, right?
- 23:37Pamela Fox: So these days I'm just always going to paste a trace back into an agent and be like, okay, what's the actual error here,
- 23:44Pamela Fox: right?
- 23:44Michael Kennedy: Yeah.
- 23:44Michael Kennedy: This is wrong.
- 23:46Michael Kennedy: There's something wrong.
- 23:47Michael Kennedy: I know this is wrong.
- 23:48Michael Kennedy: We're fixing this,
- 23:49Michael Kennedy: right?
- 23:50Michael Kennedy: And then another one that I think we'll see if you would see this coming.
- 23:54Michael Kennedy: So there's this place.
- 23:55Michael Kennedy: So I was thinking about like retirement planning, right?
- 23:57Michael Kennedy: Eventually I'm going to retire someday.
- 23:59Michael Kennedy: And I'm like, I ran across this place called Bolden.
- 24:02Michael Kennedy: It's not an advertisement.
- 24:03Michael Kennedy: Just thought it was interesting.
- 24:04Michael Kennedy: And it says,
- 24:05Michael Kennedy: it's the DIY retirement.
- 24:07Michael Kennedy: Like you can run any what if on their AI.
- 24:10Michael Kennedy: If you put your sort of financial situation into it, you can ask, like, if I put more in 401k now,
- 24:16Michael Kennedy: will that save?
- 24:17Michael Kennedy: You know, like what's this going to have an effect on, right?
- 24:19Michael Kennedy: And if the market does this,
- 24:20Michael Kennedy: what would that do?
- 24:20Michael Kennedy: You know, like these kinds of things.
- 24:22Michael Kennedy: And I asked it a question and I was like, I'll try this AI thing.
- 24:25Michael Kennedy: So I asked it a question.
- 24:26Michael Kennedy: It came back like that with an answer.
- 24:27Michael Kennedy: I'm like, oh,
- 24:28Michael Kennedy: no, I don't trust this at all.
- 24:29Michael Kennedy: This should have taken a little bit of thinking.
- 24:31Michael Kennedy: This is like a haiku model at best.
- 24:34Michael Kennedy: You know what I mean?
- 24:35Michael Kennedy: There's no way there's a good AI here.
- 24:36Michael Kennedy: So I complained to them.
- 24:38Michael Kennedy: And the developer wrote back and said, well, what if we build an MCP server?
- 24:41Michael Kennedy: I said,
- 24:41Michael Kennedy: yes.
- 24:42Michael Kennedy: And then a few weeks later, like, here's the MCP server.
- 24:44Michael Kennedy: So I connected it to Claude on like Fable or Opus or something.
- 24:48Michael Kennedy: And then I'm like, okay,
- 24:49Michael Kennedy: now I can ask questions I trust the answers to.
- 24:52Pamela Fox: Yeah, that's a good point.
- 24:53Pamela Fox: Because when you,
- 24:54Pamela Fox: right, that's a good point.
- 24:54Pamela Fox: Because a lot of these applications have,
- 24:57Pamela Fox: you know, this has like an agent.
- 24:58Pamela Fox: You can see it on this,
- 24:59Pamela Fox: the front web page.
- 25:00Pamela Fox: It says like AI planner assistant.
- 25:02Pamela Fox: But they need to optimize for cost, so they're not necessarily going to use the most expensive model there.
- 25:06Pamela Fox: They may not have access to the best model.
- 25:09Pamela Fox: You might,
- 25:10Pamela Fox: for whatever reason, you've got Fable.
- 25:12Pamela Fox: I don't even have Fable, but I've got Opus 5.5,
- 25:14Pamela Fox: which is my new bestie, right?
- 25:16Michael Kennedy: I love 5.5.
- 25:17Michael Kennedy: Yeah, I love Opus 5.5.
- 25:18Michael Kennedy: It's so good.
- 25:19Pamela Fox: So I can.55,
- 25:20Pamela Fox: and I can trust that.
- 25:24Pamela Fox: And we should be using the EPSP server for the data.
- 25:29Pamela Fox: There are some MSP servers that do also basically wrap an agent.
- 25:32Pamela Fox: I don't love that as a design choice,
- 25:35Pamela Fox: but it is certainly a choice that some MSP servers are using.
- 25:41Pamela Fox: But yeah, I'd rather that they focus on returning the data
- 25:44Pamela Fox: and leave the agentic processing to people's agents.
- 25:47Michael Kennedy: Right.
- 25:48Michael Kennedy: Your job is to get the data to the smart agent that I'm running,
- 25:51Michael Kennedy: not do your own thing on top of it.
- 25:53Michael Kennedy: Exactly.
- 25:54Michael Kennedy: I want to throw one more thing out there really quick,
- 25:56Michael Kennedy: and maybe you can give us your thoughts if you have any.
- 25:59Michael Kennedy: I know a lot of people when they think about AI and their website or their app,
- 26:03Michael Kennedy: they're like, here's a thing that is swamping my app.
- 26:05Michael Kennedy: It's making it slow.
- 26:07Michael Kennedy: It's overwhelming the bandwidth.
- 26:08Michael Kennedy: And I hate it.
- 26:09Michael Kennedy: So MCP probably just makes this worse.
- 26:11Michael Kennedy: I don't think that's true.
- 26:13Michael Kennedy: I think that a lot of people might have this sort of thought process,
- 26:16Michael Kennedy: right?
- 26:16Michael Kennedy: Like it's just going to mean it's going to talk to my site more and so on.
- 26:20Michael Kennedy: But when you build these MCP tools,
- 26:22Michael Kennedy: as you pointed out, you build the tools.
- 26:24Michael Kennedy: Those are basically function calls on your code.
- 26:27Michael Kennedy: And you can do whatever you want there.
- 26:29Michael Kennedy: You can use caching.
- 26:30Michael Kennedy: You can use database indexes.
- 26:31Michael Kennedy: You can make them incredibly fast.
- 26:33Michael Kennedy: So instead of having an AI crawl all over your stuff,
- 26:35Michael Kennedy: it can just go right to an optimized spot and go,
- 26:38Michael Kennedy: this is what I'm actually looking for.
- 26:39Michael Kennedy: All right, here's a super fast response.
- 26:42Michael Kennedy: Harkening back to the PyCon,
- 26:44Michael Kennedy: PyBay talk.
- 26:44Michael Kennedy: Pulled up my logs in the last couple of MCP calls on my site
- 26:48Michael Kennedy: were like two millisecond response time.
- 26:50Michael Kennedy: That doesn't hurt my site.
- 26:51Michael Kennedy: I don't care.
- 26:51Michael Kennedy: They can ask questions like that.
- 26:53Michael Kennedy: This is the way to, I think, lessen the work on your server
- 26:57Michael Kennedy: and your app, not increase it.
- 26:58Pamela Fox: Yeah,
- 26:58Pamela Fox: that's really true.
- 26:59Pamela Fox: I think at this point, we should assume that people are going to use agents to try to automate
- 27:05Pamela Fox: interaction with the websites they're using,
- 27:07Pamela Fox: right?
- 27:07Pamela Fox: So for example,
- 27:08Pamela Fox: I was trying to programmatically browse Etsy the other day to help with my
- 27:13Pamela Fox: costume shopping because I wanted to be Link from Zelda and I needed to put together lots
- 27:18Pamela Fox: of different parts.
- 27:19Pamela Fox: And I actually have never played Zelda.
- 27:21Pamela Fox: So I was like,
- 27:22Pamela Fox: assuming the coding agent knows more about Link than I do,
- 27:25Pamela Fox: you know, because
- 27:27Pamela Fox: it's in the weights.
- 27:28Pamela Fox: It's not in my weights,
- 27:29Pamela Fox: right?
- 27:29Pamela Fox: But I was immediately blocked from Etsy.
- 27:32Pamela Fox: And Etsy does not have like a shopping MCP server.
- 27:36Pamela Fox: So if they'd had an MCP server,
- 27:38Pamela Fox: then I would have bought a lot more on Etsy.
- 27:41Michael Kennedy: Yeah, isn't that surprising?
- 27:43Michael Kennedy: They're like, no, it's going to block it.
- 27:44Michael Kennedy: These are terrible.
- 27:45Michael Kennedy: Like,
- 27:45Michael Kennedy: I was trying to buy five different things for an outfit.
- 27:48Michael Kennedy: You wouldn't let me,
- 27:48Michael Kennedy: basically.
- 27:49Pamela Fox: Right, because if you, yeah.
- 27:50Pamela Fox: So it certainly does depend on what people.
- 27:52Pamela Fox: So because on the flip side,
- 27:53Pamela Fox: you know, when people use MCP servers to automate interaction
- 27:57Pamela Fox: with like a social media network or,
- 27:59Pamela Fox: you know, like,
- 28:00Pamela Fox: you know, like a website where people are
- 28:02Pamela Fox: posting text,
- 28:04Pamela Fox: they can make a worse experience,
- 28:05Pamela Fox: right? We see this on Twitter right now with all
- 28:07Pamela Fox: the reply bots.
- 28:09Pamela Fox: You know,
- 28:10Pamela Fox: they're,
- 28:10Pamela Fox: they're,
- 28:11Pamela Fox: it's a horrible experience.
- 28:12Pamela Fox: Like everything you tweet,
- 28:13Pamela Fox: you get back this reply that's very well written and says it's not X, but Y.
- 28:17Pamela Fox: And you're like,
- 28:17Pamela Fox: oh,
- 28:18Pamela Fox: why?
- 28:18Pamela Fox: Why did you,
- 28:19Pamela Fox: you know,
- 28:20Pamela Fox: like fill my brain with something that I should never have to read
- 28:23Pamela Fox: because,
- 28:24Pamela Fox: you know, there's no human out there that wrote it.
- 28:26Pamela Fox: Right.
- 28:26Pamela Fox: So,
- 28:27Pamela Fox: you know, there,
- 28:27Pamela Fox: you know,
- 28:27Pamela Fox: there, there's some design that goes into this,
- 28:31Pamela Fox: but there's definitely many services where if you
- 28:34Pamela Fox: build an MSP server,
- 28:35Pamela Fox: you are enabling people to use your app in,
- 28:39Pamela Fox: in more ways, right? So,
- 28:40Pamela Fox: especially for shopping,
- 28:41Pamela Fox: right? So DoorDash, they did add an MSP server and that makes so much
- 28:44Pamela Fox: sense, right?
- 28:45Pamela Fox: For people who's doing,
- 28:46Pamela Fox: you know, maybe they use DoorDash to cater to their office
- 28:48Pamela Fox: every single day.
- 28:49Pamela Fox: By having an MSP server,
- 28:50Pamela Fox: DoorDash is making it that much easier to do bulk orders
- 28:53Pamela Fox: on DoorDash,
- 28:54Pamela Fox: right?
- 28:54Pamela Fox: So if you are a shopping website,
- 28:56Pamela Fox: I think Shopify just announced
- 28:58Pamela Fox: like an MCP sort of integration.
- 29:00Pamela Fox: So if you are a shopping website,
- 29:01Pamela Fox: it makes so much sense
- 29:03Pamela Fox: to have an MCP server,
- 29:04Pamela Fox: right?
- 29:04Pamela Fox: Because you want that,
- 29:05Pamela Fox: you know, sweet,
- 29:06Pamela Fox: sweet consumerism,
- 29:07Pamela Fox: right?
- 29:07Michael Kennedy: Exactly.
- 29:08Michael Kennedy: Let them come purchase.
- 29:09Michael Kennedy: Let their agents come.
- 29:10Michael Kennedy: They'll put their credit card in.
- 29:11Pamela Fox: I guess the thing that it threatens
- 29:12Pamela Fox: the most is advertising,
- 29:13Pamela Fox: right?
- 29:14Pamela Fox: And that's always what's been threatened
- 29:15Pamela Fox: by,
- 29:16Pamela Fox: you know, ad block
- 29:17Pamela Fox: and programmatic scraping
- 29:18Pamela Fox: and all that stuff.
- 29:19Pamela Fox: So we'll have to figure that out.
- 29:20Michael Kennedy: Yeah,
- 29:21Michael Kennedy: that is a different,
- 29:22Michael Kennedy: I think that is an absolutely
- 29:23Michael Kennedy: significant area and totally different though than like etsy letting you buy or not buy
- 29:27Michael Kennedy: so you gave a talk exploring mcp servers with GitHub copilot was this last year
- 29:32Pamela Fox: um this particular one was quite uh recent but basically like i keep doing these workshops to
- 29:37Pamela Fox: show people mcp uh the first one i gave was at pycon so that was you know pycon back down in long
- 29:43Pamela Fox: beach and that was you know like a three-hour workshop and so i've just been giving variants
- 29:47Pamela Fox: on this workshop for the last whatever seven months i think this might have been pi ai is that right
- 29:53Pamela Fox: remember uh maybe not no no no that was your um that was your one where you made an mcp server
- 29:58Pamela Fox: pick your outfit that was a different deal yeah you know i just talk about mcp everywhere so this
- 30:03Pamela Fox: was at we are developers in san jose a few weeks ago gotcha okay the reason is i want to talk about
- 30:08Michael Kennedy: just like support for mcp servers across some of your common things like copilot codex code vs code
- 30:15Michael Kennedy: etc it's like a can i use but can i use dot ai instead of an air.com whatever it is i know i don't
- 30:21Michael Kennedy: even think don't please don't go there i don't know what's there but no the actual website is
- 30:25Pamela Fox: can i use.dev uh i told them they should get canimcp.com because i thought that would you know
- 30:30Pamela Fox: flow better but this is from so the people who made this is mcp jam it's this really nice uh
- 30:36Pamela Fox: basically like think of it as postman but for mcp servers right so really nice way of just testing
- 30:40Pamela Fox: out your mcp servers with all the different features and you know sending requests back and
- 30:44Pamela Fox: forth and being able to see your oaf flow and see it succeed so they decided to make this can i use.dev
- 30:49Pamela Fox: And it's supposed to be like caniuse.com,
- 30:52Pamela Fox: but for MSP servers,
- 30:53Pamela Fox: because people are always asking like, hey,
- 30:55Pamela Fox: you know, this new MSP feature,
- 30:57Pamela Fox: is it supporting these clients?
- 30:58Pamela Fox: Because this MSP spec is evolving all the time.
- 31:00Pamela Fox: They did the most recent big drop was July 28th, continually adding,
- 31:05Pamela Fox: you know, more stuff to it over time.
- 31:07Pamela Fox: But the problem is many clients don't necessarily immediately add support for these features.
- 31:12Pamela Fox: So as somebody,
- 31:12Pamela Fox: if you're building a server,
- 31:14Pamela Fox: you know,
- 31:14Pamela Fox: you might be really excited about a new feature,
- 31:17Pamela Fox: but you want to check and see like, hey,
- 31:18Pamela Fox: you know,
- 31:19Pamela Fox: what is the support like that,
- 31:21Pamela Fox: you know,
- 31:22Pamela Fox: for this feature across the clients?
- 31:23Pamela Fox: What is the user experience going to be like?
- 31:26Michael Kennedy: Yeah.
- 31:26Michael Kennedy: And just doesn't support it at all.
- 31:28Michael Kennedy: You know,
- 31:28Michael Kennedy: I know for a while,
- 31:29Michael Kennedy: like ChatGPT,
- 31:30Michael Kennedy: Codex supported, but I think ChatGPT wouldn't take MCP or something.
- 31:35Michael Kennedy: Why won't you accept it?
- 31:36Michael Kennedy: You're the most popular thing.
- 31:38Michael Kennedy: You know what I mean?
- 31:39Michael Kennedy: I think MCP came out of Anthropic.
- 31:41Michael Kennedy: I can't remember exactly.
- 31:42Michael Kennedy: But actually Codex has more support than log code, for example.
- 31:47Michael Kennedy: So this is kind of a can I use for all the different features.
- 31:51Pamela Fox: Yeah,
- 31:51Pamela Fox: and I actually,
- 31:52Pamela Fox: relevant to this audience,
- 31:53Pamela Fox: I just asked them if they will add columns for Python agent frameworks,
- 31:58Pamela Fox: right?
- 31:58Pamela Fox: Because,
- 31:58Pamela Fox: for example, skills over MCP,
- 32:00Pamela Fox: that just got approved like a month ago.
- 32:02Pamela Fox: Like the spec for it got approved in merge.
- 32:05Pamela Fox: And so now they're,
- 32:06Pamela Fox: you know,
- 32:06Pamela Fox: making it official.
- 32:07Pamela Fox: And if you look for skills on can I use.dev right now, you'll see none of the current clients support it,
- 32:14Pamela Fox: but it is supported in a lot of the agent frameworks.
- 32:17Pamela Fox: So if you use like we've got like Microsoft agent framework, I happen to just know that that one supports it.
- 32:22Pamela Fox: But I bet you Pydantic AI does,
- 32:23Pamela Fox: too, because they're always quick to pick these things up.
- 32:26Pamela Fox: Right.
- 32:26Pamela Fox: So I did ask them to add columns for the agent framework.
- 32:30Pamela Fox: So hopefully in the near future,
- 32:32Pamela Fox: you'll see like,
- 32:33Pamela Fox: you know,
- 32:34Pamela Fox: does Pydantic AI,
- 32:35Pamela Fox: LangChain, right?
- 32:37Pamela Fox: You know, which of your favorite Python agent framework support it?
- 32:39Pamela Fox: Because that's the thing is like there's both,
- 32:42Pamela Fox: you know, using MCP from,
- 32:44Pamela Fox: you know, almost say like a user facing tool.
- 32:45Pamela Fox: Because in some ways, like GitHub Copilot is it's like a kind of a user facing tool, even if the users are developers.
- 32:51Pamela Fox: Versus using MCP as the integration layer for agents that you're writing in Python.
- 32:57Pamela Fox: And that's actually where we see a huge amount of uses of MCP,
- 33:02Pamela Fox: right?
- 33:02Pamela Fox: Because there's always this debate about MCP versus CLI.
- 33:05Pamela Fox: And yeah,
- 33:05Pamela Fox: locally, you can do whatever the heck you want,
- 33:07Pamela Fox: whatever works for you.
- 33:09Pamela Fox: But when it comes to putting agents into production and having them do communication with other servers when they're actually deployed to the cloud,
- 33:19Pamela Fox: everyone's using MCP there,
- 33:21Pamela Fox: right?
- 33:21Pamela Fox: Like for enterprise agent interconnectedness,
- 33:24Pamela Fox: it's all MCP.
- 33:25Pamela Fox: So what I tend to care most about is actually like, hey, can I write a Python agent framework that integrates with a Python agent that integrates with this MCP server?
- 33:34Pamela Fox: And is it going to work as expected?
- 33:36Michael Kennedy: So people are excited about MCP probably like, oh,
- 33:39Michael Kennedy: we're going to add this MCP thing to our topic.
- 33:43Michael Kennedy: But I think a good question.
- 33:44Michael Kennedy: And this one,
- 33:45Michael Kennedy: everything we talk about, we've got to give it a little bit of a caveat of like, well,
- 33:49Michael Kennedy: was it like last century effectively for this technology like last year?
- 33:53Michael Kennedy: But you wrote about to MCP or not to MCP, you know,
- 33:57Michael Kennedy: my weird joke.
- 33:58Michael Kennedy: But there are reasons to not use it or not completely just leave it wide open,
- 34:02Michael Kennedy: like create maybe more focus tools and then give those to your AI or to you.
- 34:06Pamela Fox: Yeah.
- 34:07Pamela Fox: Yeah. And so here,
- 34:08Pamela Fox: this was an example for this was Playwright,
- 34:11Pamela Fox: right?
- 34:12Pamela Fox: So Playwright is a browser automation library and there's a Python package for it.
- 34:18Pamela Fox: It's fantastic.
- 34:20Pamela Fox: And I was already using Playwright quite heavily to write my end-to-end tests for web apps, right?
- 34:25Pamela Fox: And so you could actually,
- 34:26Pamela Fox: and there's a pytest-Playwright plugin.
- 34:28Pamela Fox: So it's very easy to,
- 34:29Pamela Fox: you know, write these end-to-end tests with Playwright.
- 34:32Pamela Fox: And they'll, like, automatically open a headless Chromium browser or Firefox browser.
- 34:36Pamela Fox: And they'll click around.
- 34:37Pamela Fox: They'll do something.
- 34:38Pamela Fox: And they'll verify it all works,
- 34:39Pamela Fox: right?
- 34:40Pamela Fox: Now, Playwright was one of the first MCP servers that came out.
- 34:44Pamela Fox: And people loved it because suddenly people discovered browser animation.
- 34:48Pamela Fox: Like a lot of people, I think, had never,
- 34:50Pamela Fox: never knew that you could like programmatically control a browser.
- 34:53Pamela Fox: And so the Playwright MCP,
- 34:54Pamela Fox: like,
- 34:55Pamela Fox: you know, it lowered the barrier for that where people were just like adding Playwright MCP server to their coding agents and,
- 35:01Pamela Fox: you know, having fun,
- 35:02Pamela Fox: you know,
- 35:02Pamela Fox: automatically shopping and all that stuff.
- 35:05Pamela Fox: So,
- 35:06Pamela Fox: you know, so I that that was, you know,
- 35:08Pamela Fox: one of the first big servers that you would hear a lot about.
- 35:11Pamela Fox: So I wanted to make an agent that would automatically triage my LinkedIn request to connect.
- 35:18Pamela Fox: So you go to a conference,
- 35:20Pamela Fox: you go back and you see your LinkedIn and all these people
- 35:22Pamela Fox: want to connect and they're all great people.
- 35:25Pamela Fox: But I find it like really boring to accept,
- 35:27Pamela Fox: accept.
- 35:27Michael Kennedy: And every now and then it's careful,
- 35:29Michael Kennedy: only connect with people you actually know.
- 35:31Michael Kennedy: It's like, nope,
- 35:32Michael Kennedy: accept, accept, accept.
- 35:33Michael Kennedy: What am I going to be rude and tell them no?
- 35:35Michael Kennedy: I don't know.
- 35:36Pamela Fox: Well,
- 35:36Pamela Fox: every so often you get kind of like a life coach in there.
- 35:41Pamela Fox: Yes.
- 35:41Pamela Fox: No,
- 35:42Michael Kennedy: you do want to, yeah,
- 35:43Michael Kennedy: like a recruiter.
- 35:45Michael Kennedy: A recruiter.
- 35:46Michael Kennedy: Yes,
- 35:47Pamela Fox: exactly.
- 35:47Michael Kennedy: A book publisher,
- 35:49Michael Kennedy: like, hey, would you like to write a book on this?
- 35:51Michael Kennedy: No, if I want to write a book on it, we've already written a book on it.
- 35:54Pamela Fox: Yeah, I have this fantasy that one day I'll write a book,
- 35:57Pamela Fox: so I accept those.
- 35:59Pamela Fox: But yeah, so I wanted to automate that.
- 36:01Pamela Fox: So my first experiment was doing a pedantic AI agent with the player and MCP server.
- 36:07Pamela Fox: And it was like incredibly inefficient because it would like go to the LinkedIn page.
- 36:12Pamela Fox: It would kind of click around,
- 36:13Pamela Fox: try to figure out what to do.
- 36:14Pamela Fox: Like it was like continually reading lots and lots of tokens because it wasn't sure exactly what to do.
- 36:19Pamela Fox: And it did like eventually succeed.
- 36:21Pamela Fox: But it wasn't a good experience because one, I had like a limited token budget at that time.
- 36:26Pamela Fox: And two, it was just like taking a really long time and it was sometimes working,
- 36:29Pamela Fox: sometimes not.
- 36:29Pamela Fox: And I was like, well,
- 36:30Pamela Fox: you know what?
- 36:31Pamela Fox: I'm trying to do the tasks, the same task every single time,
- 36:34Pamela Fox: every single day.
- 36:35Pamela Fox: why don't I just script this using the Python Playwright SDK,
- 36:38Pamela Fox: right?
- 36:39Pamela Fox: So I just,
- 36:40Pamela Fox: you know, I then,
- 36:41Pamela Fox: you know, scripted it using SDK.
- 36:43Pamela Fox: You know, at that point, I hand wrote it myself.
- 36:45Pamela Fox: These days, I just have Copilot open up the browser and figure it out.
- 36:49Pamela Fox: But then,
- 36:49Pamela Fox: so then it becomes like much more deterministic.
- 36:51Pamela Fox: And I only brought the LLM in to make the decision,
- 36:54Pamela Fox: right?
- 36:54Pamela Fox: So I have like the Python Playwright SDK code is like opening my LinkedIn,
- 36:59Pamela Fox: restoring my auth cookies so that I'm like logged in and that had this browser.
- 37:02Pamela Fox: And then,
- 37:03Pamela Fox: you know, logging in,
- 37:04Pamela Fox: checking the requests.
- 37:04Pamela Fox: it gets a request. Okay. Then that's when it sends the information to an LLM only then. And it uses
- 37:09Pamela Fox: structured outputs and says, Hey, LLM,
- 37:11Pamela Fox: send me back some Jason that says,
- 37:13Pamela Fox: you know,
- 37:14Pamela Fox: accept,
- 37:14Pamela Fox: ignore,
- 37:15Pamela Fox: reject or undecided and give me the reason for it. Right. And I gave it a prompt that said,
- 37:19Pamela Fox: if it's a recruiter,
- 37:20Pamela Fox: a life coach or a financial consultant,
- 37:23Pamela Fox: uh,
- 37:24Pamela Fox: uh,
- 37:24Pamela Fox: that's basically the ignore,
- 37:26Pamela Fox: ignore.
- 37:26Pamela Fox: Yeah.
- 37:27Pamela Fox: Um,
- 37:27Pamela Fox: you know, it's very effective.
- 37:29Pamela Fox: So,
- 37:29Pamela Fox: right. So that was,
- 37:30Pamela Fox: you know, that's,
- 37:31Pamela Fox: that's,
- 37:31Pamela Fox: you know that's something considered right like the re like mcp enables these uh you know you to
- 37:38Pamela Fox: create new mashups new permutations combinations new workflows um that you know you didn't already
- 37:46Pamela Fox: have in your head so it makes a lot of sense if you are deploying any sort of agent that has more
- 37:51Pamela Fox: open-ended tasks or that like a user is ultimately going to be used in order to do their uh you know
- 37:57Pamela Fox: their end tasks, right?
- 37:58Pamela Fox: So if there's any sort of open-endedness
- 38:01Pamela Fox: where it may have to do iteration
- 38:02Pamela Fox: and or shouldn't decide,
- 38:04Pamela Fox: you know,
- 38:04Pamela Fox: what it's going to do next,
- 38:05Pamela Fox: then an MSP server makes sense.
- 38:07Pamela Fox: But if you're doing the same thing
- 38:09Pamela Fox: every single time,
- 38:10Pamela Fox: and there's, you know,
- 38:11Pamela Fox: even like,
- 38:12Pamela Fox: you know,
- 38:12Pamela Fox: in the case of mine,
- 38:13Pamela Fox: where it's like all you're doing
- 38:14Pamela Fox: is tracing network requests,
- 38:16Pamela Fox: it's just not necessary
- 38:17Pamela Fox: to use MSP server
- 38:18Pamela Fox: and it can add more non-determinism
- 38:21Pamela Fox: to a workflow.
- 38:22Michael Kennedy: Yeah, and if you're worried
- 38:22Michael Kennedy: about it going crazy
- 38:24Michael Kennedy: and just instead of connecting,
- 38:25Michael Kennedy: Oh,
- 38:26Michael Kennedy: she wants to connect with people.
- 38:27Michael Kennedy: Let me find everyone on LinkedIn and add them as a connection.
- 38:30Michael Kennedy: You know what I mean?
- 38:30Michael Kennedy: Like something like that.
- 38:31Michael Kennedy: You could think, oh, the AI went crazy.
- 38:33Michael Kennedy: What you've given it is a much more constrained and deterministic deal, right?
- 38:37Michael Kennedy: Like it can only look at yes,
- 38:39Michael Kennedy: no.
- 38:40Michael Kennedy: I mean,
- 38:40Michael Kennedy: today almost would be a Jev sort of thing.
- 38:42Pamela Fox: Yeah, I could totally sub in a Jev model point,
- 38:45Pamela Fox: right?
- 38:45Pamela Fox: Like it would be a good scenario for a Jev model.
- 38:48Pamela Fox: Generally,
- 38:48Pamela Fox: like that's a whole other discussion.
- 38:49Pamela Fox: But yeah,
- 38:50Pamela Fox: generally, if anywhere we're using structured outputs where the result is a Boolean
- 38:53Pamela Fox: or a choice,
- 38:54Pamela Fox: you can go ahead and sub in
- 38:56Pamela Fox: JAP model,
- 38:56Pamela Fox: decisions API,
- 38:58Pamela Fox: Microsoft, we just launched decision one,
- 39:00Pamela Fox: you know, a decision model.
- 39:02Pamela Fox: And yeah, so then you don't even need a full LLM.
- 39:05Michael Kennedy: Yeah,
- 39:06Michael Kennedy: exactly.
- 39:06Michael Kennedy: But I do think a lot of times just giving an LLM
- 39:08Michael Kennedy: a chance to like, I got it close,
- 39:10Michael Kennedy: but let's go there.
- 39:11Michael Kennedy: I'll give you an example from my world
- 39:14Michael Kennedy: that I found really helpful
- 39:16Michael Kennedy: is I have Hermes chilling on my Mac mini
- 39:18Michael Kennedy: just doing a bunch of stuff
- 39:20Michael Kennedy: and two YouTube channels
- 39:22Michael Kennedy: and they really are just sort of replications of the podcast.
- 39:25Michael Kennedy: So like the description is,
- 39:27Michael Kennedy: it's a structured thing,
- 39:28Michael Kennedy: but it comes from a whole bunch of different pieces of data
- 39:31Michael Kennedy: out of the podcast and so on.
- 39:32Michael Kennedy: But especially when I was live streaming more,
- 39:34Michael Kennedy: it would be the stuff will go up.
- 39:36Michael Kennedy: And then eventually when the results,
- 39:38Michael Kennedy: like all the details of the episode are together,
- 39:40Michael Kennedy: I got to go find all of that, the transcript,
- 39:42Michael Kennedy: the description,
- 39:42Michael Kennedy: the guest, the links,
- 39:43Michael Kennedy: and then go and put them back.
- 39:45Michael Kennedy: And I just sort of,
- 39:46Michael Kennedy: I don't know, I lost track of that.
- 39:47Michael Kennedy: And I had like two or 300 videos on each channel
- 39:50Michael Kennedy: that were just episode seven,
- 39:53Michael Kennedy: episode 200.
- 39:53Michael Kennedy: You know what I mean?
- 39:54Michael Kennedy: Like, oh no,
- 39:55Michael Kennedy: I can't, I cannot navigate the YouTube studio.
- 39:57Michael Kennedy: It's so slow on every little step.
- 40:00Michael Kennedy: I can't go and do like 400 edits of this.
- 40:03Michael Kennedy: And so I wanted my Hermes to just,
- 40:05Michael Kennedy: anytime that sees something appear in the RSS feed
- 40:07Michael Kennedy: for the podcast to instantly use the MCP server,
- 40:10Michael Kennedy: find the details and rewrite the YouTube channel.
- 40:13Michael Kennedy: Well, I don't want to just give it full access to my YouTube.
- 40:15Michael Kennedy: So what I did is I used Claude Code to build a Python library
- 40:19Michael Kennedy: that does the specific things I want it to do to YouTube.
- 40:23Michael Kennedy: And I just gave Hermes the wheel.
- 40:24Michael Kennedy: I said, here's the wheel.
- 40:25Michael Kennedy: You install this if you need to.
- 40:27Michael Kennedy: Then you manage the YouTube channel through it.
- 40:29Michael Kennedy: And it does.
- 40:30Michael Kennedy: And it's gone through all my hundreds of videos
- 40:33Michael Kennedy: are all up to date.
- 40:33Michael Kennedy: It's perfect.
- 40:34Michael Kennedy: And if I change it on the website,
- 40:35Michael Kennedy: it automatically changes on YouTube like 15 minutes later.
- 40:38Michael Kennedy: Crazy.
- 40:38Pamela Fox: I think that's something that we can take advantage
- 40:40Pamela Fox: as Python developers is that it's easy for us
- 40:43Pamela Fox: to make our own tools that have a more restricted surface.
- 40:46Pamela Fox: For example,
- 40:47Pamela Fox: I keep meaning to VibeCode
- 40:49Pamela Fox: MSP server for my Pilates booking website,
- 40:52Pamela Fox: right?
- 40:52Pamela Fox: And I would just expose only the tools that I want, right?
- 40:55Pamela Fox: Like I wouldn't have, you know, I wouldn't have like my account.
- 40:59Pamela Fox: I would just have a, you know, like list this week sessions and book a session,
- 41:03Pamela Fox: right?
- 41:03Pamela Fox: So,
- 41:04Pamela Fox: you know, for,
- 41:05Pamela Fox: you know, especially for us as Python developers,
- 41:07Pamela Fox: this should be really
- 41:07Pamela Fox: easy.
- 41:08Pamela Fox: We just,
- 41:09Pamela Fox: you know, prompt and be like, hey,
- 41:10Pamela Fox: you know, make this MSP server that does this
- 41:12Pamela Fox: and this,
- 41:13Pamela Fox: you know, and the hardest part is like auth,
- 41:15Pamela Fox: but there's,
- 41:16Pamela Fox: you know, there's
- 41:16Pamela Fox: ways to set that up.
- 41:18Pamela Fox: And then we can like feel confident pointing our agents at these tools,
- 41:22Pamela Fox: these servers or CLIs or however you've done them,
- 41:25Pamela Fox: and not worry about something bad happening,
- 41:30Pamela Fox: right?
- 41:31Pamela Fox: I know like many people are just kind of YOLOing with the current rage of Muse and Grok Pot and that.
- 41:36Pamela Fox: But then, of course, every day we see this like,
- 41:38Pamela Fox: you know, horrible thing that happened to someone because of that.
- 41:41Michael Kennedy: It RMRF'd our production database.
- 41:44Michael Kennedy: Why did you give it access to your production database?
- 41:46Michael Kennedy: What are you doing?
- 41:48Pamela Fox: So,
- 41:48Pamela Fox: you know, we we're still in an advantage as developers where,
- 41:52Pamela Fox: you know, if we don't have already access to tools that allow us to do restriction,
- 41:58Pamela Fox: then we can,
- 41:59Pamela Fox: you know, we can buy our own tools for that.
- 42:02Pamela Fox: Many of these tools, like, you know, with MCP servers,
- 42:04Pamela Fox: a lot of them will have a bunch of tools and you could decide to give your agent access to just some of them and not others.
- 42:09Pamela Fox: Right.
- 42:10Pamela Fox: So,
- 42:10Pamela Fox: you know,
- 42:10Pamela Fox: MCP servers will actually like annotate which of the tools are read only.
- 42:14Pamela Fox: And you might say, hey,
- 42:15Pamela Fox: you know, you can only access the read only tools.
- 42:19Pamela Fox: And with like the GitHub MCP server, it has this notion of tool sets.
- 42:22Pamela Fox: And you can say you can say like, hey,
- 42:23Pamela Fox: you can you're only allowed to,
- 42:25Pamela Fox: you know,
- 42:25Pamela Fox: use such and such tool set.
- 42:26Michael Kennedy: A little bit like restricting the job that you give them.
- 42:29Michael Kennedy: Because when they come back,
- 42:30Michael Kennedy: it goes to the MCP and it says, what can I do?
- 42:32Michael Kennedy: And it's like, oh, well, here's 200 things you can do.
- 42:35Michael Kennedy: You don't necessarily want it to do those 200 things just randomly.
- 42:38Michael Kennedy: It might be like, like you said, list schedules,
- 42:41Michael Kennedy: check my free time,
- 42:42Michael Kennedy: book me this thing.
- 42:43Michael Kennedy: You get three or four tools,
- 42:44Michael Kennedy: you know what I mean?
- 42:45Michael Kennedy: And so,
- 42:46Michael Kennedy: yeah, you have a talk on just stricter schemas,
- 42:49Michael Kennedy: increased reliability,
- 42:49Michael Kennedy: and then also on directing them to the, like, oh, the filter of the tools one.
- 42:53Michael Kennedy: That's it.
- 42:53Michael Kennedy: Filtering tools from MCP servers.
- 42:56Michael Kennedy: Basically how you can save tokens,
- 42:57Michael Kennedy: make it safer.
- 42:59Michael Kennedy: There's some tools in Copilot,
- 43:01Michael Kennedy: and this might also apply if you run Codex or Claude
- 43:06Michael Kennedy: in the chat window in VS Code.
- 43:07Michael Kennedy: I can't remember.
- 43:08Pamela Fox: Yeah.
- 43:08Pamela Fox: So when I wrote this blog post here about filtering tools,
- 43:12Pamela Fox: this was,
- 43:13Pamela Fox: what, five?
- 43:15Pamela Fox: Ancient.
- 43:15Michael Kennedy: It's ancient.
- 43:16Pamela Fox: Ancient.
- 43:16Pamela Fox: So at that time,
- 43:17Pamela Fox: like in early days,
- 43:18Pamela Fox: VS Code,
- 43:19Pamela Fox: actually if you selected more than I think it was like 175 tools,
- 43:22Pamela Fox: you'd like get this warning that's like, you have more than,
- 43:25Pamela Fox: you know,
- 43:26Pamela Fox: this many tools selected,
- 43:27Pamela Fox: like you may want to reduce them, right? And everyone would get so stressed out, like trying
- 43:30Pamela Fox: to decide which of them to like turn off and turn on.
- 43:34Pamela Fox: Now, a few things have changed since that time.
- 43:37Pamela Fox: One, obviously, our models have gotten,
- 43:38Pamela Fox: but two,
- 43:39Pamela Fox: the models have tool search and deferred tool
- 43:42Pamela Fox: loading built in. So both the new OpenAI models and Anthropic models, like from the last six months
- 43:48Pamela Fox: or so,
- 43:49Pamela Fox: they have a built-in capability that's actually was like trained into them as part
- 43:54Pamela Fox: of their RLHF, their post-training,
- 43:56Pamela Fox: where they know how to search for a tool and to
- 44:01Pamela Fox: load in a tool,
- 44:02Pamela Fox: like to use a deferred tool if they don't see a tool fully loaded in,
- 44:07Pamela Fox: right?
- 44:08Pamela Fox: So a lot of the modern agents will,
- 44:10Pamela Fox: if they're seeing that you're using a model,
- 44:12Pamela Fox: like our
- 44:12Pamela Fox: OpenAI model,
- 44:13Pamela Fox: they may choose to use that deferred tool.
- 44:17Pamela Fox: So these days,
- 44:18Pamela Fox: I don't really worry as much about having too many tools turned on because I know that there's,
- 44:25Pamela Fox: you know, much better handling of many tools.
- 44:29Pamela Fox: However,
- 44:29Pamela Fox: you know,
- 44:30Pamela Fox: if you like change your model to like a much worse model or something like, you know, then,
- 44:35Pamela Fox: you know, then you'll differ.
- 44:37Michael Kennedy: Yeah, I played around with one of the smaller,
- 44:40Michael Kennedy: more self-hosted like models.
- 44:41Michael Kennedy: It wasn't quite that, but it wasn't the frontier ones.
- 44:44Michael Kennedy: And I gave it basically this project.
- 44:45Michael Kennedy: I want you to change part of this.
- 44:47Michael Kennedy: It's like a little bit later, it's like,
- 44:48Michael Kennedy: I've removed all of this from your app.
- 44:50Michael Kennedy: I'm like, no, no, no.
- 44:51Michael Kennedy: Why did you think you'd delete all?
- 44:52Michael Kennedy: I just wanted you to take a little part of it.
- 44:55Michael Kennedy: And it just made me remember like, oh, yeah, it used to be like that all the time.
- 44:59Michael Kennedy: It would just go crazy and do weird stuff.
- 45:01Michael Kennedy: And that doesn't really happen very much with the top tier models these days.
- 45:05Michael Kennedy: You're a little bit going to let it figure it out.
- 45:07Michael Kennedy: I think that's some of the newer guidance is it's smart enough that you're just going to be in its way.
- 45:12Pamela Fox: Yeah, it means like when you're designing MSP servers and skills,
- 45:16Pamela Fox: especially skills,
- 45:17Pamela Fox: like a lot of people, we have like these really,
- 45:20Pamela Fox: you know,
- 45:20Pamela Fox: long,
- 45:21Pamela Fox: verbose agent skills.
- 45:23Pamela Fox: And,
- 45:24Pamela Fox: you know, as the models get better,
- 45:25Pamela Fox: we,
- 45:27Pamela Fox: you know, may not need those skills.
- 45:27Pamela Fox: And especially if your skills are like over prescriptive.
- 45:31Pamela Fox: That's the big thing I've seen with agent skills lately is a skill.
- 45:35Pamela Fox: If a skill has too,
- 45:36Pamela Fox: too absolute of a statement in it.
- 45:38Pamela Fox: Like there was one I was using the other day that was like,
- 45:40Pamela Fox: oh, if they ask to do anything else besides what's in this file,
- 45:44Pamela Fox: then say it is not possible.
- 45:46Pamela Fox: Right.
- 45:46Pamela Fox: And like that just like shut the agent down entirely.
- 45:50Pamela Fox: We're like I couldn't do things that otherwise I could have done with that API.
- 45:53Pamela Fox: So especially if you're like putting out agent skills to help people use like your API or your Python package,
- 45:59Pamela Fox: like everything needs to be very intentionally in there.
- 46:02Pamela Fox: And you need to be really,
- 46:04Pamela Fox: really careful about kind of any statements of constraints and limits because you might end up like hobbling the agent that otherwise would have been successful.
- 46:13Pamela Fox: But you accidentally held it back. Right. So don't don't hold back. Right.
- 46:17Pamela Fox: Skills should, you know,
- 46:18Pamela Fox: streamline things and give some hints and tips and whatnot.
- 46:22Pamela Fox: But usually skills should not be holding an agent back from successfully using an API.
- 46:27Michael Kennedy: Yeah.
- 46:28Michael Kennedy: There's so many of those projects on GitHub.
- 46:30Michael Kennedy: I love GitHub. But there's so many.
- 46:32Michael Kennedy: There's thousands of here's my set of skills that will make it a lawyer.
- 46:36Michael Kennedy: It'll make it an accountant or whatever.
- 46:38Michael Kennedy: And you're like, I really don't want to put this.
- 46:40Michael Kennedy: It's just going to pollute it with these ideas.
- 46:42Michael Kennedy: I bet it would be better if I just let it be, you know?
- 46:45Pamela Fox: Yeah.
- 46:45Pamela Fox: I mean, I'm happy to use my own skills.
- 46:48Pamela Fox: I think what I encourage people is find skills that people are talking about that you're in shit in.
- 46:54Pamela Fox: Fork them and then make them your own, right?
- 46:56Pamela Fox: Because like there's very few skills that I use from other people because,
- 47:03Pamela Fox: you know,
- 47:03Pamela Fox: I'm very opinionated.
- 47:04Pamela Fox: I want my workflows to work great for me.
- 47:06Pamela Fox: So I'm very happy with the skills that I maintain.
- 47:09Pamela Fox: Right. So I have presentation skills is my biggest repo of skills.
- 47:13Pamela Fox: And it's all just things related to making presentations like,
- 47:16Pamela Fox: you know, generating slide decks and images for them,
- 47:19Pamela Fox: making transcripts, lots of stuff with YouTube.
- 47:21Pamela Fox: Right.
- 47:22Pamela Fox: Like transcribing them after.
- 47:24Pamela Fox: And then I have some other skills that have to do with like Azure deployment and stuff.
- 47:29Pamela Fox: So I'm happy with those skills because I have a lot of control over them.
- 47:32Pamela Fox: But it's so hard to use someone else's skill and have it be a great experience for you.
- 47:37Pamela Fox: So find a skill you like and then fork it.
- 47:40Pamela Fox: Make it your own.
- 47:40Michael Kennedy: Yeah,
- 47:41Michael Kennedy: that's great advice.
- 47:42Michael Kennedy: Absolutely.
- 47:42Michael Kennedy: Now,
- 47:43Michael Kennedy: let's talk CLIs for a minute.
- 47:45Michael Kennedy: I think having CLIs used to be something that was just cool.
- 47:49Michael Kennedy: So you could maybe script it or you could automate it.
- 47:52Michael Kennedy: Like, I want to be able to do this thing with something.
- 47:55Michael Kennedy: And if I make a CLI,
- 47:57Michael Kennedy: then my Bash or my Ansible script or whatever can run it.
- 48:00Michael Kennedy: So that's why we're going to have a CLI.
- 48:02Michael Kennedy: And I think, honestly,
- 48:03Michael Kennedy: CLIs these days are a really interesting escape hatch for agents and things like that.
- 48:08Michael Kennedy: They're like, for some reason,
- 48:09Michael Kennedy: they don't connect or they can't connect to an MCP.
- 48:12Michael Kennedy: Like, maybe it's an app that only would have an MCP when it's running, but you only run it for a moment.
- 48:17Michael Kennedy: So maybe give us your thoughts on this CLI story.
- 48:21Pamela Fox: Yes, we have to have the required MCP versus CLI debate.
- 48:25Michael Kennedy: We do.
- 48:26Michael Kennedy: It wouldn't be complete if we didn't do it.
- 48:27Pamela Fox: It's contractually obliged.
- 48:29Pamela Fox: So,
- 48:31Pamela Fox: yeah, it's very interesting,
- 48:32Pamela Fox: actually.
- 48:32Pamela Fox: Like,
- 48:33Pamela Fox: my colleague has a project that's now called Scope.
- 48:37Pamela Fox: And in this project,
- 48:38Pamela Fox: they actually will set up scenarios to see how well an agent succeeds at a particular task in a particular environment.
- 48:45Pamela Fox: And the example that he gave in a talk the other day was using the GitHub CLI,
- 48:50Pamela Fox: GH command.
- 48:51Pamela Fox: and the GitHub MCP server and then just nothing at all compared to see like how long would it take?
- 48:57Pamela Fox: How successful would it be? Like would it?
- 48:59Pamela Fox: So in this case, it was actually fixing a bug on one of my repos,
- 49:03Pamela Fox: which I didn't know he was going to do.
- 49:04Pamela Fox: So I was surprised to see this PR the morning of his talk.
- 49:07Pamela Fox: But yeah, so he's,
- 49:09Pamela Fox: you know,
- 49:09Pamela Fox: so it's comparing to see, you know, token efficiency,
- 49:12Pamela Fox: success,
- 49:13Pamela Fox: number of tool calls, all that stuff.
- 49:15Pamela Fox: Right.
- 49:15Pamela Fox: Now, the results from that particular experiment was that the GitHub CLI was the best, right?
- 49:21Pamela Fox: And I think a lot of people would actually predict that.
- 49:23Pamela Fox: It required less tokens overall and was successful more of the time.
- 49:30Pamela Fox: But why is that?
- 49:31Pamela Fox: Part of that is because the agents, like LLMs,
- 49:34Pamela Fox: they know the GitHub CLI.
- 49:36Pamela Fox: The GitHub CLI is deep,
- 49:37Pamela Fox: deep in the weights,
- 49:39Pamela Fox: right?
- 49:39Pamela Fox: So they're very,
- 49:40Pamela Fox: very good at using the GitHub CLI.
- 49:42Pamela Fox: they really don't know the GitHub MCP server much at all,
- 49:44Pamela Fox: especially,
- 49:45Pamela Fox: you know, it changes over time.
- 49:46Pamela Fox: So it's very,
- 49:47Pamela Fox: it's really not surprising
- 49:49Pamela Fox: that they would do particularly well at using that CLI.
- 49:54Pamela Fox: So,
- 49:55Pamela Fox: you know, so the takeaway from that experiment
- 49:57Pamela Fox: is like in that particular example,
- 49:59Pamela Fox: yeah, it was more successful with CLI
- 50:00Pamela Fox: and there were some good kind of just specific learnings
- 50:02Pamela Fox: for the GitHub MCP server about what it struggled with
- 50:05Pamela Fox: when it was calling that server.
- 50:07Pamela Fox: But generally what you should be doing is like ideally
- 50:10Pamela Fox: like always offering everything,
- 50:11Pamela Fox: right?
- 50:11Pamela Fox: So you should have a CLI probably.
- 50:14Pamela Fox: You should have an API,
- 50:15Pamela Fox: like a traditional API.
- 50:16Pamela Fox: Like we're not getting rid of APIs.
- 50:18Pamela Fox: Like APIs for HTTP services,
- 50:19Pamela Fox: like you still want an API,
- 50:22Pamela Fox: an SDK,
- 50:23Pamela Fox: a CLI.
- 50:24Pamela Fox: An MCP server,
- 50:26Pamela Fox: you know,
- 50:26Pamela Fox: is something that you've ideally optimized for agents.
- 50:29Pamela Fox: So you should be like running these tests with agents
- 50:31Pamela Fox: and saying,
- 50:31Pamela Fox: hey,
- 50:32Pamela Fox: for this scenario,
- 50:33Pamela Fox: for all these range of scenarios,
- 50:35Pamela Fox: how successful are the agents when,
- 50:38Pamela Fox: you know, when using our MCP server?
- 50:40Pamela Fox: And also with agent skills,
- 50:41Pamela Fox: Like we do the same test with agent skills.
- 50:43Pamela Fox: So these are,
- 50:44Pamela Fox: you know, think of these as,
- 50:45Pamela Fox: you know, you're developing tools for agents
- 50:48Pamela Fox: and you really want to see how successful agents.
- 50:51Pamela Fox: You can do the same with CLI.
- 50:52Pamela Fox: Like you could, there are definitely people who are trying to optimize their CLIs more
- 50:56Pamela Fox: for agents.
- 50:57Pamela Fox: Like there was a great talk at PyAI last year from the folks at Astral where they were talking
- 51:02Pamela Fox: about that there was a lot of improvements they were going to make to like rough that
- 51:05Pamela Fox: made it better for humans.
- 51:07Pamela Fox: But now they're like, well, what's the point?
- 51:08Pamela Fox: Humans aren't the ones running rough anymore.
- 51:10Pamela Fox: agents are running rough.
- 51:12Pamela Fox: They have all these ideas now about how they're going to make rough
- 51:14Pamela Fox: better for agents.
- 51:16Pamela Fox: So they may not even like bother.
- 51:17Pamela Fox: Like, I mean, yes, a couple of humans
- 51:19Pamela Fox: somewhere are running rough and actually looking at the results.
- 51:22Pamela Fox: But yeah, they're, you know,
- 51:23Pamela Fox: so now they're like much more focused on like optimizing the experience for agents.
- 51:27Michael Kennedy: My agent runs rough a lot.
- 51:29Michael Kennedy: I don't know about yours, but I told the standing rule for all of
- 51:33Michael Kennedy: my agents, if they're doing coding,
- 51:35Michael Kennedy: that is,
- 51:35Michael Kennedy: is whenever you're done,
- 51:37Michael Kennedy: you're not done until
- 51:38Michael Kennedy: Ruff format,
- 51:40Michael Kennedy: ruff check,
- 51:40Michael Kennedy: and ty check.
- 51:41Michael Kennedy: All of those run without warnings,
- 51:43Michael Kennedy: without errors.
- 51:44Michael Kennedy: You know what I mean?
- 51:45Michael Kennedy: Like if you introduce something that breaks those rules,
- 51:48Michael Kennedy: those are easy to fix.
- 51:49Pamela Fox: Right.
- 51:49Pamela Fox: So that,
- 51:50Pamela Fox: I mean, you can put that in your agents.md.
- 51:52Pamela Fox: I oftentimes have that in my agents.md.
- 51:54Pamela Fox: You can even formalize like a lot of these coding agents
- 51:57Pamela Fox: have what's called like a hook,
- 51:59Pamela Fox: at least VS Code, we call it a hook.
- 52:01Pamela Fox: So you can have a hook that runs every single time
- 52:03Pamela Fox: and make sure that it runs.
- 52:05Pamela Fox: But a lot of times if you just put it in your agents.md,
- 52:07Pamela Fox: then that's enough instruction to,
- 52:09Pamela Fox: you know, to be,
- 52:10Pamela Fox: to be always taking those actions.
- 52:12Michael Kennedy: Yeah. If you want to be super old school, I mean, we're talking like 2024 old school,
- 52:16Michael Kennedy: you could put it in a, a get pre-commit hook really.
- 52:18Pamela Fox: Oh yeah, of course.
- 52:19Pamela Fox: That's pre-commit though. Cause we're like,
- 52:21Pamela Fox: you know, that's even like,
- 52:22Pamela Fox: like, like later in the process.
- 52:23Pamela Fox: Right. So it depends how often, right. So you've got hooks,
- 52:26Pamela Fox: you know, you've got hooks for the agent hooks are,
- 52:28Pamela Fox: are much more frequent.
- 52:29Pamela Fox: Right.
- 52:30Pamela Fox: So,
- 52:30Pamela Fox: um,
- 52:31Pamela Fox: you know, we don't know how often you're committing.
- 52:32Pamela Fox: Um,
- 52:33Pamela Fox: but you know, if you want it to happen every
- 52:34Pamela Fox: time I have an agent hook that just every time the agent stops,
- 52:38Pamela Fox: my kid giggles,
- 52:40Pamela Fox: it just plays
- 52:40Pamela Fox: a sound of her giggling.
- 52:42Pamela Fox: And it's,
- 52:43Pamela Fox: it's very cute. It just makes,
- 52:44Pamela Fox: you know, it just fills my life.
- 52:47Pamela Fox: Yeah.
- 52:47Pamela Fox: And then it's programmed so that if I leave the machine for more than a minute,
- 52:52Pamela Fox: then it'll also like kind of giggle harder and tell me the name of the session so that I can
- 52:59Pamela Fox: decide whether to come back my machine.
- 53:00Pamela Fox: Right. So that way I can like do my kids laundry while
- 53:02Pamela Fox: Yeah, yeah,
- 53:03Michael Kennedy: yeah. That's super cool.
- 53:04Michael Kennedy: So we're not complete with the CLI conversation. I think one of the things that I would like to encourage people who are building CLIs for agents,
- 53:13Michael Kennedy: a lot of the things that are interesting about this is it's good for people and it's good for agents.
- 53:17Michael Kennedy: like because they kind of both use English
- 53:20Michael Kennedy: or natural spoken language,
- 53:21Michael Kennedy: it's optimizing for one sort of helps the other a lot of times.
- 53:24Michael Kennedy: Anyway, so my suggestion about this
- 53:26Michael Kennedy: is that use a nice CLI framework like Typer or Click
- 53:30Michael Kennedy: or even if you're using ArcPars,
- 53:32Michael Kennedy: one of these built-in ones,
- 53:33Michael Kennedy: make sure there's lots of help documentation and stuff
- 53:36Michael Kennedy: because then the first thing the agent might do
- 53:39Michael Kennedy: is your CLI --help.
- 53:41Michael Kennedy: Okay, I now understand this tool that I have almost completely.
- 53:44Michael Kennedy: Let's go.
- 53:44Michael Kennedy: You know what I mean?
- 53:45Michael Kennedy: You don't have to do much more to teach it.
- 53:46Pamela Fox: Yeah. And you can even ask the agent like for advice,
- 53:49Pamela Fox: like, hey,
- 53:50Pamela Fox: what would help you?
- 53:51Pamela Fox: Like,
- 53:51Pamela Fox: what would have helped you achieve that?
- 53:53Pamela Fox: Right.
- 53:53Pamela Fox: Like, you know,
- 53:54Pamela Fox: what were what were the issues with that?
- 53:56Pamela Fox: Yeah. It's interesting because like,
- 53:57Pamela Fox: you know, on the one hand,
- 53:58Pamela Fox: you think it's different to optimize something for an agent versus optimize it for a human. I think that is where some of the current tension is, especially with documentation.
- 54:05Pamela Fox: trying to figure out is our documentation you know who is the one actually reading it um you know so
- 54:11Pamela Fox: right now you know we have agents.md and that's definitely targeted agents we have readme.md and
- 54:16Pamela Fox: a lot of times i end up repeating similar things across both um and yeah and i think just right now
- 54:22Pamela Fox: it's just currently um attention i think there's some clis that will have kind of like an agent
- 54:27Pamela Fox: mode that might be like much more verbose for example because agents can actually i think
- 54:33Pamela Fox: there's actually it goes but sometimes they're like lesser rows because it depends if you're
- 54:36Pamela Fox: trying to reduce token count or just increase information right because uh you know lms can
- 54:41Pamela Fox: handle a fair bit of information like they can look through a whole python traceback error right
- 54:46Pamela Fox: and they can understand it whereas me like you know it takes me a while to get to like the right
- 54:51Pamela Fox: point in the error um so it's i think i i do find it like really fascinating to try and figure out
- 54:56Pamela Fox: you know,
- 54:58Pamela Fox: as the world is moving so much right now,
- 55:01Pamela Fox: you know,
- 55:01Pamela Fox: what kind of entity are we
- 55:04Pamela Fox: optimizing our developer experiences for?
- 55:07Michael Kennedy: I promised you a GitHub CLI story.
- 55:10Michael Kennedy: Oh, yeah. So like a year ago or so,
- 55:12Michael Kennedy: you know, not that long ago,
- 55:14Michael Kennedy: I was doing something with
- 55:16Michael Kennedy: Claude and I didn't tell it to go to GitHub. I didn't tell that there was a GitHub.
- 55:20Michael Kennedy: It just
- 55:20Michael Kennedy: happened to be in a Git repository and I was working zero intention to go talk to GitHub or
- 55:26Michael Kennedy: anything and I said, okay, what if we did it this way?
- 55:29Michael Kennedy: And it says to me,
- 55:30Michael Kennedy: I'm not logged into VS
- 55:32Michael Kennedy: code or any of the tools.
- 55:33Michael Kennedy: I unknowingly was logged into the GitHub CLI.
- 55:36Michael Kennedy: And I ask it a question. It
- 55:37Michael Kennedy: goes,
- 55:37Michael Kennedy: well,
- 55:38Michael Kennedy: three years ago, you added this GitHub issue and it talked about it this way, but I think
- 55:42Michael Kennedy: it's changed. Like what,
- 55:43Michael Kennedy: how, how did you get to my GitHub?
- 55:45Michael Kennedy: I need to know what is going on here.
- 55:47Michael Kennedy: And eventually like, oh, it used, I went back and looked like, oh, it used the GitHub CLI to explore
- 55:52Michael Kennedy: the project and I didn't even tell it to him like what is it doing but in the end I was like you know
- 55:56Michael Kennedy: what cool it brought something from a long time ago back to the future and like we're we're working
- 56:00Pamela Fox: on it's good but it freaked me out that that actually reminds me of when I was prepping for
- 56:05Pamela Fox: today's podcast I asked you know I was like hey you know it's a podcast it's about like Python and MCP
- 56:11Pamela Fox: and it immediately connected to my emails and my events and it found that you would like attach the
- 56:16Pamela Fox: Google Doc to the because I didn't know you'd made a Google Doc of what topics we were going to talk
- 56:19Pamela Fox: about. I had missed that.
- 56:21Pamela Fox: So it found the Google Doc. I was like, okay,
- 56:23Pamela Fox: I've made an entire like
- 56:24Pamela Fox: markdown document prepping you based on the Google Doc. I'm like, what Google Doc?
- 56:28Pamela Fox: What are you
- 56:28Pamela Fox: talking about?
- 56:29Pamela Fox: So,
- 56:30Pamela Fox: you know, you know these things.
- 56:31Michael Kennedy: Yeah,
- 56:32Pamela Fox: right.
- 56:32Pamela Fox: So like,
- 56:32Pamela Fox: it's,
- 56:33Pamela Fox: you know,
- 56:33Pamela Fox: these agents can be very powerful.
- 56:35Pamela Fox: They're very good at like,
- 56:36Pamela Fox: you know,
- 56:36Pamela Fox: searching through lots of
- 56:38Pamela Fox: data.
- 56:39Pamela Fox: I,
- 56:39Pamela Fox: you know, just even if it's just a read only tool, that's just searching through things
- 56:43Pamela Fox: like,
- 56:43Pamela Fox: you know, really, really helpful there because it's not going to get bored after the
- 56:47Pamela Fox: first page of you know search results right like it can it can keep going um so you know i think it
- 56:52Pamela Fox: is lowering the barrier to finding information um so you know we don't lose we can't we're not
- 56:59Pamela Fox: going to lose information as much in the big mess of things because we can have like these
- 57:04Pamela Fox: really persistent agents that are looking for this so for me from like an information accessibility
- 57:09Pamela Fox: perspective uh i think that's really good because i've always been very good at like searching the
- 57:13Pamela Fox: web to the point where even at google people would ask me to search for things because they knew i
- 57:17Pamela Fox: like really good at googling even at google um and even like in high school i participated in web
- 57:22Pamela Fox: search competitions because i'm an absolute nerd i wait hold on what search engine do you all use
- 57:27Michael Kennedy: for that um that wasn't like lycos or anything was it in high school this was for the science
- 57:32Pamela Fox: olympiad um and that would have been in 2001 so i don't even i think it would have been yahoo
- 57:38Pamela Fox: at that point okay yeah yeah yeah i was a big yahoo user yeah those were amazing times yeah
- 57:44Pamela Fox: So, but now,
- 57:45Pamela Fox: like,
- 57:45Pamela Fox: you know, now it's fine.
- 57:46Pamela Fox: I don't have to lord my searching skills anymore.
- 57:49Pamela Fox: Like now everyone can,
- 57:50Pamela Fox: you know, use their agent to really efficiently search and find
- 57:53Pamela Fox: great results, which is good.
- 57:54Pamela Fox: We're making information universally accessible and useful,
- 57:58Pamela Fox: which is,
- 57:58Pamela Fox: I think, the mission
- 57:59Pamela Fox: statement of Google.
- 58:00Pamela Fox: But it's, you know, someone's mission.
- 58:02Michael Kennedy: Yeah,
- 58:02Michael Kennedy: absolutely.
- 58:03Michael Kennedy: So final thought on CLIs.
- 58:05Michael Kennedy: They don't have to necessarily be either or.
- 58:07Michael Kennedy: I ended up writing a Talk Python podcast and courses CLI,
- 58:11Michael Kennedy: which is kind of weird.
- 58:12Michael Kennedy: But if you go,
- 58:12Michael Kennedy: it's open source.
- 58:13Michael Kennedy: If you go look at it, all it does is it basically calls the MCP endpoints and the actions are like composition of the tools.
- 58:20Michael Kennedy: So it really is just a different interface to the MCP server.
- 58:24Michael Kennedy: But I'm like, the things that want to automate this that don't have access to the MCP server,
- 58:29Michael Kennedy: like how long would it take to write this?
- 58:31Michael Kennedy: It wasn't that much work.
- 58:32Michael Kennedy: So anyway,
- 58:33Michael Kennedy: you can make them,
- 58:33Michael Kennedy: they can coexist like cats and dogs living together.
- 58:36Pamela Fox: Mm-hmm, mm-hmm.
- 58:37Pamela Fox: Yeah,
- 58:37Pamela Fox: I mean, that's the thing,
- 58:38Pamela Fox: is that there's some agents that can connect to MCP servers
- 58:43Pamela Fox: that can't connect to CLIs,
- 58:44Pamela Fox: because not all agents have a kind of coding execution environment.
- 58:48Michael Kennedy: Especially the cloud ones,
- 58:50Michael Kennedy: right?
- 58:50Michael Kennedy: If it's just a chat LLN, they're not on your machine.
- 58:53Pamela Fox: Right,
- 58:54Pamela Fox: yeah.
- 58:55Pamela Fox: And then there's other agents that can run CLI commands
- 58:58Pamela Fox: that for some reason they can't,
- 58:59Pamela Fox: MCP servers for whatever reason.
- 59:01Pamela Fox: So it's good to have both.
- 59:04Michael Kennedy: And it's easier than it used to be.
- 59:06Michael Kennedy: You should be like, all right, well, who's going to be on the CLI team?
- 59:08Michael Kennedy: Now it's like,
- 59:09Michael Kennedy: I know who's going to be on the CLI team.
- 59:12Pamela Fox: It's all you.
- 59:13Pamela Fox: It's all me.
- 59:14Michael Kennedy: Lod, you're writing CLI today.
- 59:15Michael Kennedy: Let's get going.
- 59:16Michael Kennedy: Or chat or whatever,
- 59:18Michael Kennedy: you know,
- 59:18Michael Kennedy: co-pilot.
- 59:19Michael Kennedy: Well, this has been super fun.
- 59:20Michael Kennedy: I mean,
- 59:21Michael Kennedy: let's close it out with some final thoughts.
- 59:23Michael Kennedy: What do you think?
- 59:24Pamela Fox: Yeah,
- 59:24Pamela Fox: so final thoughts.
- 59:26Pamela Fox: We haven't really got into the Python aspect of MCP.
- 59:29Pamela Fox: So things I would tell Python developers is that there is an official Python MCP SDK.
- 59:36Pamela Fox: and that is to get started.
- 59:38Pamela Fox: But there's also a fantastic package called Fast MCP,
- 59:41Pamela Fox: which builds on top of that MCP SDK.
- 59:44Pamela Fox: And that's from Prefect.
- 59:45Pamela Fox: And that adds all these like really neat integrations.
- 59:49Pamela Fox: So I personally always use Fast MCP,
- 59:52Pamela Fox: but you shouldn't use one of those,
- 59:53Pamela Fox: right?
- 59:53Pamela Fox: I was actually looking at a colleague's MCP server today
- 59:56Pamela Fox: and it was just like handwritten from scratch.
- 59:57Pamela Fox: And I was like, that's not necessary,
- 59:59Pamela Fox: right?
- 59:59Pamela Fox: Like,
- 1:00:00Pamela Fox: and if there is an official MCP SDK
- 1:00:02Pamela Fox: that passes the specification
- 1:00:04Pamela Fox: And then there's Fast MCP, which builds on that.
- 1:00:07Pamela Fox: So it also is conformant, but then adds all these additional features.
- 1:00:11Pamela Fox: So if you're starting today,
- 1:00:12Pamela Fox: you can point your agent at the Fast MCP docs and have it
- 1:00:18Pamela Fox: write an MCP server using the latest version of MCP protocol,
- 1:00:20Pamela Fox: which is a really nice improved
- 1:00:23Pamela Fox: version.
- 1:00:23Pamela Fox: It's stateless,
- 1:00:24Pamela Fox: so it's more scalable and direction ready.
- 1:00:27Pamela Fox: So it is very easy to get started writing your first Python MCP server.
- 1:00:33Pamela Fox: And yeah, and there is also a conformance suite.
- 1:00:35Pamela Fox: So if for some reason you did write your own MCP server,
- 1:00:38Pamela Fox: you should at least run the conformance suite
- 1:00:41Pamela Fox: to see that it aligns the spec.
- 1:00:43Pamela Fox: But easiest way is start server and just give it a go
- 1:00:48Pamela Fox: and maybe just make one for fun
- 1:00:49Pamela Fox: just so you can understand how this new protocol works
- 1:00:53Pamela Fox: and it'll give you more insight
- 1:00:54Pamela Fox: as to when you're using MCP servers
- 1:00:56Pamela Fox: with your favorite agent.
- 1:00:58Michael Kennedy: Yeah, I don't think I really understood
- 1:00:59Michael Kennedy: how MCP servers really worked until I built one.
- 1:01:02Pamela Fox: Right.
- 1:01:02Pamela Fox: Yeah.
- 1:01:03Pamela Fox: Which is like, I mean, that's one of the greatest way of, you know,
- 1:01:06Pamela Fox: learning how these things work.
- 1:01:08Pamela Fox: I didn't really understand how they worked until I built one,
- 1:01:10Pamela Fox: put it in production, and then had an error with it.
- 1:01:13Michael Kennedy: Wait, this is not working the way I expected.
- 1:01:16Michael Kennedy: Uh-oh.
- 1:01:16Michael Kennedy: What's going on?
- 1:01:17Pamela Fox: That's when you really,
- 1:01:18Pamela Fox: really understand something,
- 1:01:19Pamela Fox: right?
- 1:01:19Michael Kennedy: That is for sure.
- 1:01:21Michael Kennedy: That is for sure. Cool. All right. Well,
- 1:01:23Michael Kennedy: Pamela,
- 1:01:23Michael Kennedy: thanks for taking the time for being on the show.
- 1:01:24Michael Kennedy: Always fun to...
- 1:01:26Pamela Fox: All right. Awesome.
- 1:01:27Pamela Fox: See you next time.
- 1:01:28Michael Kennedy: See ya.
- 1:01:30Michael Kennedy: This has been another episode of Talk Python To Me.
- 1:01:32Michael Kennedy: Thank you to our sponsors.
- 1:01:33Michael Kennedy: Be sure to check out what they're offering.
- 1:01:35Michael Kennedy: It really helps support the show.
- 1:01:37Michael Kennedy: If you or your team needs to learn Python,
- 1:01:39Michael Kennedy: we have over 270 hours of beginner and advanced courses
- 1:01:43Michael Kennedy: on topics ranging from complete beginners to async code,
- 1:01:46Michael Kennedy: Flask, Django,
- 1:01:47Michael Kennedy: HTMX, and even LLMs.
- 1:01:49Michael Kennedy: Best of all,
- 1:01:50Michael Kennedy: there's no subscription in sight.
- 1:01:52Michael Kennedy: Browse the catalog at talkpython.fm.
- 1:01:55Michael Kennedy: And if you're not already subscribed to the show
- 1:01:57Michael Kennedy: on your favorite podcast player,
- 1:01:58Michael Kennedy: what are you waiting for?
- 1:02:00Michael Kennedy: Just search for Python in your podcast player.
- 1:02:02Michael Kennedy: We should be right at the top.
- 1:02:03Michael Kennedy: If you enjoyed that geeky rap song, you can download the full track.
- 1:02:06Michael Kennedy: The link is actually in your podcast player show notes.
- 1:02:09Michael Kennedy: This is your host,
- 1:02:10Michael Kennedy: Michael Kennedy.
- 1:02:10Michael Kennedy: Thank you so much for listening.
- 1:02:12Michael Kennedy: I really appreciate it.
- 1:02:13Michael Kennedy: I'll see you next time.