What stellify-mcp MCP server does
The stellify-mcp MCP server connects an MCP-compatible AI client to Stellify projects. It supports incremental construction of Laravel and Vue.js applications through project, directory, file, method, statement, route, and element records. Agents can inspect existing project content, create new structures, search by names or types, and update individual parts without replacing an entire source file.
The server also exposes Stellify's reusable global library. An agent can list available global files, inspect their methods and statements, search framework methods, and install selected globals into a tenant project. Modules provide another way to group related global files.
How it works
The normal workflow starts with get_project. That call returns the active project, its UUID, its name, and existing directories; the project UUID is needed for many later operations. Directories can be inspected or created before files are added.
File creation is staged. create_file makes an empty shell, while methods, statements, imports, and Vue template elements are added separately. create_method defines a signature, and add_method_body accepts the method statements for parsing into Stellify's structured representation. Statements use a similar two-call sequence: create an empty statement, then provide its code with add_statement_code. save_file records the completed file configuration and connects its method, statement, template, and include UUIDs.
Routes represent pages, and elements can be attached either to a route or to another element. html_to_elements converts supplied HTML into Stellify elements in one operation. Element trees can be read hierarchically, and deleting an element also deletes its children.
Setup and configuration
The server requires Node.js 18 or later, a Stellify account, and an API token created in Stellify settings. Install the package globally with npm install -g @stellisoft/stellify-mcp.
Configure the MCP client to launch the stellify-mcp command and provide these environment variables:
STELLIFY_API_URL: the Stellify API endpoint, such as https://api.stellisoft.com/v1.
STELLIFY_API_TOKEN: the API token for the Stellify account.
The documented client setup uses Claude Desktop. After adding the server configuration, restart the client so the tools become available.
Tools and capabilities
The stellify-mcp MCP server provides tools for:
- Reading and organizing projects, directories, and files.
- Creating Laravel-oriented file types such as classes, models, controllers, and middleware, plus JavaScript or Vue files.
- Defining method signatures, parsing method bodies, and searching methods.
- Creating and retrieving structured statements and their code clauses.
- Creating, finding, and retrieving routes or pages.
- Creating, updating, searching, retrieving, and deleting UI elements.
- Converting HTML into Stellify elements.
- Listing, retrieving, searching, and installing reusable global code.
- Listing, retrieving, and creating modules for related global files.
File creation can resolve includes and dependencies when auto_create_dependencies is enabled. The documented dependency sources include Laravel core API data, vendor packages read from a project's vendor directory, and missing application classes created within Stellify.
Limitations and notes
get_project must be called before other operations. Newly created files are empty shells, so they need their methods, statements, templates, and other configuration added before save_file finalizes them. Method bodies should contain statements rather than a complete function declaration. Likewise, statement creation is incomplete until add_statement_code is called.
The tool descriptions identify file types and parameters that must be supplied for particular operations. UI deletion is cascading, so deleting an element also removes all of its child elements. The documented setup covers Claude Desktop and does not describe client-specific configuration for other MCP clients.