
Running Client locally to test
Now the server is up and running locally, lets attempt to bring up FastMCP Client that can communicate with the server.
This mcp client is basic which connects to the mcp server using sse_client and lists all the tools and resources available. Lets extend this to call the tools and resources exposed by the server.
Lets try with create_booking tool calling using call_tool method
When we run this code, we see the output as below
The bigquery table has the below details
Great going so far, we have got the MCP server setup and the MCP client to call the MCP tools to interact with Bigquery.
We will be making few changes in the coming section to update the URL to point to cloud run instead of locally running MCP server
Source Credit: https://medium.com/google-cloud/the-triad-of-agent-architecture-adk-mcp-and-cloud-run-3fe8d1d69ebb?source=rss—-e52cf94d98af—4