Laravel + PHP Stack
Build Laravel applications with MySQL, Docker, documentation access, and deployment tools integrated in your editor.
Token Budget
Moderate token usage. You will have good room for prompts but watch if adding more servers.
Config
Paste in ~/.claude.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
}
},
"docker-mcp": {
"command": "npx",
"args": [
"-y",
"docker-mcp"
]
},
"redis-mcp": {
"command": "npx",
"args": [
"-y",
"redis-mcp"
],
"env": {
"REDIS_URL": "YOUR_REDIS_URL"
}
},
"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"
}
},
"context7-mcp": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Included Servers
MySQL MCP
Community
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 MCP
Community
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.
Context7 MCP
Upstash
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 MCP
Anthropic
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 MCP
Community
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.