AI代理系统

一个基于LangGraph和MCP的全栈AI代理系统,能够调用本地和云端工具执行实时股票价格查询、费用跟踪、网络搜索和持久对话记忆等任务。

  • by Zaeem-Hassan
  • Python
  • 云端部署
  • 更新于
在 GitHub 查看 Zaeem-Hassan/-MCP-Client-using-LangGraph

使用说明

-MCP-Client-using-LangGraph

LangGraph MCP Client + FastMCP Cloud Expense Tracker Server + Stock Price Tool

This project is a full-stack AI Agent System built using LangGraph, MCP (Model Context Protocol), and FastMCP Cloud.
It shows how an AI agent can call tools — both local and cloud-hosted — to perform real-world tasks like:

  • ✔️ Fetching live stock prices
  • ✔️ Reading/writing from your FastMCP cloud Expense Tracker server
  • ✔️ Running web search
  • ✔️ Maintaining persistent conversation memory

Watch demo here https://youtu.be/MvDsPgjbRu8

Project Highlights

LangGraph MCP Client

A fully asynchronous agent capable of connecting to multiple MCP servers via:

  • MCP over SSE (FastMCP cloud)
  • MCP over stdio (local tools)
  • Automatic tool loading with client.get_tools()

Integrated tools include:

  • GPT-OSS-120B (via Groq)
  • DuckDuckGo Search
  • Stock Price Tool
  • Expense Tracker (FastMCP)

FastMCP Cloud-Hosted Server

Your Expense Tracker server is live at: https://Expense-tracker.fastmcp.app/mcp Exposes tools like:

  • add_expense
  • get_expenses
  • delete_expense
  • get_total
  • etc.