Skip to content

Add Laravel Boost integration and MCP server tools#2

Open
yaambe wants to merge 1 commit intoJavaabu:mainfrom
yaambe:feature/boost-mcp-integration
Open

Add Laravel Boost integration and MCP server tools#2
yaambe wants to merge 1 commit intoJavaabu:mainfrom
yaambe:feature/boost-mcp-integration

Conversation

@yaambe
Copy link
Copy Markdown
Member

@yaambe yaambe commented Apr 21, 2026

Description

Adds Laravel Boost integration and MCP server tools for AI-assisted stats development.

Boost skill (stats-development):

  • Concise SKILL.md (159 lines) with progressive disclosure via references/ and scripts/
  • Teaches reuse of built-in package infrastructure (routes, controllers, middleware, formatters) over reimplementation
  • Cross-references MCP tools so agents verify against live application state

MCP server (3 read-only tools):

  • ListMetrics — discover registered metrics, their filters, and aggregate fields
  • ListFormatters — discover available formatters including custom ones
  • QueryStat — execute stat queries with real data and validation

Other:

  • Boost guidelines (resources/boost/guidelines/core.blade.php)
  • MCP tools conditionally register only when laravel/mcp is installed
  • Tests for all MCP tools and server registration

Tests

  • tests/Feature/Mcp/StatsMcpServerTest.php — 2 tests
  • tests/Feature/Mcp/Tools/ListMetricsTest.php — 6 tests
  • tests/Feature/Mcp/Tools/ListFormattersTest.php — 3 tests
  • tests/Feature/Mcp/Tools/QueryStatTest.php — 8 tests

@yaambe yaambe force-pushed the feature/boost-mcp-integration branch 3 times, most recently from 8931848 to 57b86cc Compare April 25, 2026 16:31
@yaambe yaambe force-pushed the feature/boost-mcp-integration branch from 41e43a3 to 5b12eb3 Compare April 25, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant