Link to Workshop: https://www.aiuserconference.com/speaker/hari-patchigolla
Video Recording: (Coming Soon!)
In this 50 minute workshop we will go over the conceptual topics regarding MCPs and then go into creating our own MCP Clients and Servers using mcp[cli], FastMCP, and PaydanticAI with LogFire! More specifically we will see how MCP address the current limitations of LLMs bound to tools with a real example of creating an Agentic perosnal finance system!
- Git Clone this repository:
git clone https://github.com/hari-p02/AIUC-MCP-Workshop.git
cd AIUC-MCP-Workshop
- Sync with
uv:
uv sync
- Create a
.envfile in the root directory of the repository:
ANTHROPIC_API_KEY=
GOOGLE_CREDENTIALS_FILE=
GOOGLE_SHEETS_ID=
LOGFIRE_TOKEN=
SERVER_DETAILS=../server/server_details.yaml
-
Create OAuth 2 Secrets from Google: Video Tutorial
-
Enable the Gmail, Docs, Sheets, and Drive APIs
-
Copy the path to the downloaded
.jsoncredentials and save it inGOOGLE_CREDENTIALS_FILEon the.envfile -
Create a free LogFire account here.
-
Once you make an account you will get a token, this will be the value of
LOGFIRE_TOKENin the.envfile. -
Run
logfire authon the terminal, and you will be prompted to log in -
Create a new google sheet in the same account as your OAuth Credentials!
-
Copy the sheet id (in the url) and set it to
GOOGLE_SHEETS_IDin the.envfile. -
Download this Personal Finance dataset from kaggle
-
Cope the contents of
personal_transactions.csvinto the google sheet you made above. -
Delete the
Transation TypeandAccount Namecolumns. -
Make sure all the columns are in a row!!!