MCP.so
Sign In
Servers

Laravel Forge MCP Server

@bretterer

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

Overview

What is Laravel Forge MCP Server?

A Model Context Protocol (MCP) server that enables AI assistants to manage Laravel Forge servers, sites, and deployments via the Laravel Forge API. It is intended for developers who want to automate or interact with their Forge infrastructure through AI tools.

How to use Laravel Forge MCP Server?

Install the npm package, set the FORGE_API_KEY environment variable with your Laravel Forge API key, then run npx forge-mcp-server or import the server programmatically into your Node.js project. The server exposes a set of tools that can be called by an MCP-compatible client.

Key features of Laravel Forge MCP Server

  • List and get details of Laravel Forge servers
  • Manage sites (list, get, deploy, update scripts)
  • Deploy sites and toggle quick deploy
  • View deployment history and reset deployment state
  • Reboot servers and check server load
  • Use all tools via simple MCP tool calls

Use cases of Laravel Forge MCP Server

  • Automate site deployments from an AI chat interface
  • Monitor and reboot servers without logging into the Forge dashboard
  • Update deployment scripts across multiple sites programmatically
  • Retrieve server and site details for inventory or reporting
  • Enable/disable quick deploy through natural language commands

FAQ from Laravel Forge MCP Server

What does Laravel Forge MCP Server do?

It is a bridge between AI assistants and the Laravel Forge API, allowing AI agents to perform actions like listing servers, deploying sites, and rebooting servers.

What prerequisites are needed to use this server?

You need a Laravel Forge API key (obtainable from your Forge account settings) and Node.js installed on your machine.

How do I set my Laravel Forge API key?

Set the environment variable FORGE_API_KEY to your API key before starting the server.

How do I run the server after installation?

Run npx forge-mcp-server in your terminal, or import and call the server programmatically using the provided ForgeServer class.

More from Other