Laravel Cloud MCP Server
Allows managing Laravel Cloud projects, environments, deployments, databases, caches, and WebSocket resources.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Laravel Cloud MCP Serverlist my projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Laravel Cloud MCP Server
MCP server for Laravel Cloud to manage projects, environments, deployments, and other resources.
Features
This server uses the standard Node.js/TypeScript MCP SDK and communicates with the Laravel Cloud REST API using a bearer token from the environment.
Tools are provided for:
Projects (Laravel Cloud API applications): list, get, create, update, delete
Environments: list, get, create, update, delete
Deployments: list, get, create
Database clusters: list, get, create, update, delete, list types
Databases inside clusters: list, get, create, delete
Caches: list, get, create, update, delete, list types
WebSocket clusters: list, get, create, update, delete
WebSocket applications: list, get, create, update, delete
Related MCP server: Heim MCP
Configuration
Set a Laravel Cloud API token before starting the MCP server:
export LARAVEL_CLOUD_API_TOKEN="your-token"Optional environment variables:
LARAVEL_CLOUD_BASE_URLorCLOUD_BASE_URL: override the Laravel Cloud base URL. Defaults tohttps://cloud.laravel.com.CLOUD_API_TOKEN: fallback token variable ifLARAVEL_CLOUD_API_TOKENis not set.
Install and run
npm install
npm run build
npm startFor local development:
npm run devDeploy to Cloudflare Workers
This repository also includes a Cloudflare Workers entrypoint at src/worker.ts and a wrangler.jsonc configuration. The Worker exposes the MCP Streamable HTTP endpoint at:
/mcpConfigure the Laravel Cloud API token as a Worker secret:
npx wrangler secret put LARAVEL_CLOUD_API_TOKENOptional Worker configuration:
LARAVEL_CLOUD_BASE_URLorCLOUD_BASE_URL: override the Laravel Cloud base URL.MCP_ALLOWED_ORIGINS: comma-separated list of browser origins allowed to call/mcp. Leave empty to allow non-browser MCP clients without CORS origin matching.
Run locally as a Worker:
npm run dev:workerDeploy:
npm run deployWhen deployed, configure remote MCP clients to use:
https://<your-worker-subdomain>.workers.dev/mcpMCP client configuration
After building, point your MCP client at the compiled stdio server:
{
"mcpServers": {
"laravel-cloud": {
"command": "node",
"args": ["/absolute/path/to/laravel-cloud-mcp-server/dist/stdio.js"],
"env": {
"LARAVEL_CLOUD_API_TOKEN": "your-token"
}
}
}
}Tool names
Projects
projects_listprojects_getprojects_createprojects_updateprojects_delete
Environments
environments_listenvironments_getenvironments_createenvironments_updateenvironments_delete
Deployments
deployments_listdeployments_getdeployments_create
Databases
database_clusters_listdatabase_clusters_getdatabase_clusters_createdatabase_clusters_updatedatabase_clusters_deletedatabase_types_listdatabases_listdatabases_getdatabases_createdatabases_delete
Caches
caches_listcaches_getcaches_createcaches_updatecaches_deletecache_types_list
WebSockets
websocket_clusters_listwebsocket_clusters_getwebsocket_clusters_createwebsocket_clusters_updatewebsocket_clusters_deletewebsocket_applications_listwebsocket_applications_getwebsocket_applications_createwebsocket_applications_updatewebsocket_applications_delete
List tools accept optional pagination fields where the Laravel Cloud API supports pagination:
pagepageSizeallPages
Many get/list tools also accept include, which is sent as the JSON:API include query parameter.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/captenmasin/laravel-cloud-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server