StackMCP

Laravel + PHP Stack for Windsurf

Intermediate5 servers24.8K tokens

Configuration

{
  "mcpServers": {
    "mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mysql-mcp"
      ],
      "env": {
        "MYSQL_HOST": "YOUR_MYSQL_HOST",
        "MYSQL_USER": "YOUR_MYSQL_USER",
        "MYSQL_PASSWORD": "YOUR_MYSQL_PASSWORD",
        "MYSQL_DATABASE": "YOUR_MYSQL_DATABASE"
      }
    },
    "docker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "docker-mcp"
      ]
    },
    "context7-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    },
    "github-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
      }
    },
    "redis-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redis-mcp"
      ],
      "env": {
        "REDIS_URL": "YOUR_REDIS_URL"
      }
    }
  }
}

Where to save

Paste the config above into:

~/.codeium/windsurf/mcp_config.json

Environment Variables

Replace the YOUR_ placeholders with your actual values.

MYSQL_HOSTrequired

MySQL host

Used by: MySQL MCP

MYSQL_USERrequired

MySQL username

Used by: MySQL MCP

MYSQL_PASSWORDrequired

MySQL password

Used by: MySQL MCP

MYSQL_DATABASErequired

MySQL database name

Used by: MySQL MCP

GITHUB_PERSONAL_ACCESS_TOKENrequired

GitHub personal access token

Used by: GitHub MCP

REDIS_URLrequired

Redis connection URL

Used by: Redis MCP

What’s in this stack

MySQL MCP6 tools

Execute SQL queries against MySQL databases. Inspect schemas, run queries, and analyze data from your AI editor.

Laravel's default database. Query tables, inspect migrations, and debug Eloquent relationships directly from your AI assistant.

Docker MCP14 tools

Manage Docker containers, images, volumes, and networks. Run, stop, inspect, and monitor containers from your AI editor.

Laravel Sail runs on Docker. Manage your local dev environment, services, and builds without leaving the editor.

Pull up-to-date documentation and code examples for any library directly into your prompt context using the Context7 API.

Laravel evolves fast across major versions. Up-to-date docs ensure your AI writes idiomatic code for your exact version.

GitHub MCP20 tools

Access the GitHub API to manage repositories, issues, pull requests, branches, and workflows directly from your AI editor.

Manage PRs and CI pipelines. Laravel projects benefit from structured code review given the framework's convention-heavy patterns.

Redis MCP8 tools

Interact with Redis databases. Get, set, and manage keys, run commands, and monitor your Redis instances from your AI editor.

Laravel uses Redis for queues, cache, and sessions out of the box. Inspect job queues and debug cache issues inline.

Other editors