# MCP integration with Cursor and Claude Desktop in SpinApp

SpinApp includes a bundled MCP server so Cursor and Claude Desktop can run dev commands in containers.

## Overview
SpinApp includes a bundled MCP server with each project. SpinApp supports MCP clients such as Cursor and Claude Desktop and provides a one-click configuration flow (“Setup AI”) to set project rules and container context.

## Bundled MCP server per project
SpinApp ships each project with a bundled MCP server. This MCP server lets an MCP client call SpinApp tools that execute against the containers SpinApp provisions for your Laravel stack.

## Setup AI flow
SpinApp supports a workflow where you:

- Open or select a Laravel project in SpinApp.
- Connect your AI assistant and run “Setup AI.”
- Configure project rules and provide the assistant the correct container context.

## AI-driven actions available through MCP
SpinApp AI-driven tool actions, including:

- **exec**: run artisan, composer, and npm build/dev inside app or queue containers.
- **sql**: run queries against a provisioned database.
- **logs**: fetch container output and Laravel log files.
- **start/stop/status**: control the environment lifecycle.

## Audit log of tool calls
SpinApp includes an “audit log of every tool call.” This provides a record of what tools were invoked by the AI assistant.

## Source URLs
This documentation is based on SpinApp’s public product description at https://spinapp.site/.