labrodev/laravel-mcp-espectro

Connect your Laravel app to the Espectro MCP server (Sanzo Wada color combinations).

Maintainers

Package info

github.com/labrodev/laravel-mcp-espectro

Homepage

Type:laravel-package

pkg:composer/labrodev/laravel-mcp-espectro

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-03-14 15:37 UTC

This package is auto-updated.

Last update: 2026-03-14 15:42:05 UTC


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:

  1. Create a .mcp.json file in your project root (Cursor auto-detects this).
  2. 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

License

MIT. See LICENSE for details.