Labsco
MCP SERVER

Forge MCP Server

by ranium

Read a Laravel Forge account from the agent — servers and sites, deployments and their logs, databases, certificates, and the .env behind a site.

PaaS Deployment & App HostingVerified
Summary
It reads a Forge account thoroughly and creates nothing — including the servers that its own catalogue tools exist to describe.

list_providers, list_regions, list_sizes, list_ubuntu_versions, list_static_php_versions, list_database_types and list_project_types all describe themselves as the valid choices for new server or site creation, yet nothing in this set creates one, so they function as a reference you carry elsewhere. What the server does support well is the diagnosis loop: list_deployments into get_deployment into get_deployment_output, with get_server_logs and get_site_log alongside. Weigh the credential exposure before wiring this into a shared agent — get_site_env returns a site's .env as plain text and get_composer_packages_auth returns Composer credentials, so anything holding this key can read a site's secrets.

What it is

A read-only Laravel Forge client with 35 tools covering servers and sites, daemons and deployments, databases and database users, SSL certificates, the catalogues used when planning a new server, and per-site configuration reads.

What you get
  • Account and servers: get_user returns the current Forge user, list_servers enumerates the account's servers, show_server returns one in detail, and get_server_logs returns its logs.
  • Sites and what runs on them: list_sites and show_site cover a server's sites, list_daemons and show_daemon cover its long-running processes, get_site_log returns a site's raw log output, and get_site_env returns the site's .env file as plain text.
  • Deployments in detail: list_deployments enumerates a site's deployments, get_deployment returns one, and get_deployment_log and get_deployment_output return the log behind it.
  • Laravel-specific status questions, each answered for one site: check_laravel_maintenance_status, check_laravel_scheduler_status, check_pulse_daemon_status and check_inertia_daemon_status.
  • Databases: list_databases and get_database for the databases on a server, list_database_users and get_database_user for the accounts against them.
  • Certificates: list_certificates and get_certificate for a site's SSL certificates.
  • The catalogues behind a provisioning decision: list_providers, list_regions for a provider, list_sizes for a provider and region, list_ubuntu_versions, list_static_php_versions and list_php_versions for a specific server, list_database_types, and list_project_types.
  • get_composer_packages_auth returns a site's Composer package authentication credentials.
Requirements

A Laravel Forge API key, supplied as FORGE_API_KEY.