offline-mcp-educational-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@offline-mcp-educational-serverGenerate 3 MCQs on cellular respiration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
โ
README.md
# Offline MCP Server โ EduChain Assignment Submission
This project implements an **offline MCP (Meta-Channel Protocol) server** that simulates educational content generation tools without using any external LLMs (e.g., OpenAI or Gemini). It is fully compatible with Claude Desktop or can be tested independently using browser, Postman, or cURL.
---
## ๐ Project Structure
. โโโ run.py # Entry point to run the Flask server โโโ requirements.txt # Dependencies (Flask) โโโ claude_desktop_config.json # Claude Desktop configuration (optional) โโโ Sample_Responses.txt # Sample API calls and responses โโโ README.md # This file โโโ app/ โโโ init.py # Initializes the Flask app โโโ routes.py # Flask routes and UI form โโโ edu_utils.py # Core educational logic (MCQs, plans, flashcards)
---
## ๐ Features
| Tool | Endpoint | Description |
|------------------|--------------------------|-------------------------------------------------|
| MCQ Generator | `/generate-mcqs` | Generates MCQs based on topic and count |
| Lesson Plan Tool | `/get-lesson-plan` | Returns a structured lesson plan for a subject |
| Flashcards Tool | `/generate-flashcards` | Creates flashcards from topic keywords |
| Test UI | `/` | Browser form to test all routes easily |
---
## ๐ง LLM-Free Design
Instead of calling real LLMs like OpenAI or Gemini, this project:
- Uses **handwritten logic**
- Returns **realistic educational content**
- Fully mimics JSON structure expected by Claude Desktop
---
## ๐ง Installation & Run
### Step 1: Install requirements
```bash
pip install -r requirements.txtStep 2: Run the Flask server
python run.pyBy default, the server runs on:
http://localhost:5001๐ Test the Server (Without Claude)
Visit in browser:
http://localhost:5001Use the dropdowns and forms to test:
Generate MCQs
Get Lesson Plan
Create Flashcards
Or use Postman / curl.
๐งช Sample Request
POST /generate-mcqs
{
"topic": "Python Basics",
"count": 2
}Sample Response
{
"mcqs": [
{
"question": "Which keyword is used to define a function in Python?",
"options": ["define", "def", "func", "lambda"],
"answer": "def"
},
...
]
}๐ Claude Desktop Integration (Optional)
Use the claude_desktop_config.json file provided to connect this server to Claude Desktop. Restart Claude Desktop after configuring it.
๐ฅ Submission Checklist
mcp_server.pyโ now modular:run.py + routes.py + utils.pyclaude_desktop_config.jsonSample_Responses.txtREADME.mdUses NO LLMs (fully offline)
Tested via browser, Postman, and curl
๐ง Author
Nihal Jaiswal B.Tech (2026) GitHub: [github.com/yourusername]
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nihal108-bi/offline-mcp-educational-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server