MCP Crash Course MCP Server

A practical demonstration of integrating LangChain with Model Control Protocol (MCP) featuring both single and multi-server implementations. Includes

Local serverstdioPython

What is the MCP Crash Course MCP Server?

A practical demonstration of integrating LangChain with Model Control Protocol (MCP) featuring both single and multi-server implementations. Includes examples of

The short version

A demonstration project showcasing the integration of LangChain with Model Control Protocol (MCP) adapters. This project implements a system that can handle both mathematical calculations and weather queries through separate MCP servers.

  • Multiple MCP server integration (math and weather servers)
  • LangChain integration with OpenAI
  • Async operation support
  • Environment variable configuration

What it needs from you

  • Python 3.x - OpenAI API key

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.x - OpenAI API key
VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

Python 3.x and an OpenAI API key are required. Dependencies include `langchain-core`, `langchain-openai`, `langchain-mcp-adapters`, `langgraph`, `python-dotenv`, and `mcp`.