From 7f0d4262839b02595b477932a491888116e65126 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 29 Nov 2026 01:05:21 +0000 Subject: [PATCH] feat(third_party): add the Laravel Cloud plugin Co-authored-by: Rohan Shah --- .cursor-plugin/marketplace.json | 5 ++ README.md | 1 + .../laravel-cloud/.cursor-plugin/plugin.json | 37 ++++++++ third_party/laravel-cloud/CHANGELOG.md | 9 ++ third_party/laravel-cloud/LICENSE | 21 +++++ third_party/laravel-cloud/README.md | 80 ++++++++++++++++++ third_party/laravel-cloud/assets/logo.png | Bin 0 -> 1168 bytes third_party/laravel-cloud/mcp.json | 8 ++ 8 files changed, 161 insertions(+) create mode 100644 third_party/laravel-cloud/.cursor-plugin/plugin.json create mode 100644 third_party/laravel-cloud/CHANGELOG.md create mode 100644 third_party/laravel-cloud/LICENSE create mode 100644 third_party/laravel-cloud/README.md create mode 100644 third_party/laravel-cloud/assets/logo.png create mode 100644 third_party/laravel-cloud/mcp.json diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index d0dd0045a1..c242d911ff 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -842,6 +842,11 @@ "name": "folk", "source": "third_party/folk", "description": "Search and update people, companies, deals, notes, tasks, and interactions, enrich contacts, and run email campaigns in folk." + }, + { + "name": "laravel-cloud", + "source": "third_party/laravel-cloud", + "description": "Deploy, manage, and debug Laravel Cloud apps: create apps and environments, add databases, caches, and storage, set variables and domains, and read logs and metrics." } ] } diff --git a/README.md b/README.md index 8447d807c6..279cc49677 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc | `easyship` | [Easyship](third_party/easyship/) | Cursor | Integrations | Compare courier rates, create shipments, buy labels, book pickups, track parcels, and read shipping analytics across 550+ couriers. | | `jobber` | [Jobber](third_party/jobber/) | Cursor | Integrations | Look up clients, quotes, jobs, visits, and invoices, and create clients, requests, and quotes. | | `folk` | [folk](third_party/folk/) | Cursor | Integrations | Search and update people, companies, deals, notes, tasks, and interactions, enrich contacts, and run email campaigns in folk. | +| `laravel-cloud` | [Laravel Cloud](third_party/laravel-cloud/) | Cursor | Integrations | Deploy, manage, and debug Laravel Cloud apps: create apps and environments, add databases, caches, and storage, set variables and domains, and read logs and metrics. | Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `plugins@cursor.com` in the manifest). ## Repository structure diff --git a/third_party/laravel-cloud/.cursor-plugin/plugin.json b/third_party/laravel-cloud/.cursor-plugin/plugin.json new file mode 100644 index 0000000000..59709b7341 --- /dev/null +++ b/third_party/laravel-cloud/.cursor-plugin/plugin.json @@ -0,0 +1,37 @@ +{ + "name": "laravel-cloud", + "displayName": "Laravel Cloud", + "version": "1.0.0", + "minClientVersions": { + "cursor": "3.13.0" + }, + "description": "Deploy, manage, and debug Laravel Cloud applications: create apps and environments from a Git repository, add databases, caches, and storage, set environment variables and domains, and read deployment logs, exceptions, and metrics.", + "author": { + "name": "Cursor", + "email": "plugins@cursor.com" + }, + "homepage": "https://laravel.com/cloud/docs/mcp-server", + "repository": "https://github.com/cursor/plugins", + "license": "MIT", + "logo": "assets/logo.png", + "keywords": [ + "laravel", + "laravel-cloud", + "php", + "deployment", + "hosting", + "infrastructure", + "databases", + "environments", + "devops", + "mcp" + ], + "category": "integrations", + "tags": [ + "laravel", + "deployment", + "infrastructure", + "mcp" + ], + "mcpServers": "./mcp.json" +} diff --git a/third_party/laravel-cloud/CHANGELOG.md b/third_party/laravel-cloud/CHANGELOG.md new file mode 100644 index 0000000000..487577ae55 --- /dev/null +++ b/third_party/laravel-cloud/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +All notable changes to this plugin will be documented here. + +## 1.0.0 — initial release + +- Added the `laravel-cloud` MCP server pointing at Laravel Cloud's hosted Streamable HTTP endpoint (`https://cloud.laravel.com/mcp`). The server name matches the one in Laravel Cloud's own Cursor setup instructions. +- Auth uses OAuth 2.0 with Laravel Cloud user login (authorization code + PKCE S256, Dynamic Client Registration at `https://cloud.laravel.com/oauth/register`, scope `mcp:use`) — no API key or client ID to configure. Registration was verified to accept the `cursor://anysphere.cursor-mcp/oauth/callback` redirect URI. +- Logo: Laravel Cloud's official mark, rendered from the icon published on laravel.com at 256×256. diff --git a/third_party/laravel-cloud/LICENSE b/third_party/laravel-cloud/LICENSE new file mode 100644 index 0000000000..ca2bba771c --- /dev/null +++ b/third_party/laravel-cloud/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Cursor + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/third_party/laravel-cloud/README.md b/third_party/laravel-cloud/README.md new file mode 100644 index 0000000000..1bac02387c --- /dev/null +++ b/third_party/laravel-cloud/README.md @@ -0,0 +1,80 @@ +# Laravel Cloud + +Cursor plugin that connects agents to [Laravel Cloud](https://laravel.com/cloud), the managed hosting platform for Laravel applications, through Laravel Cloud's official remote [Model Context Protocol](https://modelcontextprotocol.io/) server. + +Deploy, manage, and debug your Laravel Cloud apps: create applications and environments from your Git repository, add databases, caches, and object storage, set environment variables and domains, run commands such as `php artisan migrate`, and read deployment logs, exceptions, and metrics in the organizations you authorize. + +## Install + +1. Open **Cursor Settings → Plugins**. +2. Search for **Laravel Cloud**. +3. Click **Install**, then complete the Laravel Cloud sign-in prompt. Choose an access level for each organization (**Read & write**, **Read**, or **No access**) and click **Authorize**. + +Or run `/add-plugin laravel-cloud` in chat. + +## MCP + +```json +{ + "mcpServers": { + "laravel-cloud": { + "type": "http", + "url": "https://cloud.laravel.com/mcp" + } + } +} +``` + +Auth is OAuth 2.0 with PKCE (S256) and Dynamic Client Registration against `cloud.laravel.com`, with the single scope `mcp:use`. Cursor registers itself and prompts for Laravel Cloud sign-in when the plugin connects, so there is no API token or client ID to configure. Sign-in reuses your existing Laravel Cloud browser session. + +## Before you connect + +You need a Laravel Cloud account that belongs to at least one organization. The consent screen sets an access level per organization: + +- **Read & write** — perform any action your permissions allow +- **Read** — view resources your permissions allow, without making changes +- **No access** — nothing in that organization + +Your role in each organization still applies on top of the access level: if your role cannot edit environment variables, the agent cannot either, even with Read & write access. Changes the agent makes affect real applications, and Laravel Cloud bills your organization for any resources it creates. + +## What agents can do + +| Area | Capabilities | +| --- | --- | +| Applications and environments | Create, update, start, stop, and delete applications and environments, and configure preview environments | +| Deployments | Trigger deployments and read deployment status and build logs | +| Compute | Manage instances, instance sizes, and background processes | +| Environment variables and secrets | Set and delete environment variables, and manage and link secrets | +| Databases | Create databases and schemas, take snapshots, and restore backups into a new cluster | +| Caches, object storage, and WebSockets | Create, update, attach, and detach caches, buckets, and WebSocket servers | +| Domains and network | Add and verify custom domains and purge the edge cache | +| Queues | Pause queues, purge jobs, and retry or delete failed jobs | +| Commands | Run commands, such as `php artisan migrate`, on an environment and read their output | +| Monitoring | Read environment logs, metrics, exceptions, and usage | +| Organizations | Invite and remove members, and manage roles | +| Agent skills | Fetch Laravel Cloud guides with `get-skill`, such as preparing an app for its runtime, connecting a custom domain, debugging a running app, and reducing costs | + +Laravel Cloud marks each tool as read-only or able to make changes, so Cursor can decide which calls need your approval. The hosted server is the source of truth for tool names and schemas; see [What your agent can do](https://laravel.com/cloud/docs/mcp-server#what-your-agent-can-do) for Laravel Cloud's own summary. + +## Notes + +- Deleting core infrastructure (applications, environments, databases, caches, buckets, domains, compute instances, secrets, and WebSocket servers) cannot happen through the MCP server alone. The tool returns a link to that resource's deletion dialog in the Laravel Cloud dashboard, where you confirm it yourself. +- Stopping an environment or detaching a resource does not remove it, and Laravel Cloud keeps billing for anything still provisioned. +- Commands run against the live environment. Confirm the environment before letting the agent run one. +- Database passwords and environment variable values are masked unless the agent specifically requests them and your permissions allow you to view them. Secret values cannot be read back after they are saved. +- Logs, issues, and other content the agent reads can contain prompt injection. Prefer **Read** access for organizations the agent only needs to inspect, and **No access** for organizations it does not need. +- Laravel Cloud cannot verify the client name shown on the authorization screen; only authorize requests you started yourself. +- Review or revoke connections under **Authorized applications** in your Laravel Cloud account's security settings, or disconnect the plugin in Cursor. Reconnecting can add a new entry instead of updating the existing one; revoke entries you no longer use. + +## Docs + +- Laravel Cloud MCP server: https://laravel.com/cloud/docs/mcp-server +- Roles and permissions: https://laravel.com/cloud/docs/rbac +- Laravel Cloud docs: https://laravel.com/cloud/docs/intro +- Server URL: https://cloud.laravel.com/mcp + +Logo is Laravel Cloud's official mark, the icon published on laravel.com. + +## License + +MIT diff --git a/third_party/laravel-cloud/assets/logo.png b/third_party/laravel-cloud/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2739180ef09b410f84df4a26eb09be037e413905 GIT binary patch literal 1168 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|GzJEia8DP4K(pkDe&-?c&gDn*HEG*pZ`Ug6tc2U2$dI zX#Zoggp;YeBe$OJvVxe{TS_S>PVQW{mF?8=?{`ivJm@rQSti5IEr$gg7#NrsI2aTd zsKubjq!Nddf+_B+uXb(SYRZ0*@$lipfm%EN`6(!;rKKl-IC0da|~@ z5ls5WlL*o$3KpEyQEp5;a=5qc^R3Gi4z6c zxAi(Ld>~-M^y3CUQ^FqwhGR(7lR5UxX&HYm^UEK7ZJu9TKds%3|Jco{yGw-{YW99U zZ&&%sK>5+5otlgvI36V1b2NNxW{^Ol4o~|dY2f_WenWmf&zn0}Kd1kE_t)u9Ol;{& zmIFWjmwx`W)xy~B-sk6$)}>bS_Ex-1s$?;!6JU7E&WKL^sNcsvVd2N?%g=p3Qu*)a zU+q&*H+4T1Mz;`Zz4P;*at_dB-i z+4FXPrH!%h(WJu5^VRM5<^TMZzgA`5`LntIeyQC2^z~_x<*#4AVpeo$EXkbp?5}`S zuiKk@oA2kIXiVBDahd$Q_2@ybKY{BBR!R80I@uPcP3$$|O P8Gyjk)z4*}Q$iB}oosdj literal 0 HcmV?d00001 diff --git a/third_party/laravel-cloud/mcp.json b/third_party/laravel-cloud/mcp.json new file mode 100644 index 0000000000..45353814ed --- /dev/null +++ b/third_party/laravel-cloud/mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "laravel-cloud": { + "type": "http", + "url": "https://cloud.laravel.com/mcp" + } + } +}