Laravel Forge MCP server32 tools

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.

How it works

  1. Copy your Laravel Forge API token. You'll find it in the settings of Laravel Forge.
  2. Paste it into MCP Hosted. Stored encrypted. Your AI never sees it.
  3. Add the link to Claude. Sign in once and allow access. ChatGPT and Cursor work too.
  4. Just ask. Plain questions in, answers from Laravel Forge out.

Things you can ask

Once Laravel Forge is connected, ask in your own words. Copy a question to try it.

  • “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.”

What your AI assistant can do in Laravel Forge

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

Looks things up

14 tools
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_server_credentials
List the cloud provider accounts linked to Forge, to create a server on.
list_sites
List the sites in an organization, across every server.
get_site
Read one site in full: domain, repository, branch and deployment status.
list_site_domains
List the domains of a site, with the IDs a certificate needs.
get_deployment_script
Read the script Forge runs on every deploy.
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.
get_command_output
Read the output of a command you ran.
search_forge_api
Find any other Forge API endpoint, with the scope it needs.
read_forge_api
Read anything else Forge offers, such as firewall rules, Nginx or backups.

Makes changes

18 tools

Only runs when your Laravel Forge token allows it.

create_server
Create a new server on DigitalOcean, Hetzner, AWS, Laravel VPS or your own machine.
create_site
Create a site on a server with its domain, PHP version and repository.
update_site
Change a site's web directory, project type, PHP version or branch.
update_site_repository
Attach or change the Git repository and branch a site deploys from.
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.
update_deployment_script
Replace the deployment script.
deploy_site
Start a deployment of the site.
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.
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.
update_background_process
Fix the Supervisor configuration of a daemon.
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.
write_forge_api
Change anything else Forge allows, such as firewall rules or PHP settings. It never deletes.

Missing a tool? Let us know

Your data stays secure.

The key to your software is encrypted and never shared with Claude or ChatGPT. You stay in control of which AI assistant gets access to your software.

Your key stays with us

We store your key encrypted and only use it to look up what you ask for. The answers go straight to your AI. We keep no copy and no AI model trains on them.

Your AI gets its own login

You give it permission once, like when you sign in to an app with Google. It never gets your password or your key.

Disconnect in one click

Click Disconnect and we delete your key straight away. From that moment on, your AI can no longer reach your software.

Up and running in three steps

Create an account, connect your tool and paste one URL into Claude, ChatGPT or Cursor. There's no code to write and nothing to install, and you only do it once per tool.

  1. Create an account

    Email code, Google or GitHub.

  2. Connect Laravel Forge

    Paste the API token from Laravel Forge.

  3. Add the URL to your AI client

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

Rather run it on your own machine?

Laravel Forge also runs on your own machine, started with one npx command. Your API key and your data never pass through our servers.

Buy a license

Pay for the tools you connect.

Hosting, updates and every AI assistant are included. Start with one tool and add more whenever you want.

Laravel Forge MCP server32 tools

€9per month

Per connection · incl. VAT

Connect Laravel Forge
  • We host the server and keep it up to date
  • Works in Claude, ChatGPT, Cursor and any other MCP client
  • Your key is encrypted and your data is never stored
  • Cancel whenever you want

Frequently asked questions

What MCP is, how your data is protected and what your AI can change.

Ask Claude, ChatGPT or another AI assistant about your servers, sites and deployments in plain language, and let it do the routine work your API token allows: create a site, set environment variables, deploy, or read the log to see why a deployment failed.

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. Some Forge API calls our server never sends, whatever your token allows: deleting a server, site or database, archiving a server, and restoring a backup over a database.

Yes. Click Choose servers and sites next to the connection on the setup page. Tick a server to let your AI do everything on it, also on sites added to it later, or tick only some of its sites. With only sites picked, our server also refuses every change to the whole server they are on, such as a new site, a database or a background process. A new server is always refused once you pick anything. Our server checks every call before it reaches Forge. Forge does not know about this limit, and your token can still do more, so keep its scopes narrow too. Commands and the deployment script run as the Linux user of the site, so when you pick single sites, turn on website isolation in Forge to keep them out of the files of other sites on the same server. The self-hosted server has no such limit yet.

There is no tool that deletes a server, site or database. Tools that run commands or change the deployment script can still remove site files or wipe a database, if your token has the scopes for them. With only the organization:view and server:view scopes, your AI cannot change or delete anything.

Not through set_environment_variables: it only writes the keys you name and answers with their names, never the file. Tools that run commands or change the deployment script can reach any file of the site, though. With only the organization:view and server:view scopes, your AI cannot read any file on the server.

Only your API token, encrypted with AES-256. Server and site details are fetched live when your AI asks for them, passed straight on and never saved. We never share them with anyone, and no AI model trains on them. The token never appears in logs or in the answers your AI assistant receives.

Our server and database run in a data centre in the EU. Prices are in euros, with one subscription per tool you connect.

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