MCP + LangGraph Agent

Created By
hirokiyna year ago
LangGraph agent tutorial adapted to use MCP servers.
Overview

What is MCP + LangGraph Agent?

MCP + LangGraph Agent is a minimal example of an agent powered by LangGraph, utilizing MCP (Model Context Protocol) servers instead of traditional LangChain tools. It serves as a tutorial for integrating MCP servers as tools in a LangGraph agent.

How to use MCP + LangGraph Agent?

To use the MCP + LangGraph Agent, clone the repository, install dependencies using Poetry, set up the Anthropic API key, start the MCP servers, and run the agent in interactive mode to enter prompts.

Key features of MCP + LangGraph Agent?

  • Integrates LangGraph for managing agent state and message routing.
  • Uses MCP servers for tool access, including math and weather servers.
  • Provides a command-line interface for user interaction.

Use cases of MCP + LangGraph Agent?

  1. Performing mathematical calculations through the math server.
  2. Fetching weather information using the weather server.
  3. Building custom agents with integrated MCP tools.

FAQ from MCP + LangGraph Agent?

  • Can I customize the MCP servers?

Yes! You can modify the configuration in src/main.py to add or remove servers.

  • Is there a graphical interface for the agent?

No, the agent currently operates through a command-line interface.

  • What programming language is used?

The project is implemented in Python.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
hirokiyn
Star
0
Language
Python
License
-

Recommend Servers

View All
Fixmypdf

17 hours ago
Ghl Command
@Elite DCs LLC

GoHighLevel MCP server for Claude. 212 tools across 43 modules, including the only programmatic GHL workflow builder (private API, reverse-engineered), funnel + page editor, form builder, pipeline builder, pre-deploy validator, multi-sub-account switching, bulk operations, and full account export. $97 one-time, lifetime updates. GHL Command gives Claude full programmatic control of GoHighLevel through 212 tools across 43 modules. Built for GoHighLevel agency operators who manage many client sub-accounts and want to onboard new clients in minutes instead of days. Exclusive capabilities (none of the free GHL MCPs have these): - Programmatic workflow builder. Create, edit, clone, publish, and validate complete GHL workflows from a single prompt. GHL's public API has no workflow write endpoints; this uses their internal API (the same one their UI calls). - Funnel + page editor and form builder (also private API). - Pipeline builder, goal event builder, full 57-native-trigger registry. - Pre-deploy validator that catches GHL's silent invalid-ID failure (a common workflow-breaking bug GHL never warns you about). - Multi-sub-account token registry. Switch between any client account mid-conversation; API keys swap automatically. - Bulk operations: tag, update, enroll, delete hundreds of contacts in one command. - Full account export and side-by-side location diff for audit or migration. Works with Claude Desktop App, Claude Code (terminal), and headless on a Linux server or droplet. $97 one-time, 3 machines, no subscription, lifetime updates. 30-day time-back guarantee: save 5+ hours on one real client build or full refund.

a day ago