Okay, I'm going to press open chat and I'm going to say I'm looking to sell accounting software to
major.
Consulting organizations.
Okay.
Let's start with that.
Let me send that.
Off it goes.
So you can see already things are happening.
The the agent is running, the memory is happening.
Everything is going.
But so far there hasn't been an MCP client call.
It's thinking some more.
We will see what happens.
Okay.
The MCP client is going okay.
It's ticked.
All right, things are happening.
Stuff is going on.
Look at this.
It's run five calls to the MCP client.
It's using the tools.
It's learned what it can do from calling the MCP server.
And it's taking advantage of it.
And it's already done it five times.
And now it appears to be doing some more.
I think we'll see if it needs to use more than five tools.
Six.
It's used the tool six times.
It's just as well.
We dialed up the maximum iterations seven times.
There's lots going on here.
Uh, so again, keep in mind the way it knows how to use the MCP server is because the MCP server contains
that information.
The language on on how to use the tools is included in the MCP client server.
Okay.
It's now been ten calls.
And it's still running.
Okay.
I'm going to, uh, I'm going to come back in.
Oh, no.
It's completed right now.
How about that?
All right, let's see what it's come up with.
All right, here we go.
Uh, the first thing to note is that everything ran, uh, the MCP client was used ten times in total.
The structured output parser at the end.
And this is the result right here.
Let's make this a little bit bigger so you can see that it's responded in JSON as we required.
And it does conform to our spec.
It has one field prospects, a list of prospects, and Angie Park is at Accenture.
The CFO of Accenture.
Accenture is one of the largest consulting organizations in the US.
Very good.
Matt Calderone at Booz Allen Hamilton is also the CFO, going straight to CFOs Tyler Scott in Cognizant
VP of Investor Relations.
It's an interesting choice.
And then another one, a company, Jacobs Solutions Inc. so going for for different sizes and shapes
of company here.
And there's the last one there.
So how many have we got.
123455 sales prospects returned with all of their information.
Uh, and, uh, this is, this is very good to see one thing that perhaps, might, might make you pause
for a moment is that the emails don't look super legit.
Uh, they just look like generic, like investor relations at Accenture.
But otherwise everything has happened here, just as we wished the agent ran it understood how to use
the MCP client.
It used it ten times, and it produced output in the form of JSON that conformed to the schema that
we defined.
And let's just double click on MCP client to see what came out of here.
And you can see the ten different calls that were made to it by looking up here.
And you can see the name of the tool that was used.
Uh, tool was fire, crawl, scrape and see if it was just pick another random one.
Yeah, it looks like it was just doing fire crawl scrapes.
I know the fire crawl search and fire crawl scrape.
So it did some internet searches first.
That must have been before the first pause, I'm betting.
Yeah, it did a bunch of of searches and then a bunch of scraping, which is excellent and shows that
it really understood the different tools available to it and how to use them properly for searching
and then scraping.
Very satisfying.
So spend some time with this get get a good sense of how it used the tools and how it worked with them
to achieve the business outcome.
And then we will try and fix that little glitch about the email addresses.
Okay.
So next up we're going to deal with the email addresses.
And we're going to use a beautiful platform called Hunter.
Hunter right here.
I'm already signed in.
Let me sign out.
So you see what you get to see the first time you come in here.
Connect with any professional hunter is a platform which which, uh, is able to, uh, suggest emails
for people.
And it's focused on business connections.
So this isn't particularly something that's focused on looking at people's personal email addresses.
It's about getting in touch with people at businesses in order, for example, to have a sales prospect
outreach.
So it's your all in one email outreach platform.
Find and connect with people that matter to your business.
That is what we want.
And the good news is that it has a free tier.
Uh, it has a free plan 50 credits per month, which should be fine for us.
Now, since I'm going to be doing a few experiments, it's possible that I will go over this and I might
have to sign up for the starter, which I will do in the spirit of showing you cool stuff.
But for the purposes of this for amplify, hopefully you can stay within your 50 credits per month.
Or you could just use this to try it out and see it working and then and then stop.
There's certainly plenty for us to be experimenting with it.
So I would like you to get started.
Create your account, go through the usual signup process, and then meet me on the other side.
Okay.
Welcome to the other side.
Here we are in Hunter and of course in the dashboard down here is.
So these things all basically the same when you get used to them.
There's an API section.
There's an API key.
You can copy it into your clipboard right here.
So simple copy it in.
Be careful with this.
You know the deal.
You mustn't mess up API keys.
Don't put the fire crawl API key accidentally where you think you're pasting in the Hunter one, because
it's not going to work.
All right.
And then there's another thing here integrations.
You click on integrations.
There's a lot of useful integrations that it's got.
And we're going to scroll down and we're going to see wow there's a Hunter MCP.
And there's a button that's somewhat misleadingly called install.
But it really means show me the docs.
And here are the docs.
And you can see that there is there's two URLs.
There's MCP.
For the legacy deprecated version.
And there's MCP Hunter.io MCP for the Streamable http transport, the recommended one.
And that is the one that we're going to do.
And it notes here that this uses a proper authentication, not like the slightly hokey one we just did,
where you have, uh, authorization header that looks like this.
And that's the first thing that we are going to set up.
So we're going back to our workflow.
Go back here again.
We're going to add another tool.
And you know what kind of tool we're going to add in don't you?
We're going to add in an MCP client tool.
There it is.
Now it's HP Streamable.
That's what we want.
But first of them I just want to say that we are going to use this bearer auth as the type of uh, of
bearer auth to use.
And we are going to create a new credential and it's going to be a bearer auth account.
And the bearer token that we're going to paste in, there is going to be the one that we take from Hunter.
So over on Hunter we're going to go to API keys.
We're going to copy this API key right here.
It's copied.
We're going back to to here paste it in there exactly as it is.
And then press save.
And don't mess it up or nothing's going to work.
All right.
So then back to this MCP client which I only part filled in.
We now need to put in this endpoint.
Go back over to Hunter.
Here is the endpoint for Streamable HTTP.
There it is.
Copy that exactly as is.
Back over here.
Get rid of this and click here and paste.
There is the endpoint that is the endpoint to use for the HTTP streamable server transport for for our
server with this account that is set up.
Could it be that easy?
Could it just work?
Well, I think it might do.
We should give it a try.
Well, let me go back to the screen.
I am just going to update the agent to give it a slightly better system prompt.
Why not use the tools to search the internet and scrape websites to find the best potential?
And also use your tools to find the most likely email address for the sales for for the prospective.
For the prospect.
Prospect sorry and respond with five sales prospects.
All right, that's good, that's good.
Do something like that.
You don't do exactly this.
Just something that feels you could probably do a lot better than me.
Something that feels right.
And then back, here we go.
And then let's bring back up our chat.
Let's take this same exact thing here.
Copy that.
I'm you know what I'm going to do?
I'm also I'm going to get rid of the chat.
I'm going to get rid of the simple memory.
We don't need the memory.
I don't think because we just want it to, to, uh, to go through, um, and not necessarily, uh,
relate back to the past.
We just want to have a fresh conversation.
So let's do it this way.
And now give it a try and I will just tidy it up.
There we go.
That looks nice.
And bring up the chat and reset the chat history here and paste in there and let's see what happens.
Off it goes.
And I'm just going to minimize the chat for a moment so we can watch this.
It's running.
We will see it do its thing.
I'm probably not gonna give you the running commentary this time because it's going to take a while.
We can see it's already using one of the MCP clients.
It is.
Of course, it's presumably we now know it's doing five sets of searches, which is nice.
It's now perhaps going to do some scraping, and then we're hoping to see at the end of all.
That it's going to use the other MCP server.
It is already.
So it's just doing the searching.
It's not scraping this time.
It's gone back here.
Maybe it's it's doing more it's doing more use of Hunter.
Uh, and Hunter has a bunch of tools actually, including sales prospecting tools.
So it's entirely possible that it's going beyond just the email tools in Hunter.
And it's using the sales prospecting tools.
It's used Hunter 12 times now.
That's quite something.
Wow.
I'm I should probably stop the video, but I'm just too hooked on this 13 times now.
Goodness knows what it's doing.
We'll soon find out.
I will be back in a second when it completes and we will dig in.
Oh, it's completed all right, all right.
We will dig in and find out why it used Hunter 13 times.