badrinathvm

MCP AI Chat LangChain Example

Community badrinathvm
Updated

MCP ai chat with Langchain

MCP AI Chat LangChain Example

A basic implementation of a Model Context Protocol (MCP) server that demonstrates core functionality, including tools and resources. This guide will walk you through the steps to initialize, inspect, and integrate the server.

Getting Started

Before you begin, ensure you have the following installed:

  • Python (Version 3.8 or later)
  • uv CLI

To verify your installation, run:

    python --version
    uv --version

Initialization

To initialize the project, navigate to a local folder of your choice and launch your terminal (PowerShell or CMD). Then, run:

    uv init mcp-ai-chat-langchain

Create a virtual environment

    uv venv --python 3.12.0

To add a new dependency

    uv add langchain-groq
    uv addlangchain-openai
    uv add mcp-use

This will set up the project directory and install the necessary dependencies.

To execute the project

    uv run app.py

Resources

MCP Server ยท Populars

MCP Server ยท New

    williamzujkowski

    live-coding-music-mcp

    A Model Context Protocol (MCP) server that gives Claude direct control over Strudel.cc for AI-assisted music generation and live coding.

    Community williamzujkowski
    xmpuspus

    Cloudwright

    AI-powered cloud architecture - describe infrastructure in natural language, get Terraform, cost estimates, and compliance reports

    Community xmpuspus
    wallneradam

    Claude Auto-Approve MCP

    An MCP server to inject auto-approve MCP functionality into Claude Desktop

    Community wallneradam
    YV17labs

    ghostdesk

    Give any AI agent a full desktop โ€” it sees the screen, clicks, types, and runs apps like a human. Automate anything with a UI: browsers, legacy software, internal tools. No API needed. One Docker command.

    Community YV17labs
    remotebrowser

    mcp

    Free your data

    Community remotebrowser