programming-tutor
Click on "Deploy 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., "@programming-tutorIs 17 a prime number? Explain why."
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 Agent
Python programming tutor built with LangChain, Gemini, and MCP tools.
The agent answers coding questions. When a question needs a check
(palindrome, prime, Fibonacci, GCD, and similar), it calls tools from
mcp_server.py and then explains the result in plain language.
Demo
Preview player: https://drive.google.com/file/d/1X8HZTsvx9oTEdc2P6xVx4szGgzhltDgM/preview
Also on GitHub: demo.mp4






What the demo shows:
Project files in VS Code (
tutor_agent.py,mcp_server.py)MCP Inspector connected to Programming Tutor
Live tool runs:
check_prime(6),reverse_string("hello"),sum_of_digitsCodex listing all 13 tools and
check_leap_year(2005)→ not a leap year
Related MCP server: Learning Assistant MCP Server
Stack
LangChain
create_agentGemini (
gemini-2.5-flash)MCP server (
FastMCP) over stdioLangGraph smoke test in
test_langgraph.py
Setup
cd programming-tutor-agent
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .envGOOGLE_API_KEY=your_keyRun
python main.py
python tutor_agent.py
python test_langgraph.py
python mcp_server.pyMCP Inspector
npx @modelcontextprotocol/inspector python mcp_server.pySame tools from Codex / Cursor
Use mcp.json so the client can call the programming-tutor server.
MCP tools
check_palindromecheck_armstrongfibonaccicheck_primefactorialreverse_stringcheck_even_oddsum_of_digitsgcdlcmcheck_leap_yearcount_vowelscheck_anagram
Related MCP Connectors
I do everything related to coding and execution tasks
Validates Luhn, IBAN, ISBN, EAN/UPC, SWIFT/BIC, and EU VAT checksums and formats.
Checksum validation for AI agents: IBAN, ISBN, EAN/GTIN, UUID, ULID. Deterministic, no auth.
Validates PESEL/NIP/REGON/IBAN/Luhn/ISBN/EAN/BIC/VAT; RPN, dates, hash, tokens, random, encode, time
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides brutally honest code reviews, explanations, and refactoring suggestions via CLI and MCP tools.849 npm97MIT
- AlicenseAqualityDmaintenanceProvides educational tools for developers to learn programming concepts, review code, get best practices, compare approaches, generate learning paths, debug, explain code, and quiz themselves.8MIT
- FlicenseBqualityCmaintenanceProvides 23 modular tools for competitive programming, including problem analysis, algorithm planning, code generation, verification, testing, code review, and learning assistance.23-
- AlicenseAqualityCmaintenanceEnables an interactive, gamified coding tutor that executes commands, provides lessons with explanations and quizzes, and tracks progress through levels and streaks, optionally with voice narration.86 npmMIT