laravel-mcp-companion
by brianirish·★ 34·综合分 45
一个 MCP 服务器,提供完整的 Laravel 文档聚合和导航,支持多版本、学习路径和包发现功能。
概述
Laravel MCP Companion 是一个用于 Laravel 生态系统的文档聚合器和导航工具。它集中并组织了来自 Laravel 核心、服务和流行包的高质量文档。该服务器提供高级功能,包括多版本文档支持(6.x 至最新版本)、按难度级别组织的学习路径,以及强大的“我需要 X”查找器,允许用户描述需求并获取相关文档。它使用 TOON 格式实现高效的令牌使用,并自动每日更新。
试试问 AI
装完之后,这里有 4 个你可以让 AI 做的事:
什么时候选它
当您需要完整的 Laravel 生态系统文档、增强搜索、学习路径和跨包兼容性用于开发或参考时,选择此服务器。
什么时候不要选它
如果您需要感知上下文的代码生成(应使用 Laravel Boost)或非 Laravel 库的文档(应使用 Context7),请不要选择此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具search_documentationSearch across Laravel documentation, packages, and services
list_packagesList Laravel packages with installation commands and descriptions
get_learning_pathGet structured learning paths for Laravel topics
find_by_difficultyFilter documentation by beginner, intermediate, or advanced
browse_categoriesBrowse documentation by 15 semantic categories
find_by_contextFind documentation based on natural language description of needs
check_compatibilityCheck compatibility between different Laravel packages
get_integration_guideGet step-by-step integration guides for selected packages
laravel_version_infoGet documentation for specific Laravel versions
update_docsForce update all documentation to latest versions
find_service_docsFind documentation for Laravel services like Forge, Vapor, Nova
related_resourcesFind connected documentation resources based on current context
可对比工具
安装
Claude Desktop
- 打开 Claude Desktop 设置
- 点击 Claude 菜单 → 设置 → 开发者 → 编辑配置
- 添加到您的配置文件中:
``json { "mcpServers": { "laravel-mcp-companion": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/brianirish/laravel-mcp-companion:latest"] } } } ``
- 重启 Claude Desktop 使更改生效
Claude Code
使用 claude mcp add 命令:
# 使用 Docker 添加
claude mcp add laravel-mcp-companion -- docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest
# 或添加到项目特定配置
claude mcp add laravel-mcp-companion --scope project -- docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latestlaravel-mcp-companion 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。