MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

M
MCP Local School Orchestrator

A Local Agentic School Management System using Model Context Protocol (MCP), LangGraph, and Ollama. Feature-rich PoC with SQLite data, PDF reporting, and an AI-driven Streamlit interface.

创建于 3/17/2026
更新于 about 3 hours ago
Repository documentation and setup instructions

🏫 School MCP Agent Admin: Local Agentic AI PoC

MCP Ollama

School MCP Agent Admin is a privacy-first, local-first management system powered by the Model Context Protocol (MCP). It allows school administrators to query student data and generate PDF reports using natural language, all running on a local LLM. A Local Agentic School Management System using Model Context Protocol (MCP), LangGraph, and Ollama. Feature-rich PoC with SQLite data, PDF reporting, and an AI-driven Streamlit interface.

🏗️ Architecture

  • Host: Streamlit (Web UI)
  • Orchestrator: LangGraph + LangChain
  • Client: MCP Python SDK (Subprocess Transport)
  • Server: FastMCP (Python)
  • LLM: Ollama (Llama 3.1)
  • Backend: SQLite

🚀 Getting Started

1. Prerequisites

  • Install Ollama and run ollama pull llama3.1.
  • Python 3.10+.

2. Installation

git clone https://github.com/NxtGenCodeBase/mcp-local-school-orchestrator.git
cd school-mcp-agent-admin
pip install -r requirements.txt

### 🏗️ Project structure

school-mcp-agent-orchestrator/
├── .gitignore
├── README.md   
├── requirements.txt
├── database.py       # Mock Backend Data Layer
├── server.py         # MCP Server (The Tools)
├── orchestrator.py   # MCP Client,LangGraph Logic are combined inside app.py file
└── app.py            # Streamlit Host Interface

### 🏗️ How it works
- Host (Streamlit) receives your question: "Generate a report for me."
- Host passes this to the Orchestrator (LangGraph/Ollama) to reason.
- The Orchestrator tells the Client (ClientSession): "I need to run the generate_student_report tool."
- The Client sends a JSON-RPC message over stdio to the Server (server.py).
- Server executes the Python code, creates the PDF, and sends the path back to the Client. 





快速设置
此服务器的安装指南

安装包 (如果需要)

uvx mcp-local-school-orchestrator

Cursor 配置 (mcp.json)

{ "mcpServers": { "nxtgencodebase-mcp-local-school-orchestrator": { "command": "uvx", "args": [ "mcp-local-school-orchestrator" ] } } }