Quick Start with Langchain and the Github MCP Server
This Python code gets you started with the MCP Github Server and Langchain MCP Adapters This package uses langchain-azure with Github Models to prototype with LLMs for free :)
To run the server locally with docker you should:
- Install docker
- Clone the mcp server repo
git clone https://github.com/modelcontextprotocol/servers.git cd servers
- Build the docker image
docker build -t mcp/github -f src/github/Dockerfile .
- Install the requirements and run the Python script