MCP.so
登录

Laravel Forge MCP Server

@bretterer

基本信息

分类

其他

传输方式

stdio

作者

bretterer

关于 Laravel Forge MCP Server

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

Laravel Forge MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "forge-mcp-server": {
      "command": "npx",
      "args": [
        "forge-mcp-server"
      ]
    }
  }
}

Laravel Forge MCP Server 工具

12

List 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

概览

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

常见问题

1

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.

2

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.

3

How do I set my Laravel Forge API key?

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

4

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.

评论

其他 分类下的更多 MCP 服务器