MCP_Server_Educhain

JEEVAKARTHIKEYAN1/MCP_Server_Educhain

3.2

If you are the rightful owner of MCP_Server_Educhain and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project integrates the EduChain library into an MCP server to dynamically generate educational content, making it accessible to external clients like Claude Desktop.

EduChain MCP Server Integration

šŸ“š Project Overview

This project demonstrates how to integrate the educhain library into an MCP (Modular Command Protocol) server to generate educational content dynamically. The MCP server is configured to expose tools and resources to external clients like Claude Desktop.


šŸ› ļø Features

  • āœ… Generate multiple-choice questions (MCQs) using the EduChain engine
  • āœ… Generate a lesson plan for any given educational topic
  • āœ… MCP-compliant server integration using the mcp SDK
  • āœ… Compatible with Claude Desktop (via claude_desktop_config.json)
  • āœ… Responses formatted as JSON for easy consumption

šŸŽ„ Demo Video

The demo video showing the MCP server in action is included in the repository:

Download Demo Video


šŸ—‚ļø Project Structure

mcp-server-demo/
│
ā”œā”€ā”€ .env # Environment variables (optional)
ā”œā”€ā”€ .gitignore # Git ignore rules
ā”œā”€ā”€ .python-version # Python version for pyenv (if used)
ā”œā”€ā”€ claude_desktop_config.json # Configuration file for Claude Desktop
ā”œā”€ā”€ educhain_engine.py # Custom EduChain wrapper functions
ā”œā”€ā”€ main.py # (Optional) Entry script
ā”œā”€ā”€ server.py # MCP server implementation
ā”œā”€ā”€ requirements.txt # Python dependencies
ā”œā”€ā”€ pyproject.toml # MCP project metadata
ā”œā”€ā”€ uv.lock # Dependency lockfile (uv)
└── README.md # This documentation

āš™ļø Setup and Installation

Clone the Repository:

git clone [your-github-repository-url]
cd MCP_Server_Educhain

Install uv:

# On most systems:
pip install uv

Install Dependencies:

uv add -r requirements.txt

Set Up API Key:

  1. Create a .env file in the root directory
  2. Add your Google API key:
GOOGLE_API_KEY="your-api-key-goes-here"

ā–¶ļø How to Run

Start the MCP server from your terminal:

uv run mcp install server.py

The server will expose tools for generating MCQs, lesson plans, and flashcards via MCP.


šŸ“š Resources