MCP and AI Assistant Integration
SpinApp ships a bundled MCP server per project for Cursor, Claude Desktop, and other MCP clients.
Overview
SpinApp is a product feature that connects your Laravel project to an MCP client for container-scoped development. SpinApp includes a per-project MCP server and a setup flow that configures project rules so the assistant runs commands in the correct context.
Setup AI workflow
SpinApp includes “Setup AI” to write project rules and provide the assistant the correct container context. You connect an AI assistant such as Cursor or Claude Desktop (or any MCP client) and then configure the MCP server for that project.
AI-driven actions SpinApp supports via MCP
SpinApp AI-triggered tools that include:
- exec: run commands like artisan, composer, and npm build/dev inside the app or queue containers.
- sql: run queries against a provisioned database.
- logs: view container output and Laravel log files.
- start/stop/status: control the environment, including starting and stopping containers.
Audit logging for tool calls
SpinApp mentions an audit log of every tool call. This audit log supports tracing what the MCP client requested during development workflows.
How this relates to local container context
SpinApp frames the goal as running development commands inside the right containers instead of using an external Docker + hosts + terminal setup. SpinApp connects MCP execution to the project’s container environment.