Skip to content

Releases: X-Gunner/codeigniter-mcp

v0.5.0

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 06:24

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

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 06:24

Docs restructured: scannable README landing page + docs/ (tools, profiles, security, testing) shipped in the npm tarball.

v0.4.0

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 06:24

3 token-saving MCP prompts: create_full_resource, run_migration and lint_file. Compact input -> exact tool arguments. verify checklist now covers the prompt surface (12 criteria). 141 tests.

v0.3.0

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 06:24

Framework auto-detection: when .codeigniter-mcp.json is missing, the server infers the profile from the project structure (app/Config/Paths.php or spark -> ci4; bin/migrate or app/Repositories -> spec). Explicit file always wins. 136 tests.

v0.2.0

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 06:24

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

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 01:49

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.