ed-tech-system-mcp
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., "@ed-tech-system-mcpFind documents about machine learning with related videos"
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.
ed-tech-system-mcp
Domain-Driven MCP (Model Context Protocol) server for ed-tech workflows. The server exposes validated MCP tools backed by LangGraph agents, Supabase document retrieval, web search, and YouTube video discovery — all organized with Clean Architecture and DDD.

What this project does
External clients (Cursor, other MCP hosts) call MCP tools that validate input with Pydantic, delegate to application workflows and LangGraph agents, and reach external systems through domain ports implemented in the infrastructure layer.
MCP tools
Tool | Purpose |
| Liveness probe |
| Document retrieval enriched with related videos (pruned response payloads) |
| YouTube video search for educational content |
| Full document + video discovery LangGraph workflow |
All tool handlers are wrapped with MCP tool caching (when enabled), per-tool latency logging, and domain error mapping at the protocol boundary.
Integrations
Capability | Integration |
Document retrieval | Supabase (Postgres / pgvector) |
Web search | DuckDuckGo (optional Tavily) — wiring deferred until HTTP adapters land |
Video discovery | YouTube Data API v3 |
Agent orchestration | LangChain / LangGraph |
Caching | Redis ( |
Local workflow UI | FastAPI + React (dev tooling) |
Adapter status: Infrastructure adapters are scaffolded with domain guards and exception taxonomy; full HTTP implementations (BL-022) are deferred. MCP tools exercise the workflow and port contracts through the composition root.
Architecture
The codebase follows Clean Architecture with five layers under src/mcp_server/:
entrypoint → interface → application → domain ← infrastructure
(main.py) (MCP tools) (agents) (ports) (adapters)Layer | Path | Responsibility |
domain |
| Entities, ports, domain exceptions — no framework imports |
application |
| LangGraph workflows, agent orchestration |
interface |
| MCP tools, Pydantic validation, protocol adapters |
infrastructure |
| Supabase, search, YouTube, Redis adapters |
entrypoint |
| Bootstrap, settings, dependency injection |
Read next: ARCHITECTURE.md for layer rules, patterns, and anti-patterns. AGENTIC_ARCHITECTURE.md for LLM wiring, tool taxonomy, and agent flows. OBSERVABILITY.md for the local LangGraph workflow UI, execution replay, and trace debugging.
Quick start
Prerequisites
Python 3.12 (see
requires-pythoninpyproject.toml)uv — environment and dependency manager
Doppler CLI (recommended for secrets) or a local gitignored
.env
Install
uv python install 3.12
uv sync --all-groupsConfigure secrets
Secrets never enter git. Use Doppler (team) or a local .env (solo dev).
doppler login
./scripts/doppler/setup-local.sh
./scripts/doppler/bootstrap-from-env-example.sh # first time only — uploads placeholders
# Fill real values in the Doppler dashboard → ed-harness-systemRequired variables: APP_ENV, SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, YOUTUBE_API_KEY.
Optional: GROQ_API_KEY (only when an LLM path is invoked — lazy-init at first use), TAVILY_API_KEY, LOG_LEVEL (applied at bootstrap via configure_logging()), CACHE_ENABLED + REDIS_URL (production).
See ENVIRONMENT_SETUP.md and .cursor/skills/doppler-env-setup/SKILL.md for the full secrets workflow.
Run the MCP server
# With Doppler
doppler run -- uv run mcp-server
# With local .env (APP_ENV=development)
uv run mcp-serverRun the workflow UI (optional)
Local dev UI for inspecting workflow graphs, running test executions, and replaying traces:
./scripts/dev/run-workflow-ui.shAPI: http://127.0.0.1:8877 (default) · React dev server: http://127.0.0.1:4173
View | What it shows |
Workflow explorer | Sidebar of registered LangGraph workflows with run forms |
Graph canvas | Compiled nodes, forward/retry/failure edges, live replay highlighting |
Execution replay | Step-by-step trace with validation errors and retry decisions |
Node I/O inspector | Per-step state snapshots, LLM prompts, and raw model output |
Graph visualization — retry loops and parallel branches are rendered on the canvas:
Content generation (validation retries) | Research article (parallel tool calls) |
|
|
Trace replay & debugging — after a run, scrub through each node, inspect failures, and read LLM I/O:

Node I/O inspector — per-step state snapshots, validation errors, and LLM prompts/raw output:

See OBSERVABILITY.md for graph replay, node I/O inspection, and trace API details.
To refresh README screenshots after UI changes:
./scripts/dev/run-workflow-ui.sh # in one terminal
npx -p playwright node scripts/dev/capture-ui-screenshots.mjs # in anotherDevelopment
Day-to-day commands
uv sync --frozen # after pulling lockfile changes
uv run mcp-server # start server
uv run ruff check src/ # lint
uv run ruff format --check src/
uv run mypy src/ # type check
uv run pytest # tests (143 cases as of 2026-07-21)Engineering backlog
Audit findings are triaged into backlog/BACKLOG.md (RICE-ranked, traceable to changelog audits). As of 2026-07-21: 23 done, 6 deferred (adapter HTTP implementation, profiling, trace IDs). The master agent executes same-scope items in batches and updates backlog status after homologation.
Add dependencies
uv add some-package # runtime
uv add --group dev some-tool # dev onlyDo not use pip install in this repo — it bypasses the lockfile.
Quality gates (CI parity)
uv sync --frozen --all-groups
uv run ruff check src/
uv run mypy src/
npm run lint:architecture # layer imports + boundary patterns (also runs on git push)
uv run pytestGit hooks: Husky pre-commit blocks secrets and sensitive files only; architecture lint runs on pre-push and in pytest — it does not block commits.
Run quality-gate commands from the repository root (ed-tech-system-mcp/), not ui/. The same scripts are also available inside ui/ via npm run hooks:test and npm run lint:architecture.
Project layout
.
├── src/mcp_server/ # Application source (layered)
├── tests/ # pytest suites
├── ui/ # React workflow graph UI
├── scripts/
│ ├── doppler/ # Secret bootstrap and local setup
│ ├── hooks/ # Husky pre-commit guards
│ └── dev/ # Dev tooling (workflow UI launcher)
├── docs/
│ └── assets/ # README screenshots (workflow UI)
├── changelog/ # Agent long-term memory (investigations, reviews, tests)
├── backlog/ # RICE-ranked engineering backlog (BACKLOG.md, RICE.md)
├── .cursor/ # Cursor agents, rules, and skills — see CURSOR.md
├── ARCHITECTURE.md # Layer boundaries and patterns
├── AGENTIC_ARCHITECTURE.md # Agent graphs and tool orchestration
├── OBSERVABILITY.md # Workflow UI, trace replay, debugging
├── ENVIRONMENT_SETUP.md # uv, secrets, CI, MCP client config
└── CURSOR.md # Cursor IDE configuration referenceDocumentation index
See the full documentation matrix at the end of this file for canonical docs, changelog artifacts, Cursor rules/skills, and agent routing.
Cursor / MCP client integration
Register the server in your MCP host using the project interpreter:
{
"mcpServers": {
"ed-tech-system": {
"command": "doppler",
"args": ["run", "--", "uv", "--directory", "/absolute/path/to/ed-tech-system-mcp", "run", "mcp-server"]
}
}
}Alternative patterns (local .env, uv launcher) are in ENVIRONMENT_SETUP.md § Cursor / MCP client integration.
Agent-driven development
This repo uses Cursor subagents, a changelog/ memory system, and a backlog/ task queue for feature work.
Delivery pipeline (orchestrated by master):
incremental-layer-builder → changelog-code-reviewer → remediation → test-homologator → backlog updateAudit pipeline (feeds the backlog):
code-health-auditor / performance-auditor → backlog/BACKLOG.md (RICE-ranked) → master (batched execution)See CURSOR.md for agent roles, rules, batching conventions, and invocation guidance.
Documentation matrix
Read the minimum doc set for your task. Do not load everything.
Canonical docs (repo root)
Document | Read when |
First visit — overview, quick start, MCP tools, workflow UI | |
Any code change — layers, ports/adapters, deps per layer, file layout, anti-patterns | |
LangGraph/LangChain agents, LLM wiring, tool taxonomy, DB/web/video flows | |
Local workflow UI, execution replay, trace/API debugging | |
| |
Cursor agents, rules, skills, and changelog workflow |
Conflict resolution: ARCHITECTURE.md wins on layer boundaries; AGENTIC_ARCHITECTURE.md wins on orchestration semantics.
Engineering backlog
Document | Read when |
RICE-ranked tasks from audits; status tracking for agent batches | |
Scoring rubric and priority formula for backlog items |
Changelog memory (changelog/{DATE}/{LAYER}/)
Agent long-term memory for investigations, implementations, reviews, audits, and test homologation.
File pattern | Read | Write |
| Before coding — gaps, scope, minimal increment | Start of feature/refactor/scaffold work |
| During execution — checklist, status | After investigation; update while coding |
| Before merge — review findings | After implementation ( |
| Before writing tests — behavior catalog | Start of test/homologation work ( |
| Verify coverage verdict | After tests pass ( |
| Before perf work — bottleneck findings | Performance audit ( |
| Before refactors/cleanup — dead/dup/redundant findings | Code health audit ( |
| Before cleanup implementation — merged actions from audits | Refactor planning ( |
Pairing: IMPLEMENTATION{N} ↔ INVESTIGATION{N}; CODE_REVIEW{N} ↔ same {N}. REFACTOR{N} references matching PERFORMANCE_AUDIT* and CODE_HEALTH_AUDIT* from the same date slug. Folder layout and status values: .cursor/rules/changelog-agent-memory.mdc.
Cursor rules & skills
File | Read when |
Routing which doc to read or write for a task | |
Creating or continuing changelog files | |
| |
First-time or broken Doppler / local secret bootstrap |
Cursor agents (.cursor/agents/)
Agent | Invoke when |
| Feature, refactor, or scaffold work |
| Post-implementation review |
| Test inventory, pytest, homologation |
| Performance bottleneck audit |
| Dead code, duplication, maintainability audit |
| Audit synthesis → change/remove refactor plan |
| Full build → review → test cycle |
Quick routing
Code in a layer? → ARCHITECTURE.md (+ AGENTIC_ARCHITECTURE.md if agents/tools/LLM)
Workflow UI / traces? → OBSERVABILITY.md
Environment / CI? → ENVIRONMENT_SETUP.md
Secrets / Doppler? → secrets-env-safety.mdc → doppler-env-setup skill
New work? → changelog INVESTIGATION → IMPLEMENTATION → code → CODE_REVIEW
Tests / merge gate? → changelog TEST → tests → HOMOLOGATION
Audits / cleanup? → PERFORMANCE_AUDIT / CODE_HEALTH_AUDIT → REFACTOR → backlog
Cursor config? → CURSOR.mdLicense
See repository metadata for license information.
This server cannot be installed
Maintenance
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/paulocymbaum/ed-tech-system-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server

