Laravel Cloud MCP Server
MCP server for Laravel Cloud to manage projects, environments, deployments, and other resources.
README
Laravel Cloud MCP Server
MCP server for Laravel Cloud account management using the Laravel Cloud API.
It ships with two transports that share the same tools:
- stdio — run locally, launched by your MCP client. Authenticates with a
LARAVEL_CLOUD_API_TOKENfrom the environment (src/index.ts). - Cloudflare Worker — remote, multi-tenant Streamable HTTP server. Each
caller supplies their own Laravel Cloud token as
Authorization: Bearer <token>; nothing is stored on the Worker (src/worker.ts). See Deploy to Cloudflare and Use with Poke.
Setup (local stdio)
npm install
npm run build
Create a Laravel Cloud API token from your Laravel Cloud organization settings, then configure your MCP client to launch this server with the token in the environment:
{
"mcpServers": {
"laravel-cloud": {
"command": "node",
"args": ["/path/to/laravel-cloud-mcp-server/dist/index.js"],
"env": {
"LARAVEL_CLOUD_API_TOKEN": "your-laravel-cloud-api-token"
}
}
}
}
API tokens are scoped to a single organization, so the server operates on the organization that issued the token.
Optional environment variables:
LARAVEL_CLOUD_API_BASE_URL: override the API base URL. Defaults tohttps://cloud.laravel.com/api.LARAVEL_CLOUD_USER_AGENT: override the user agent sent to Laravel Cloud. Defaults tolaravel-cloud-mcp-server/1.0.0.
Deploy to Cloudflare
The Worker exposes the same tools over the MCP Streamable HTTP transport at
/mcp (legacy SSE at /sse), backed by a Durable Object via the
agents SDK. GET / is a health
check.
Authentication is multi-tenant and pass-through. The Worker stores no
Laravel Cloud credentials. Every request must carry the caller's own Laravel
Cloud token as Authorization: Bearer <token>; that token is bound to the MCP
session and used for all Laravel Cloud API calls in that session. Requests
without a bearer token get 401.
Deploy
npm install
npx wrangler login
npm run deploy # deploys to https://laravel-cloud-mcp-server.<subdomain>.workers.dev
No secrets to configure. Optional LARAVEL_CLOUD_API_BASE_URL /
LARAVEL_CLOUD_USER_AGENT overrides can be added under vars in
wrangler.jsonc.
Local development
npm run dev # local worker at http://localhost:8787
Pass a token per request, e.g.:
curl -s http://localhost:8787/health
curl -s -X POST http://localhost:8787/mcp \
-H "Authorization: Bearer <your-laravel-cloud-token>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"dev","version":"0"}}}'
After editing wrangler.jsonc, run npm run cf-typegen (wrangler types) and
typecheck the Worker with npm run typecheck:worker.
Use with Poke
Poke sends the integration's API key as
Authorization: Bearer <key> on every request — so each user simply pastes
their own Laravel Cloud API token as the key, and the Worker uses it for
that user.
-
Deploy the Worker (above) and note its URL.
-
In Poke, add an MCP integration:
- URL:
https://laravel-cloud-mcp-server.<subdomain>.workers.dev/mcp - API Key: the user's Laravel Cloud API token
Or via CLI:
npx poke@latest mcp add \ https://laravel-cloud-mcp-server.<subdomain>.workers.dev/mcp \ -n "Laravel Cloud" -k "<user-laravel-cloud-api-token>" - URL:
Each Poke user's token only ever touches their own session; the Worker keeps no copy. If a request arrives without a token, or the token is rejected by Laravel Cloud, the corresponding tool call returns an error.
Tools
Meta
laravel_cloud_get_organizationlaravel_cloud_list_regionslaravel_cloud_get_usagelaravel_cloud_list_dedicated_clusters
Applications
laravel_cloud_list_applicationslaravel_cloud_get_applicationlaravel_cloud_create_applicationlaravel_cloud_update_applicationlaravel_cloud_delete_applicationlaravel_cloud_delete_application_avatar
Environments
laravel_cloud_list_environmentslaravel_cloud_get_environmentlaravel_cloud_create_environmentlaravel_cloud_update_environmentlaravel_cloud_delete_environmentlaravel_cloud_start_environmentlaravel_cloud_stop_environmentlaravel_cloud_get_environment_metricslaravel_cloud_list_environment_logslaravel_cloud_purge_edge_cachelaravel_cloud_add_environment_variableslaravel_cloud_delete_environment_variables
Domains
laravel_cloud_list_domainslaravel_cloud_get_domainlaravel_cloud_create_domainlaravel_cloud_update_domainlaravel_cloud_delete_domainlaravel_cloud_verify_domain
Commands
laravel_cloud_list_commandslaravel_cloud_get_commandlaravel_cloud_run_command
Deployments
laravel_cloud_list_deploymentslaravel_cloud_get_deploymentlaravel_cloud_get_deployment_logslaravel_cloud_initiate_deployment
Instances & managed queues
laravel_cloud_list_instanceslaravel_cloud_get_instancelaravel_cloud_create_instancelaravel_cloud_update_instancelaravel_cloud_delete_instancelaravel_cloud_list_instance_sizeslaravel_cloud_set_default_managed_queuelaravel_cloud_pause_managed_queuelaravel_cloud_resume_managed_queuelaravel_cloud_purge_managed_queuelaravel_cloud_list_failed_jobslaravel_cloud_retry_failed_joblaravel_cloud_delete_failed_job
Background processes
laravel_cloud_list_background_processeslaravel_cloud_get_background_processlaravel_cloud_create_background_processlaravel_cloud_update_background_processlaravel_cloud_delete_background_process
Caches
laravel_cloud_list_cacheslaravel_cloud_list_cache_typeslaravel_cloud_get_cachelaravel_cloud_create_cachelaravel_cloud_update_cachelaravel_cloud_delete_cachelaravel_cloud_get_cache_metrics
Database clusters & databases
laravel_cloud_list_database_clusterslaravel_cloud_list_database_typeslaravel_cloud_get_database_clusterlaravel_cloud_create_database_clusterlaravel_cloud_update_database_clusterlaravel_cloud_delete_database_clusterlaravel_cloud_get_database_cluster_metricslaravel_cloud_list_databaseslaravel_cloud_get_databaselaravel_cloud_create_databaselaravel_cloud_delete_database
Database snapshots & restores
laravel_cloud_list_database_snapshotslaravel_cloud_get_database_snapshotlaravel_cloud_create_database_snapshotlaravel_cloud_delete_database_snapshotlaravel_cloud_create_database_restore
Object storage buckets & keys
laravel_cloud_list_bucketslaravel_cloud_get_bucketlaravel_cloud_create_bucketlaravel_cloud_update_bucketlaravel_cloud_delete_bucketlaravel_cloud_list_bucket_keyslaravel_cloud_get_bucket_keylaravel_cloud_create_bucket_keylaravel_cloud_update_bucket_keylaravel_cloud_delete_bucket_key
WebSocket clusters & applications
laravel_cloud_list_websocket_clusterslaravel_cloud_get_websocket_clusterlaravel_cloud_create_websocket_clusterlaravel_cloud_update_websocket_clusterlaravel_cloud_delete_websocket_clusterlaravel_cloud_get_websocket_cluster_metricslaravel_cloud_list_websocket_applicationslaravel_cloud_get_websocket_applicationlaravel_cloud_create_websocket_applicationlaravel_cloud_update_websocket_applicationlaravel_cloud_delete_websocket_applicationlaravel_cloud_get_websocket_application_metrics
Destructive tools (deletes plus managed-queue purges) require a confirm: true
argument.
The deprecated Databases (Legacy) endpoints and the binary application avatar upload endpoint are intentionally omitted; use the database-cluster tools and the Laravel Cloud dashboard for those.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。