eunsugoh_simple_mcp_server_with_langgraph

eunsugoh_simple_mcp_server_with_langgraph

by EunsuGoh
A simple MCP server implementation using Langgraph for ChatGPT-like applications.

Langgraph-Enhanced MCP Server for ChatGPT Integration

Overview

The Langgraph-Enhanced MCP Server for ChatGPT Integration is a Python-based project designed to facilitate seamless integration between ChatGPT and an MCP (Message Control Protocol) server. This implementation leverages Langgraph to enhance the server's capabilities, enabling advanced message handling and processing.

Tools and Technologies

  • Python Version: 3.11
  • Key Libraries: Langgraph, Streamlit (optional)
  • Repository Structure:
  • langgraph_chatgpt: A ChatGPT clone project using Streamlit and MCP.
  • langgraph_chatgpt_mcp: A ChatGPT clone project without Streamlit, integrated with MCP.
  • multiple_mcp_servers: Demonstrates running multiple MCP servers concurrently.
  • simple_server_client: A basic client-server implementation.

Configuration

  1. Environment Setup:
  2. Ensure Python 3.11 is installed.
  3. Install dependencies using pip install -r requirements.txt.
  4. Copy .envsample to .env and configure environment variables.

  5. Running the Server:

  6. For the basic implementation, run client.py in the simple_server_client directory.
  7. For multiple servers, execute weather_server.py and client.py in the multiple_mcp_servers directory.

Usage

Simple Server-Client

  • Navigate to the simple_server_client directory.
  • Run client.py to start the client and interact with the server.

Multiple MCP Servers

  • Navigate to the multiple_mcp_servers directory.
  • Run weather_server.py to start the weather server.
  • Run client.py to interact with the weather server.

ChatGPT Clone Projects

  • With Streamlit:
  • Navigate to the langgraph_chatgpt directory.
  • Run the Streamlit app to interact with the ChatGPT clone.
  • Without Streamlit:
  • Navigate to the langgraph_chatgpt_mcp directory.
  • Run the server and client scripts to interact with the ChatGPT clone.

Resources

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is open-source and available under the MIT License.

Features & Capabilities

Categories
mcp_server model_context_protocol python chatgpt langgraph api_integration

Implementation Details

Stats

0 Views
0 Favorites
1 GitHub Stars

Repository Info

EunsuGoh Organization

Similar Servers

continuedev_continue by continuedev
0
0
0