labrodev/laravel-mcp-espectro
Composer 安装命令:
composer require labrodev/laravel-mcp-espectro
包简介
Connect your Laravel app to the Espectro MCP server (Sanzo Wada color combinations).
README 文档
README
A Laravel package that connects your project to the Espectro MCP server — giving AI assistants (Cursor, Claude, etc.) access to 159 colors and 348 color combinations from Sanzo Wada's Dictionary of Color Combinations.
This package does not run an MCP server itself. It is a connector that configures your project to talk to the hosted MCP at https://espectro.dev/mcp/espectro.
Requirements
- PHP 8.2+
- Laravel 11+
Installation
composer require labrodev/laravel-mcp-espectro
Then run:
php artisan espectro:install
This will:
- Create a
.mcp.jsonfile in your project root (Cursor auto-detects this). - Print the MCP endpoint URL and connection instructions for Claude Desktop and other clients.
Usage
Cursor
After running espectro:install, restart Cursor. It will pick up the .mcp.json and connect to Espectro automatically.
Claude Desktop
Add a new MCP server in Claude Desktop settings with URL:
https://espectro.dev/mcp/espectro
Any MCP client
Point your MCP client to https://espectro.dev/mcp/espectro using the HTTP (streamable) transport.
Rate limit: 15 requests per minute per IP.
Available MCP tools
| Tool | Description |
|---|---|
search-colors |
Search colors by name or hex value |
get-color |
Get full details for a color by slug |
search-combinations |
Filter combinations by palette size (2, 3, or 4) |
get-combination |
Get a combination by ID with full color data |
random-combination |
Get a random palette for inspiration |
export-combination |
Export a combination as Tailwind config or CSS variables |
Links
- Website & docs: https://espectro.dev
- Usage guide: https://espectro.dev/usage
- JSON API: https://espectro.dev/api/colors
License
MIT. See LICENSE for details.
labrodev/laravel-mcp-espectro 适用场景与选型建议
labrodev/laravel-mcp-espectro 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「colors」 「laravel」 「palette」 「mcp」 「sanzo-wada」 「espectro」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 labrodev/laravel-mcp-espectro 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 labrodev/laravel-mcp-espectro 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 labrodev/laravel-mcp-espectro 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Prominent image colour extraction for PHP
Class that adds color to PHPUnit testing output using ANSI escape coding
A slick color picker fieldtype plugin for the Craft CMS 3 control panel.
Identify your matrix blocks by giving each type a different color.
Extract colors from an image as a human would do.
PHP library for using ANSI escape codes in the terminal
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-14