Laravel 12 Docs MCP ServerServer

brianirish
GitHub
LaravelDocumentationAI Integration

Loading subscription status...

💡 Description

A Model Context Protocol (MCP) server that provides access to Laravel documentation and package recommendations for AI assistants and language models. This server enables AI assistants to access Laravel documentation and package recommendations, allowing them to list, read, and search through documentation files.

📝 JSON Entries

{
  "mcpServers": [
    {
      "laravel_docs_mcp": {
        "env": {
          "SECRET_NAME": "<SECRET_VALUE>"
        },
        "args": [
          "--docs-path",
          "./docs",
          "--version",
          "12.x",
          "--update-docs"
        ],
        "command": "python laravel_docs_server.py"
      }
    }
  ]
}

🛠️ Tools

list_docs()search_docs(query: str)get_package_recommendations(use_case: str)update_docs(version: Optional[str], force: bool)

Features

  • Dynamic documentation updates from Laravel's GitHub repository
  • Package recommendations based on use cases
  • Implementation guidance for common Laravel packages

💬 Example Queries

  • List all documentation files
  • Search documentation for the term 'routing'
  • Get package recommendations for implementing subscription billing