MAMP PRO MCP Server

Connect Your MAMP PRO Sites Directly to Claude with the MCP Server

MCP-Server for AI icon

How it helps you

"As a developer who works on several local WordPress and PHP projects at once, I want my AI assistant to access the actual state of my MAMP PRO sites – files and database– instead of me copying snippets back and forth into a chat window, so that I can let the assistant do real work on my projects.

This allows me to

  • let Claude read and edit project files directly in my site directory,
  • run SQL queries and WP-CLI commands without leaving the conversation,
  • and have site and server details detected automatically instead of looking them up by hand,

which saves time, cuts down on context switching, and means the assistant works with the real environment instead of guessing in the dark."

With the MCP Server in MAMP PRO, you connect your local development environment directly to Claude Desktop. The assistant gains controlled access to your sites and can carry out tasks on them – grounded in the actual files, database, and configuration on your machine.

Why It Matters

Normally, working with an AI assistant means a lot of copying and pasting: you paste code in, copy the answer back, run it yourself, report the result, and repeat. The MCP Server closes that loop. Claude sees the real state of your project and can act on it directly – reading the file that actually exists, querying the database as it really looks, running the WP-CLI command itself. Less guesswork, fewer round-trips, and answers that fit your environment instead of a generic example.

Tips & Best Practices

  • Be specific about the site: When you have several sites running, name the one you mean (e.g. "in the client-xyz site") so Claude operates on the right project.
  • Let it gather context first: Ask Claude to look up the site or server info before making changes – it works more reliably when it has read the actual state first.
  • Review before destructive actions: For anything that changes files or the database, have Claude show you what it plans to do first. Snapshots are a good safety net before larger changes.
  • Keep it local: All access runs against your local MAMP PRO stack on your own machine – ideal for working on client projects without exposing anything externally.

Requirements

  • MAMP PRO is installed and set up.
  • Claude Desktop is installed.
  • The MCP Server is enabled in MAMP PRO and connected to Claude Desktop.
  • At least one local site you want to work on.

Step-by-Step Guide

1. Enable the MCP Server in MAMP PRO

  • Open MAMP PRO
  • Enable the MCP Server feature in the General Tab of your site
  • MAMP PRO provides the connection details Claude Desktop needs to connect.

2. Start working on your sites

Just describe what you want in plain language, for example:

  • "Look into the client-xyz site and show me what's in the active theme's functions.php."
  • "List all published posts in the client-xyz database."
  • "Run wp plugin list for the client-xyz site."

Claude uses the MCP Server to read the relevant files, query the database, or run the WP-CLI command – and reports back based on the real result.

3. Iterate directly

  • Ask Claude to make changes (e.g. edit a template file, update an option in the database).
  • Review the proposed change, then let it apply.
  • Because it works against your live local environment, the next step always builds on the actual current state.

 

EMPTY

EMPTY