finish mcp tutorial

This commit is contained in:
zachary62
2025-03-29 13:15:13 -04:00
parent d359ce486a
commit eb80114122
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -37,6 +37,11 @@ This project shows how to build an agent that performs addition using PocketFlow
## How It Works
```mermaid
flowchart LR
tools[GetToolsNode] -->|decide| decide[DecideToolNode]
decide -->|execute| execute[ExecuteToolNode]
```
The agent uses PocketFlow to create a workflow where:
1. It takes user input about numbers
@@ -47,5 +52,4 @@ The agent uses PocketFlow to create a workflow where:
- [`main.py`](./main.py): Implementation of the addition agent using PocketFlow
- [`utils.py`](./utils.py): Helper functions for API calls and MCP integration
- [`simple_server.py`](./simple_server.py): MCP server that provides the addition tool
- [`simple_client.py`](./simple_client.py): Example client that connects to the MCP server
- [`simple_server.py`](./simple_server.py): MCP server that provides the addition tool