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: Cynical Sally
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
This server cannot be deployed
Maintenance
Related MCP Connectors
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/SWIFT-BIC/VAT; RPN calc, date math, hashing, tokens
Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn enhanced sequential thinking tool optimized for programming tasks that helps break down complex coding problems into structured, self-auditing thought steps with branching and revision capabilities.149 npm257MIT
- AlicenseAqualityAmaintenanceProvides brutally honest code reviews, explanations, and refactoring suggestions via CLI and MCP tools.891 npm93MIT
- 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
- FlicenseBqualityBmaintenanceProvides 23 modular tools for competitive programming, including problem analysis, algorithm planning, code generation, verification, testing, code review, and learning assistance.23-