{"slug": "supercharge-laravel-boost-with-neo4j-mcp", "title": "Supercharge Laravel Boost with Neo4j MCP 🚀", "summary": "Neo4j has released Laravel Boost, an open-source package that integrates the official Neo4j MCP server into Laravel Boost, giving AI coding assistants live access to a Neo4j graph database and application architecture. The tool allows developers to export their Laravel service container into Neo4j, enabling AI assistants to query dependency graphs and understand application structure beyond static code analysis.", "body_md": "AI coding assistants have transformed the way we build software. They can understand your code, generate features, and help with debugging but they usually have no idea what's inside your database.\n\nThat's where **Neo4j Laravel Boost** comes in.\n\nIt integrates the **official Neo4j MCP server** directly into **Laravel Boost**, giving any MCP-compatible AI client access to your live Neo4j database and graph tooling. Instead of managing multiple MCP servers, everything is exposed through your existing Laravel Boost server.\n\nOnce configured, your AI assistant can:\n\nInstead of relying solely on static code analysis, your AI assistant gains access to your application's graph data and architecture, making it much more capable.\n\nInstall the package using Composer.\n\n```\ncomposer require --dev neo4j/laravel-boost\n```\n\nConfigure your Neo4j connection.\n\n```\nNEO4J_URI=bolt://localhost:7687\nNEO4J_USERNAME=neo4j\nNEO4J_PASSWORD=your-password\n```\n\nRun the interactive setup.\n\n```\nphp artisan neo4j-boost:setup\n```\n\nThe setup wizard validates your Neo4j connection, configures the package, optionally installs the official Neo4j MCP binary, and can even spin up a local Neo4j Docker instance for you.\n\nYour AI client only needs a single MCP server configuration.\n\n```\n{\n  \"mcpServers\": {\n    \"laravel-boost\": {\n      \"command\": \"php\",\n      \"args\": [\n        \"artisan\",\n        \"boost:mcp\"\n      ],\n      \"env\": {\n        \"APP_ENV\": \"local\"\n      }\n    }\n  }\n}\n```\n\nWhether you're using **Cursor**, **Claude Code**, or another MCP-compatible client, Neo4j tools become available alongside your existing Laravel Boost tools.\n\nOne of the most interesting features of Neo4j Laravel Boost is the ability to export your Laravel service container directly into Neo4j.\n\n```\nphp artisan container:graph\n```\n\nOnce exported, your dependency graph becomes queryable by your AI assistant.\n\nFor example:\n\n```\n{\n  \"class\": \"App\\\\Services\\\\FooService\",\n  \"direction\": \"outbound\",\n  \"depth\": 4\n}\n```\n\nInstead of manually tracing dependencies across dozens of files, your AI assistant can understand how your services are connected and provide much richer insights into your application's architecture.\n\n```\nphp artisan neo4j-boost:setup\n```\n\nChecks your configuration, validates your Neo4j connection, and performs the initial setup.\n\n```\nphp artisan neo4j-boost:start-neo4j\n```\n\nStarts a Docker-based Neo4j instance with the required plugins so you can start developing immediately.\n\n```\nphp artisan neo4j-boost:doctor\n```\n\nRuns a complete health check for your installation, transport configuration, Neo4j connection, and MCP setup.\n\n```\nphp artisan neo4j-boost:cursor-config\n```\n\nCreates or updates your `.cursor/mcp.json`\n\nfile so Cursor can immediately connect to Laravel Boost.\n\n```\nphp artisan container:graph\n```\n\nExports your Laravel service container into Neo4j, making it possible to visualize and query your application's dependency graph.\n\nNeo4j Laravel Boost supports multiple transport options depending on your development workflow.\n\nCommunicates directly with Neo4j over Bolt using the PHP driver.\n\nLaunches the official Neo4j MCP binary as a subprocess.\n\nConnects to a remote or containerized Neo4j MCP server.\n\nThis flexibility makes it easy to integrate into local development environments, Docker setups, and remote deployments.\n\nMost AI coding assistants only understand your source code.\n\nNeo4j Laravel Boost gives them additional context by allowing them to:\n\nThe result is an AI assistant that's significantly more aware of your application's structure and data model.\n\nThe MCP ecosystem is evolving quickly, and tools that connect AI assistants with live application data are becoming increasingly valuable.\n\nNeo4j Laravel Boost is a great example of what's possible. By combining Laravel Boost with the official Neo4j MCP server, it enables your AI assistant to go beyond static code analysis and interact directly with your graph database and application architecture.\n\nIf you're already using Laravel Boost or building applications with Neo4j, this package is definitely worth checking out.\n\n⭐ Give the project a try, explore its features, and let me know how you're using Neo4j Laravel Boost in your workflow!", "url": "https://wpnews.pro/news/supercharge-laravel-boost-with-neo4j-mcp", "canonical_source": "https://dev.to/zaeem2331/supercharge-laravel-boost-with-neo4j-mcp-226k", "published_at": "2026-07-21 06:22:21+00:00", "updated_at": "2026-07-21 06:29:52.314304+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence", "ai-tools"], "entities": ["Neo4j", "Laravel Boost", "Cursor", "Claude Code", "MCP"], "alternates": {"html": "https://wpnews.pro/news/supercharge-laravel-boost-with-neo4j-mcp", "markdown": "https://wpnews.pro/news/supercharge-laravel-boost-with-neo4j-mcp.md", "text": "https://wpnews.pro/news/supercharge-laravel-boost-with-neo4j-mcp.txt", "jsonld": "https://wpnews.pro/news/supercharge-laravel-boost-with-neo4j-mcp.jsonld"}}