Releases: X-Gunner/codeigniter-mcp
Release list
v0.5.0
Interpreted migration runner errors (MigrationFailedError): parse errors, missing classes, SQLSTATE and anonymous classes are detected and reported without raw stack traces or absolute paths. Real CI4 Service layer: scaffold_service generates a Service that injects the Model (withRepository=true adds the Model); scaffold_full_resource includes the Service. verify 13 criteria. 154 tests.
v0.4.1
v0.4.0
v0.3.0
v0.2.0
Project profiles via an optional .codeigniter-mcp.json at APP_ROOT. CodeIgniter 4 native profile: BaseController + Model (Query Builder) + forge migrations + views, php spark migrate, snake_case allowed, strict_types not required. npm run verify acceptance checklist. 130 tests.
v0.1.0
codeigniter-mcp v0.1.0 - MCP server for scaffolding a CodeIgniter-style PHP framework (MVC + Services/Repository).
Tools
- scaffold_full_resource: full CRUD (Controller, Service, Repository + Interface, Entity, Migration, tests)
- scaffold_controller: Controller-only generation with a hard no-SQL rule
- scaffold_service: Service with business logic and input validation (contract first)
- scaffold_repository: Repository interface + PDO implementation (always together)
- validate_route: read-only route collision detection against app/Config/Routes.php
- run_migration: runs the framework native migration runner (requires explicit confirm)
- lint_against_framework_rules: lints PHP files against framework conventions
Resources
- 4 convention:// resources (naming, architecture, folder structure, security rules)
Highlights
- stdio transport (default) and Streamable HTTP transport
- Zod input validation, token-bucket rate limiting, path-traversal protection
- Destructive operations guarded by explicit confirm/overwrite flags
- Generated PHP: declare(strict_types=1), PSR-4, PDO prepared statements
- 114 unit/integration/e2e tests
See CHANGELOG.md for details.