Forge MCP Server

Laravel Forge MCP server for managing servers, sites, and deployments

Local serverstdio

What is the Forge MCP Server?

Laravel Forge MCP server for managing servers, sites, and deployments

What it actually does

A Model Context Protocol (MCP) server for interacting with Laravel Forge API. This server enables AI assistants to manage Laravel Forge servers, sites, and deployments.

  • List and get details of Laravel Forge servers
  • Manage sites on Laravel Forge servers
  • Deploy sites and manage deployment scripts
  • Toggle quick deploy functionality
  • View deployment history
  • Reboot servers and check server load

Configuration

You need a Laravel Forge API key to use this server. You can get one from your Laravel Forge account settings.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
list_serversList all Laravel Forge servers
get_serverGet details of a specific server
list_sitesList all sites on a server
get_siteGet details of a specific site
deploy_siteDeploy a site
get_deploymentsGet deployment history for a site
get_deployment_scriptGet the deployment script for a site
update_deployment_scriptUpdate the deployment script for a site
toggle_quick_deployEnable or disable quick deploy for a site
reboot_serverReboot a server
get_server_loadGet server load metrics
reset_deployment_stateReset deployment state for a site

How to install the Forge MCP Server

{
  "mcpServers": {
    "forge-1": {
      "command": "npx",
      "args": ["-y", "forge-mcp-server"],
      "env": {
        "FORGE_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

You need a Laravel Forge API key to use this server. You can get one from your Laravel Forge account settings.

VariableDescriptionRequired
FORGE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Forge to list servers.”
  • “Use Forge to get server.”
  • “Use Forge to list sites.”

Frequently asked questions

Laravel Forge MCP server for managing servers, sites, and deployments Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.