forge-mcp-server MCP Server

This is a Model Context Protocol (MCP) server for Laravel Forge integration. It provides comprehensive access to Laravel Forge's official API through MCP-compliant tools, enabling seamless server…

Local serverstdioMIT

What is the forge-mcp-server MCP Server?

forge-mcp-server is an MCP project maintained in the ranium/forge-mcp-server repository. The maintainer describes its purpose as “This is a Model Context Protocol (MCP) server for Laravel Forge integration. It provides comprehensive access to Laravel Forge's official API through MCP-compliant tools, enabling…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @ranium/forge-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares FORGE_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ReadonlySafe, non-modifying operations (e.g., listing, viewing, status checks).
WriteOperations that create or modify resources (e.g., create, update, reboot, enable/disable features).
list_serversList all servers
list_static_php_versionsList static PHP versions
list_php_versionsList PHP versions
get_userGet user information
show_serverGet detailed information about a specific server
list_sitesList all sites on a server
show_siteGet detailed information about a specific site
list_daemonsList daemons
show_daemonGet daemon details
list_deploymentsList deployments
get_deployment_logGet deployment logs
get_deploymentGet deployment details
get_deployment_outputGet deployment output
get_server_logsGet server logs
list_providersList cloud providers
list_database_typesList database types
list_credentialsList credentials
list_regionsList available regions
list_ubuntu_versionsList Ubuntu versions
get_composer_packages_authGet Composer authentication
check_laravel_maintenance_statusCheck Laravel maintenance mode
check_pulse_daemon_statusCheck Pulse daemon status
check_inertia_daemon_statusCheck Inertia daemon status
check_laravel_scheduler_statusCheck Laravel scheduler status
list_sizesList server sizes
list_project_typesList project types
list_databasesList all databases
get_databaseGet database details
list_database_usersList database users
get_database_userGet database user details
list_certificatesList SSL certificates
get_certificateGet certificate details
get_site_envGet site environment file (.env)
get_site_logGet site logs
create_serverCreate a new server
create_databaseCreate a new database
sync_databaseSync database
create_database_userCreate a new database user
reboot_serverReboot a server
reboot_nginxReboot Nginx service
reboot_phpReboot PHP service
reboot_mysqlReboot MySQL service
reboot_postgresReboot PostgreSQL service
create_siteCreate a new site
install_or_update_site_gitInstall or update Git repository
enable_quick_deploymentEnable quick deployment
disable_quick_deploymentDisable quick deployment
deploy_nowDeploy immediately
change_site_php_versionChange site PHP version
add_site_aliasesAdd site aliases
clear_site_logClear site logs
create_lets_encrypt_certificateCreate Let's Encrypt certificate
activate_certificateActivate a certificate

How to install the forge-mcp-server MCP Server

{
  "mcpServers": {
    "forge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ranium/forge-mcp"
      ],
      "env": {
        "FORGE_API_KEY": "YOUR_FORGE_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
FORGE_API_KEYDeclared in the maintainer’s client configuration.Check documentation