teacher_dsa
Verified Safeby kolikaran1992
Overview
This MCP server acts as an AI assistant to track and guide a user's progress on LeetCode Data Structures & Algorithms problems, logging attempts and patterns without providing full solutions.
Installation
poetry run python teacher_dsa/leetcode_dsa_mcp_server.pyEnvironment Variables
- TEACHER_DSA_TZ
- TEACHER_DSA_LOGGER_NAME
- TEACHER_DSA_BASE_DATA_PATH
- TEACHER_DSA_BASE_DB_FILE
- SECRETS_DIRECTORY
Security Notes
The server uses the 'requests' library to interact with the official LeetCode GraphQL API. It constructs URLs and payloads using a provided 'title_slug', rather than allowing arbitrary user-supplied URLs, which significantly mitigates SSRF and injection risks. No 'eval' or obvious obfuscation is present. Configuration uses Dynaconf with environment variable support ('SECRETS_DIRECTORY', 'TEACHER_DSA_'), indicating proper handling for secrets, though no external API keys are explicitly required by the LeetCode API interaction shown. The primary risk would be potential vulnerabilities in the LeetCode GraphQL endpoint itself, or if sensitive data were unexpectedly passed through the title_slug.
Similar Servers
zen-mcp-server
A server for coordinating and managing AI agents, likely for simulations or complex task execution, leveraging Claude LLMs.
vibe-check-mcp-server
Provides a plug-and-play AI meta-mentor layer for LLM agents, offering metacognitive questioning to prevent over-engineering, reasoning lock-in, and misalignment.
mcp_massive
An AI agent orchestration server, likely interacting with LLMs and managing multi-agent workflows.
simplenote-mcp-server
A lightweight Model Context Protocol (MCP) server that integrates Simplenote with Claude Desktop to provide note management, search, and organization capabilities for AI assistants.