- Explore MCP Servers
- mcpLang_tutorial
Mcplang Tutorial
What is Mcplang Tutorial
mcpLang_tutorial is a comprehensive guide designed to enhance your skills in using LangGraph with MCP, focusing on integrating external services such as a math server and a Neon database.
Use cases
Use cases include building a LangGraph for arithmetic operations via a custom math server and connecting LangGraph to a Neon database for data querying and manipulation.
How to use
To use mcpLang_tutorial, follow the step-by-step instructions provided in the tutorial to set up the MCP configuration, define your API, and create LangGraph flows that interact with external services.
Key features
Key features include understanding the langchain-mcp-adapter, setting up custom APIs and databases, practical examples of integration, and detailed code walkthroughs.
Where to use
mcpLang_tutorial can be used in fields such as software development, data science, and any application requiring integration of external services with LangGraph.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcplang Tutorial
mcpLang_tutorial is a comprehensive guide designed to enhance your skills in using LangGraph with MCP, focusing on integrating external services such as a math server and a Neon database.
Use cases
Use cases include building a LangGraph for arithmetic operations via a custom math server and connecting LangGraph to a Neon database for data querying and manipulation.
How to use
To use mcpLang_tutorial, follow the step-by-step instructions provided in the tutorial to set up the MCP configuration, define your API, and create LangGraph flows that interact with external services.
Key features
Key features include understanding the langchain-mcp-adapter, setting up custom APIs and databases, practical examples of integration, and detailed code walkthroughs.
Where to use
mcpLang_tutorial can be used in fields such as software development, data science, and any application requiring integration of external services with LangGraph.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Unleash the Power of LangGraph with MCP: Math & Database Examples!
🚀 Ready to take your LangGraph skills to the next level? In this tutorial, we’ll dive deep into connecting LangGraph to external services using the powerful langchain-mcp-adapter!
We’ll walk you through the best way to use MCP with two practical examples:
1️⃣ Math Server Integration: Learn how to build a LangGraph that performs arithmetic operations by interacting with a custom math server through MCP. We’ll show you how to define your API, create the MCP configuration, and seamlessly integrate it into your LangGraph workflow.
2️⃣ Neon Database Connection: Discover how to connect LangGraph to a Neon database using MCP. We’ll demonstrate how to query and manipulate data in your Neon DB directly from your LangGraph, opening up a world of possibilities for data-driven applications.
This repo covers:
- Understanding the
langchain-mcp-adapterand its benefits. - Setting up and configuring MCP for custom APIs and databases.
- Creating LangGraph flows that interact with external services.
- Practical examples with a math server and Neon DB.
- Step-by-step code walkthroughs and explanations.
*URL FOR THE POSTMAN: (Send Request Via Post Method And Remove the Brackets) *
http://localhost:8123/threads/{your_thread_id}/runs/stream
*Body Format For The POSTMAN: (Remove The Brackets) *
{ "assistant_id": "(your-assistant_id)", "input": { "messages": [ { "content": "{your_message}", "type": "human" } ] }, "metadata": {}, "config": { "recursion_limit": 50 }, "stream_mode": [ "values" ], "feedback_keys": [ "" ], "stream_subgraphs": false, "on_completion": "delete", "on_disconnect": "cancel", "after_seconds": 1 }
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










