Skip to content

feat: install and configure Laravel MCP#128

Merged
ibourgeois merged 2 commits intomainfrom
codex/feat-32-mcp-foundation
Mar 26, 2026
Merged

feat: install and configure Laravel MCP#128
ibourgeois merged 2 commits intomainfrom
codex/feat-32-mcp-foundation

Conversation

@ibourgeois
Copy link
Copy Markdown
Contributor

Summary

  • add Laravel MCP as an explicit application dependency
  • publish a minimal MCP config and ai routes file with a local katra handle
  • add a small Katra MCP server, read-only workspace tool, and smoke test

Testing

  • /Users/ibourgeois/Library/Application Support/Herd/bin/php84 artisan test --compact tests/Feature/McpSmokeTest.php

Closes #32

Copilot AI review requested due to automatic review settings March 26, 2026 23:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Laravel MCP to the app, wiring up a local katra MCP handle with a minimal server + read-only tool, and documents/validates the setup via a smoke test.

Changes:

  • Add laravel/mcp as an application dependency.
  • Publish minimal MCP config and a new routes/ai.php entry registering the local katra server.
  • Add KatraServer, a read-only DescribeWorkspace tool, and a feature smoke test.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
composer.json Adds Laravel MCP dependency required for MCP server/tool support.
config/mcp.php Introduces MCP OAuth redirect domain configuration.
routes/ai.php Registers the local MCP handle katra pointing at the new server.
app/Mcp/Servers/KatraServer.php Defines the MCP server and registers the tool list.
app/Mcp/Tools/DescribeWorkspace.php Implements a read-only, idempotent tool returning workspace metadata.
tests/Feature/McpSmokeTest.php Smoke-tests that the tool is exposed and returns expected content.
README.md Documents MCP setup, how to start the server, and where the smoke test lives.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ibourgeois ibourgeois merged commit e8efdbe into main Mar 26, 2026
1 check passed
@ibourgeois ibourgeois deleted the codex/feat-32-mcp-foundation branch March 26, 2026 23:25
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.

feat: install and configure the Laravel MCP package

2 participants