labrodev/laravel-mcp-espectro
Laravel connector for the Espectro MCP server, giving AI assistants access to 159 colors and 348 palettes from Sanzo Wada’s Dictionary of Color Combinations. Generates a .mcp.json for Cursor and works with Claude and any MCP client.
espectro.dev), requiring no backend logic changes. It aligns well with Laravel’s modularity, as it doesn’t modify core frameworks but extends functionality via AI tooling..mcp.json config file and delegates requests to an external server, it introduces minimal state management risk.composer require + php artisan espectro:install) is straightforward, with no database migrations or complex dependencies.espectro.dev), which could introduce latency, downtime, or rate-limiting issues (15 RPM/IP).espectro.dev’s API schema (e.g., tool names like search-colors). Future API changes could break compatibility..mcp.json file exposure could theoretically leak API keys if misconfigured (though the package itself doesn’t handle auth)..mcp.json be customized to include additional tools or override Espectro’s defaults?.mcp.json must be accessible to AI clients.composer require labrodev/laravel-mcp-espectro
php artisan espectro:install
.mcp.json auto-detects.https://espectro.dev/mcp/espectro to MCP servers.search-colors, get-combination, etc..mcp.json (1–2 hours).espectro:install if the package evolves.espectro.dev for API changes or downtime.| Scenario | Impact | Mitigation Strategy |
|---|---|---|
| Espectro server down | AI tools fail to fetch colors | Add retry logic in AI client or fallback to local cache. |
| Rate limit exceeded | Throttled requests | Implement exponential backoff or queue requests. |
| API schema changes | Broken tool invocations | Monitor Espectro’s changelog; test regularly. |
.mcp.json misconfig |
AI tools connect to wrong server | Use environment variables to customize the file. |
search-colors").search-colors red").How can I help you explore Laravel packages today?