Discrete Structures
Comprehensive tools for discrete mathematics: logic, algorithms, number theory, cryptography
Que pouvez-vous faire avec Discrete Structures ?
- Algorithm Visualizer: Step-by-step animations of sorting and searching algorithms
- Cryptography Playground: Explore classical and modern encryption techniques
- Logic Calculator: Boolean algebra, truth tables, and expression simplification
- Number Theory Explorer: Prime numbers, GCD/LCM, modular arithmetic tools
- AI Chatbot Assistant: Get help with discrete structures concepts via AI
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
discrete-structures-mcpclaude mcp add discrete-structures -- uvx discrete-structures-mcp==0.1.4
{
"mcpServers": {
"discrete-structures": {
"command": "uvx",
"args": [
"discrete-structures-mcp==0.1.4"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
Discrete Structures AI Learning Platform
An interactive web-based educational platform for learning discrete structures through visualizations, AI-powered assistance, and hands-on tools.
Features
- Algorithm Visualizer: Step-by-step animations of sorting and searching algorithms
- Cryptography Playground: Explore classical and modern encryption techniques
- Logic Calculator: Boolean algebra, truth tables, and expression simplification
- Number Theory Explorer: Prime numbers, GCD/LCM, modular arithmetic tools
- AI Chatbot Assistant: Get help with discrete structures concepts via AI
Tech Stack
- Backend: Python 3.11+, FastAPI, OpenAI Agents SDK, MCP Protocol
- Frontend: React 18, TypeScript, Vite, TailwindCSS, Framer Motion
- Package Management: uv (Python), npm (JavaScript)
Quick Start
Prerequisites
- Python 3.11 or higher
- Node.js 18 or higher
- uv package manager (
pip install uv) - OpenAI API key
Backend Setup
cd backend
uv sync
copy .env.example .env
# Edit .env and add your OPENAI_API_KEY
uv run uvicorn src.main:app --reload
Backend runs on http://localhost:8000
Frontend Setup
cd frontend
npm install
copy .env.example .env
npm run dev
Frontend runs on http://localhost:5173
Project Structure
discrete-structures-ai-platform/
├── backend/ # FastAPI backend + MCP server
│ ├── src/
│ │ ├── api/ # API endpoints
│ │ ├── agents/ # OpenAI agents
│ │ ├── mcp/ # MCP tools
│ │ ├── models/ # Pydantic models
│ │ └── services/ # Business logic
│ └── tests/ # Backend tests
├── frontend/ # React frontend
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── pages/ # Page components
│ │ ├── services/ # API clients
│ │ ├── hooks/ # Custom hooks
│ │ └── types/ # TypeScript types
│ └── public/ # Static assets
└── specs/ # Project specifications
Development
This project follows a phased implementation approach:
- Phase 1: Project Setup ✅
- Phase 2: Foundational Infrastructure ✅
- Phase 3: Landing Page ✅
- Phase 4+: Feature implementation (in progress)
See specs/001-ds-ai-platform/tasks.md for detailed task breakdown.
License
Educational use only.
Questions fréquentes
Qu'est-ce que Discrete Structures ?
Comprehensive tools for discrete mathematics: logic, algorithms, number theory, cryptography
Comment installer Discrete Structures ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add discrete-structures -- uvx discrete-structures-mcp==0.1.4. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Discrete Structures ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Discrete Structures est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Discrete Structures ?
Il est publié par ZohaibCodez. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.