Connecting Cursor, Claude Code, Claude Desktop, or Windsurf to a local Laravel or WordPress project shouldn't require hand-editing four different JSON schemas every time you start a project.
Every AI client uses a slightly different MCP config path and key format:
.cursor/mcp.json → mcpServers.<name>.url
.mcp.json → mcpServers.<name> with "type": "http"
.vscode/mcp.json → servers.<name> with ~/.codeium/windsurf/mcp_config.json → mcpServers.<name>.serverUrl
claude_desktop_config.json → stdio relay (command + args)
I built a 100% client-side, zero-login Laravel MCP Config Generator that outputs ready-to-paste JSON for all of them in one click:
👉 Try it free: https://stratosapp.dev/tools/laravel-mcp-config-generator/
You pick your AI client, paste your local loopback MCP endpoint (http://127.0.0.1:9921/mcp) and session Bearer token, and get the exact file path + schema without guessing field names.
When connecting an AI coding agent to your local Laravel stack, you want zero-friction read context without letting a rogue prompt silently wipe a database:
get_sites), database table schemas & foreign keys ( get_schema), bounded laravel.log tails (read_logs), HTTP timings ( read_http_requests), and captured dumps ( read_dumps). run_tinker, query_database, run_artisan) queue for an explicit native macOS approval prompt per call instead of executing blindly.127.0.0.1:9921 with Host/Origin checks and ephemeral session Bearer tokens.
If you're also troubleshooting local .test SSL certificates, benchmarking Docker Desktop VirtioFS vs native APFS PHP-FPM sockets, or migrating off Laravel Sail, grab our 3 read-only bash scripts on GitHub:
Which AI editor are you pairing with Laravel right now — Cursor, Claude Code, Windsurf, or VS Code? Let me know if you want another client schema added to the generator!