Splytin MCP Project Generator
Project
Related MCP server: feuse-mcp
MCP
Este repositorio ya incluye un servidor MCP por stdio en mcp_server.py.
Ejecutar
python3 cli.py
python3 mcp_server.pyTools disponibles
create_python_django_projectcreate_python_django_crudcreate_react_projectcreate_php_project
Ejemplo de configuración MCP
{
"mcpServers": {
"project-generator": {
"command": "python3",
"args": ["/Users/dorian/PythonProjects/splytin_mcp/mcp_server.py"]
}
}
}
{
"mcpServers": {
"project-generator": {
"command": "/Users/dorian/PythonProjects/splytin_mcp/.venv/bin/python",
"args": [
"/Users/dorian/PythonProjects/splytin_mcp/mcp_server.py"
]
}
}
}{
"mcpServers": {
"project-generator": {
"command": "python3",
"args": ["/Users/milena/workspaces/WorkSpacePython/PROJECTS/splytin_mcp"]
}
}
}Smoke test local
python3 tests/test_mcp.pyNotas
El CLI interactivo actual sigue funcionando.
El MCP usa la misma lógica de generación, pero sin menús ni
input().Si vas a ejecutar generadores reales, necesitarás tener instaladas las dependencias del proyecto y las herramientas externas que cada stack use, por ejemplo
python3,npmocomposer.
Crear entorno virtual
## 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
Libraries gen
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
Flujo del proyecto
## Para proyectos (to_create_project)
pymain -> pystart -> pystartproject -> pygenerate
## Para modulos (to_create_module_crud)
pymain -> pystart -> pystartmodule -> pystandard -> pygeneratePasos:
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
Format Example -> columns
[{'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}]Ejemplo: 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']
TODOS:
PYTHON:
las cors: 'corsheaders.middleware.CorsMiddleware', # required for cors, va encima de: 'django.middleware.common.CommonMiddleware',
En PHP: cuando se crea un proyecto, se tiene que cambiar en el ".env" y en el ".env.example" lo siguientes: "LOG_CHANNEL=daily"
en el archivo para API de postman hay que agregar en el Dev: el "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.2819 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.219 npm1MIT