phalcon-mcp

xindong888999/phalcon-mcp

3.1

If you are the rightful owner of phalcon-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Phalcon MCP Server is a Model Context Protocol server designed to execute commands for the Phalcon 5.0.x framework, enabling AI assistants to create and manage Phalcon projects, controllers, models, and more.

Phalcon MCP Server is a specialized server that integrates with the Phalcon 5.0.x framework to facilitate the execution of various framework commands. It is designed to work seamlessly with AI assistants, allowing them to automate the creation and management of Phalcon projects, modules, controllers, models, and other components. The server communicates using the Model Context Protocol (MCP), which allows for efficient command execution and management. It is particularly useful for developers using the Cursor IDE, as it provides a streamlined way to manage Phalcon projects directly from the IDE. The server requires the Phalcon framework, Python 3.x, and the Phalcon 5.0.x development tools to be installed.

Features

  • Integration with Phalcon 5.0.x framework for command execution.
  • Support for creating and managing Phalcon projects, modules, controllers, and models.
  • Seamless integration with Cursor IDE for enhanced development workflow.
  • Utilizes Model Context Protocol (MCP) for efficient communication.
  • Automates the setup and management of Phalcon Webtools and development server.

Usages

usage with Cursor IDE

"phalcon-mcp": {
  "command": "cmd",
  "args": [
    "/c",
    "uv",
    "run",
    "--with",
    "mcp[cli]",
    "mcp",
    "run",
    "C:\Users\Administrator\Desktop\mcp\phalcon-mcp\phalcon_mcp_server.py"
  ]
}

Tools

  1. palcon_info

    Display Phalcon version and environment information

  2. palcon_create_project

    Create a new Phalcon project

  3. palcon_create_module

    Create a new module

  4. palcon_create_controller

    Create a new controller

  5. palcon_create_model

    Create a new model

  6. palcon_create_all_models

    Create a model for all database tables

  7. palcon_create_migration

    Create a new database migration

  8. palcon_create_scaffold

    Create a complete CRUD scaffolding

  9. palcon_create_webtools

    Initialize Phalcon Webtools

  10. palcon_serve

    Start the development server

  11. palcon_list_commands

    List all available Phalcon commands