Laravel Forge MCP Server
@bretterer
About Laravel Forge MCP Server
Laravel Forge MCP server for managing servers, sites, and deployments
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"forge-mcp-server": {
"command": "npx",
"args": [
"forge-mcp-server"
]
}
}
}Tools
12List all Laravel Forge servers
Get details of a specific server
List all sites on a server
Get details of a specific site
Deploy a site
Get deployment history for a site
Get the deployment script for a site
Update the deployment script for a site
Enable or disable quick deploy for a site
Reboot a server
Get server load metrics
Reset deployment state for a site
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 Other MCP servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Comments