pypi discrete-structures-mcpstdioupdated 8mo ago
An interactive web-based educational platform for learning discrete structures through visualizations, AI-powered assistance, and hands-on tools.
Discrete Structures で何ができる?
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.
インストール
Discrete Structures をクライアントに追加します。お使いのものを選んでください。
claude mcp add discrete-structures-mcp -- uvx discrete-structures-mcpcodex mcp add discrete-structures-mcp -- uvx discrete-structures-mcpamp mcp add discrete-structures-mcp -- uvx discrete-structures-mcp{
"mcpServers": {
"discrete-structures-mcp": {
"command": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"discrete-structures-mcp": {
"command": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"discrete-structures-mcp","command":"uvx","args":["discrete-structures-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"discrete-structures-mcp": {
"command": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"discrete-structures-mcp": {
"command": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"discrete-structures-mcp": {
"command": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"discrete-structures-mcp": {
"type": "local",
"command": "uvx",
"args": [
"discrete-structures-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"discrete-structures-mcp": {
"command": {
"path": "uvx",
"args": [
"discrete-structures-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx discrete-structures-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
スコア
39 / 100
情報不足
- ドキュメント22/25
- メンテナンス9/25
- 信頼性6/20
- 機能0/15
- 導入のしやすさ12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 233 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 0.1.4最新 | 2026年1月9日 |
| 0.1.3 | 2026年1月9日 |