Splytin MCP Project Generator
프로젝트
Related MCP server: feuse-mcp
MCP
이 저장소에는 mcp_server.py에 stdio를 통한 MCP 서버가 이미 포함되어 있습니다.
실행
python3 mcp_server.py사용 가능한 도구
create_python_django_projectcreate_python_django_crudcreate_react_projectcreate_php_project
MCP 설정 예시
{
"mcpServers": {
"project-generator": {
"command": "python3",
"args": ["/Users/dorian/PythonProjects/splytin_mcp/mcp_server.py"]
}
}
}{
"mcpServers": {
"project-generator": {
"command": "python3",
"args": ["/Users/milena/workspaces/WorkSpacePython/PROJECTS/splytin_mcp"]
}
}
}로컬 스모크 테스트
python3 tests/test_mcp.py참고 사항
현재 대화형 CLI는 계속 작동합니다.
MCP는 메뉴나
input()없이 동일한 생성 로직을 사용합니다.실제 생성기를 실행하려면 프로젝트 종속성과 각 스택에서 사용하는 외부 도구(예:
python3,npm,composer)가 설치되어 있어야 합니다.
가상 환경 생성
## Entorno virtual MacOs
python3 -m venv .venv
source .venv/bin/activate # Activar entorno
deactivate # Desactivar entorno
## Entorno virtual Windows
py -m venv .venv # Windows
.\.venv\Scripts\activate # Windows
py -m pip install --upgrade pip # Windows
deactivate # Desactivar
py -m pip xxx # Usar este comando para instrucciones
## Actualizar
pip install --upgrade pip
## Instala los requerimientos:
pip list
pip freeze > requirements.txt # Crear archivo requerimientos -> Respaldo / Export
pip install -r requirements.txt # Instalar requerimientos Restore / Import
# Si No se tiene el archivo: requirements.txt
pip install pipreqs # Install
pipreqs . --force # Ejecutar
라이브러리 생성
pip install questionary # Console / Terminal
pip install colorama # Console / Terminal
pip install requests # Conexion API
pip install schedule # Cronjobs
pip install inflect # Pluralize
pip install sqlalchemy psycopg2-binary alembic python-dotenv # DB
pip install pymysql # DB
프로젝트 흐름
## Para proyectos (to_create_project)
pymain -> pystart -> pystartproject -> pygenerate
## Para modulos (to_create_module_crud)
pymain -> pystart -> pystartmodule -> pystandard -> pygenerate단계:
1. crear carpeta proyecto "xxx" y archivo "_ _ init _ _.py" y el archivo: "main_xxx"
2. crear carpetas con sus respectivos archivos "_ _ init _ _.py":
- "to_create_module_crud"
- "to_create_project"
3. crear dentro de la carpeta "to_create_project" el archivo: start_project_xxx.py
4. crear dentro de la carpeta "to_create_module_crud" el archivo: start_module_xxx.py
형식 예시 -> 열
[{'name': 'user_id', 'type': 'fk', 'is_fk': True, 'related_table': 'users', 'related_model': 'User'}, {'name': 'name', 'type': 'string', 'is_fk': False}, {'name': 'age', 'type': 'integer', 'is_fk': False}, {'name': 'description', 'type': 'string', 'is_fk': False}]예시: CRUD
/Users/dorian/PythonProjects/python.generator
main
AgendaUnloading
AgendaUnloadings
[{'name': 'user_id', 'type': 'fk', 'is_fk': True, 'related_table': 'users', 'related_model': 'User'}, {'name': 'name', 'type': 'string', 'is_fk': False}, {'name': 'age', 'type': 'integer', 'is_fk': False}, {'name': 'description', 'type': 'string', 'is_fk': False}]
['api_route', 'api_serializer', 'api_wiewset', 'api_model', 'api_service']
할 일:
PYTHON:
cors 설정: 'corsheaders.middleware.CorsMiddleware', # cors에 필요, 'django.middleware.common.CommonMiddleware' 위에 위치해야 함
PHP: 프로젝트 생성 시 ".env" 및 ".env.example" 파일에서 다음을 변경해야 함: "LOG_CHANNEL=daily"
Postman API 파일의 Dev 섹션에 "execute"를 추가해야 함
This server cannot be deployed
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Create, deploy, and operate MCP servers directly from your GitHub repositories.
MCP server for generating rough-draft project plans from natural-language prompts.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- FlicenseCqualityDmaintenanceThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.1-
- AlicenseBqualityCmaintenanceAn MCP server that provides utilities for web developers to automate API integration, convert Figma designs to code, and optimize development workflows with tools for asset management and code generation.2818 npm38Mozilla Public 2.0
- AlicenseAqualityDmaintenanceAn MCP server that scaffolds full-stack projects with consistent structure, Docker setup, CI/CD pipelines, and database configuration.6MIT
- AlicenseAqualityDmaintenanceA unified MCP server for scaffolding project structures across multiple frameworks including Spring Boot, React, Vue, Next.js, FastAPI, Django, Flask, Express, and more.27 npm1MIT