Feedback

Laravel MCP Client

@scriptoshi Claim

Basic information

Runtime
php
Category
License
MIT license
Author
scriptoshi
Submitted by
Community
Quality
40
Stars
25

About Laravel MCP Client

# Laravel MCP Client\n\nDisclosure: This package was designed and written Entirely by claude ai. I may have guided and nuggged it in a few places, but the code was written by claude ai.\n\nLaravel MCP (Message Context Protocol) Client is a package that integrates Anthropic's Claude AI model with custom tool servers, allowing you to extend Claude's capabilities with your own tools and services.\n\n## Features\n\n- Seamless integration with Anthropic's Claude API\n- Tool server management and execution\n- Built-in queuing support for long-running tools\n- Event-driven architecture\n- ...

Laravel MCP Client is a MCP client in the Agent Framework category listed in the AddMCP.net directory, published by scriptoshi. Runtime: php. License: MIT license. The repository has 25 GitHub stars. Source code is hosted on github.com.

Laravel MCP Client config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Laravel MCP Client tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Laravel MCP Client?

Laravel MCP Client is a PHP package that integrates Anthropic's Claude AI model with custom tool servers within a Laravel application. It is designed for Laravel developers (Laravel 11+, PHP 8.3+) who want to extend Claude’s capabilities with their own tools and services.

How to use Laravel MCP Client?

Install via Composer, publish the configuration, add your Anthropic API key to .env, and run migrations. Use the McpClient facade to start a chat, and register custom tool servers by implementing the McpServerInterface and calling McpClient::registerServer() in a service provider.

Key features of Laravel MCP Client

  • Seamless integration with Anthropic’s Claude API
  • Tool server management and execution
  • Built-in queuing support for long-running tools
  • Event-driven architecture with dispatchable events
  • Automatic chat title generation
  • Complete chat history management with database persistence

Use cases of Laravel MCP Client

  • Extend Claude AI with custom tool servers (e.g., weather, data lookups)
  • Build conversational chatbots with persistent chat history in Laravel
  • Automate long-running tasks by queuing tool executions
  • Create AI-powered assistants that use your existing Laravel services

Frequently asked questions

1 What are the requirements for Laravel MCP Client?

PHP 8.3 or higher, Laravel 11.0 or higher, and an Anthropic API key.

2 How do I register a custom tool server?

Implement the McpServerInterface (with initialize, listTools, toolShouldQueue, executeTool methods) and register it in your service provider using McpClient::registerServer('name', $serverInstance).

3 Which Claude models are supported?

The package supports any Claude model; you configure the model name in your .env file (e.g., claude-3-sonnet-20240229).

4 What is the license for Laravel MCP Client?

It is open-sourced under the MIT License.

5 How are errors handled?

The package provides comprehensive logging with different log levels (error, info, warning, success) on the runner object, and dispatches MessageErrorEvent for global error handling.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬