MCP Hosted

Laravel Forge MCP server

Let Claude or ChatGPT manage and deploy your Laravel Forge sites.

A hosted MCP server for Laravel Forge. Connect your Forge account once and let your AI assistant read your servers, set up sites, deploy and debug failed deployments. It can do whatever the scopes on your Forge API token allow.

Works with Claude, ChatGPT, Cursor and any other remote MCP client.

You ask

Which PHP version do my servers run?

Laravel Forge readslist_servers

  • production-web-01 · nyc3PHP 8.4
  • production-web-02 · nyc3PHP 8.4
  • staging-web-01 · ams3PHP 8.3

Servers3

What your AI assistant can do in Laravel Forge

list_organizations
List the Forge organizations your token can reach.
list_servers
Find servers by name, provider, region or PHP version.
get_server
Read one server in full: provider, region, size, IP addresses and PHP version.
list_sites
List the sites in an organization, across every server.
get_site
Read one site in full: domain, repository, branch and deployment status.
create_site
Create a site on a server with its domain, PHP version and repository.
update_site_repository
Attach or change the Git repository and branch a site deploys from.
list_site_domains
List the domains of a site, with the IDs a certificate needs.
create_certificate
Request a free Let's Encrypt certificate for a domain.
set_environment_variables
Set .env variables on a site without ever reading the file.
get_deployment_script
Read the script Forge runs on every deploy.
update_deployment_script
Replace the deployment script.
deploy_site
Start a deployment of the site.
list_deployments
List the deployments of a site with their status and commit.
get_deployment
Read one deployment: status, commit, author and timing.
get_deployment_log
Read the full output of a deployment to see why it failed.
reset_deployment_status
Clear a deployment status that is stuck on deploying.
run_site_command
Run a shell command on the site, such as an Artisan command.
get_command_output
Read the output of a command you ran.
create_database
Create a database on the server.
create_database_user
Create a database user with access to one or more databases.
create_background_process
Keep a command running as a daemon, such as a queue worker.
enable_octane
Turn on Laravel Octane for a site.
enable_inertia_ssr
Turn on Inertia server-side rendering for a site.
enable_scheduler
Turn on the Laravel scheduler cron job for a site.

It can do whatever your Laravel Forge token allows. Give the token fewer permissions to keep it read-only.

Set up in three steps

  1. 1

    Create an account

    Sign up and confirm your email address.

  2. 2

    Connect Laravel Forge

    Create an API token in your Laravel Forge account settings, pick the scopes your AI assistant may use, and paste it into your dashboard.

  3. 3

    Add the URL to your AI client

    Paste this URL as a remote MCP server and sign in once.

    http://mcphosted.com/mcp/forge

Things you can ask

  • Which PHP version do my servers run?
  • Which sites are running on production-web-01?
  • Show me the repository and branch for example.com.
  • Deploy the master branch of acme/website to example.com and show me the log if it fails.

Questions

What is a Laravel Forge MCP server?

MCP (Model Context Protocol) is the standard AI assistants use to talk to other software. This MCP server lets Claude, ChatGPT and other AI clients work with your Laravel Forge account, so you can ask about your servers and sites in plain language instead of clicking through the dashboard.

Can the AI deploy or restart anything?

Only if your API token allows it. The server can do whatever the scopes on your Forge API token allow, and Forge refuses everything else. Want it read-only? Give the token only the organization:view and server:view scopes.

Which AI clients work with it?

Any client that supports remote MCP servers, such as Claude, ChatGPT and Cursor. You add one URL and sign in once.

How is my Laravel Forge API token stored?

Encrypted, and only used to answer your own requests. It never appears in logs or in the answers your AI assistant receives.

Is this an official Laravel Forge product?

No. This is an independent service that connects to the public Laravel Forge API. It is not affiliated with or endorsed by Laravel.