AI Tutor MCP Toolkit
Provides AI-powered tutoring tools for explaining concepts, summarizing text, generating flashcards, and creating quizzes, using OpenAI models with streaming responses.
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., "@AI Tutor MCP Toolkitexplain the concept of neural networks to me like I'm 10"
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.
AI Tutor MCP Toolkit
A client-server project built on the Model-Context-Protocol (MCP).
server.py— a Gradio app exposing four OpenAI-powered, streaming tutoring tools over MCP:explain_concept,summarize_text,generate_flashcards, andquiz_me.client.py— connects to that server over SSE, fetches its tool schema at runtime (no hardcoded tool definitions), and runs an OpenAI Agent that picks the right tool for each user request in an interactive chat loop.
Why this project is interesting
Most "agent" demos hardcode which functions an LLM can call. Here the client discovers the server's tools dynamically by fetching its MCP schema at startup — the same pattern a real multi-service agent platform would use, so the server could add or change tools without the client's code changing.
Related MCP server: OpenAI Assistant MCP Server
Project structure
.
├── server.py # MCP server — the 4 tutoring tools + Gradio UI
├── client.py # MCP client — schema discovery + OpenAI Agent + chat loop
├── requirements.txt
├── .env.example # copy to .env and add your key
└── .gitignoreSetup
py -3.11 -m venv venv
venv\Scripts\activate
py -3.11 -m pip install -r requirements.txtCopy .env.example to .env and add your key:
OPENAI_API_KEY=sk-...Never commit
.env— it's already in.gitignore.
Run
You need two terminals, since the server and client are separate processes.
Terminal 1 — start the server:
py -3.11 -m python server.pyWait until you see:
Starting AI Tutor MCP Toolkit on port 7860...
* Running on local URL: http://0.0.0.0:7860
🔨 Launching MCP server:
* Streamable HTTP URL: http://localhost:7860/gradio_api/mcp/Terminal 2 — start the client:
py -3.11 -m python client.pyIt will fetch the server's schema, print it, then drop you into a chat loop:
User: explain agentic AI tools like I'm 10
Assistant: ...Type exit or quit to stop. At the end it prints every tool the agent
called during the session and the arguments it used — useful for verifying
the agent picked the right tool.
Available tools
Tool | Arguments | What it does |
|
| Streams an explanation at the requested depth (1 = ELI5, 5 = expert) |
|
| Streams a summary at roughly that fraction of the original length |
|
| Streams Q/A flashcards, one JSON object per line |
|
| Streams a multiple-choice quiz, then an answer key |
You can also try the tools directly through the Gradio UI at
http://localhost:7860 without going through the agent at all.
Troubleshooting
Could not reach the MCP server/ connection errors in the client — make sureserver.pyis running first, in its own terminal, and that nothing else is using port 7860.ModuleNotFoundError— you likely installed dependencies into a different Python than the one running the script. Usepy -3.11 -m pip install -r requirements.txtandpy -3.11 -m python server.py/client.pyconsistently.ImportErrorfrom inside theopenaipackage — usually a corrupted or version-mismatched install. Fix with:py -3.11 -m pip install --force-reinstall --no-cache-dir openaiErrors only inside a tool call (e.g.
explain_concept) but the server starts fine — check thatOPENAI_API_KEYis actually loaded (.envin the same folder asserver.py) and that your OpenAI account has quota.
Notes
Tools stream tokens (
yield partial) rather than returning one blocking response — this is what gives the low-latency, "typing" feel in the UI.The agent's system prompt instructs it to return only JSON with
toolandargumentswhen calling a tool, and to answer directly in plain language when no tool fits — worth readingclient.py'sAGENT_INSTRUCTIONSif you want to see the full prompt design.
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.
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Generate contextual prompts and reusable agent skills, evaluate prompts with the 16-dimension Prompt Score, and manage saved work in PromptDrive. Twelve MCP tools also provide authorized access to private Memory for source-grounded answers. Connect over Streamable HTTP using OAuth 2.1 and PKCE. Generation consumes account quota and automatically saves successful results; Memory access follows account permissions and plan limits.
- WauldoOAuthcom.wauldo
Stateless agentic tools over MCP: concept extraction, long-context, knowledge graph, planning.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes OpenAPI specifications as MCP tools, enabling AI assistants to explore and understand API structures, endpoints, schemas, and documentation through semantic queries.7MIT
- FlicenseBqualityDmaintenanceEnables interaction with OpenAI's Chat Completion and Assistants APIs, supporting assistant management, file operations, and direct queries to GPT models through standardized MCP tools.92-
- AlicenseNot gradedqualityDmaintenanceExposes OpenAPI endpoints as MCP tools, enabling LLMs to discover and interact with REST APIs through the MCP protocol.10MIT
- FlicenseAqualityDmaintenanceExposes two MCP tools (discover and execute) that enable agents to query an OpenAPI schema via natural language and execute matched API operations.2-