Skip to content

v0.1.0

Choose a tag to compare

@X-Gunner X-Gunner released this 13 Aug 01:49
· 19 commits to main since this release

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.