Docs cipi.yml Web panel API MCP Guides Compare GitHub Telegram channel
  1. Docs
  2. Cipi Agent & AI
  3. Install the agent

Install the agent

Add cipi-agent to a Laravel app.

Cipi Agent & AI

Cipi Agent (cipi/agent) is a Laravel package that connects your app to the server it runs on. Install it once and the app gains push-to-deploy, a health endpoint, an MCP server for AI assistants, cipi.yml tooling and a GDPR-friendly database anonymizer.

bash
composer require cipi/agent
git commit -am "Add Cipi Agent" && git push
php artisan cipi:status        # after the next deploy

On a Cipi server, cipi app create already wrote the .env variables the agent needs; the service provider auto-discovers. Health, MCP, cipi.yml validation and the anonymizer also work on any Laravel host.

What you get#

FeatureEndpoint / commandRead
Push-to-deployPOST /cipi/webhookWebhook & health
Health checkGET /cipi/health (Bearer token)Webhook & health
MCP server/cipi/mcpMCP server
cipi.yml toolingphp artisan cipi:ymlcipi.yml tooling
Anonymized dumpsphp artisan cipi:anonymize, /cipi/dbDatabase anonymizer
Panel toolsMCP panel_* via cipi/sdkMCP server
Requirement
PHP8.3+
Laravel12 or 13
AnonymizerMySQL/MariaDB or PostgreSQL, with mysqldump/pg_dump on the server
Optionalcipi/sdk for panel tools; ext-zlib for gzip dumps

Artisan commands#

CommandDoes
cipi:statusConfiguration, environment, live release and commit, features, cipi.yml validity, DB connectivity
cipi:mcp [--json]MCP endpoint, tools and ready-to-paste setup for Cursor, VS Code, Claude Code, Claude Desktop
cipi:generate-token mcp|health|anonymizeCreate a secure token in .env
cipi:service mcp|health|anonymize --enable|--disableToggle a feature
cipi:deploy-keyPrint the app's deploy key
cipi:yml validate|show|generate|example|schemacipi.yml tooling
cipi:init-anonymize [--scan], cipi:anonymize-audit, cipi:anonymizeAnonymizer
bash
php artisan vendor:publish --tag=cipi-agent-config    # only for custom defaults

The agent runs inside one app (/cipi/* on its domain). The REST API runs on its own domain and manages the whole server. Comparison: Agent vs API.