New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

martinsoenen/pulse-mcp

Laravel Pulse cards for the tool calls served by a laravel/mcp server.
1,012

Larablocks Analysis

martinsoenen/pulse-mcp works with Laravel 12 and 13 (latest release v0.1.0, Sep 26, 2026).

Recommendation checks

Use with care

Use with care: meets 2 of 5 checks.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Sep 26, 2026)
  • First released under 90 days ago
  • 302 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Too new to judge
  • Last stable release: Sep 26, 2026.
  • 1 release in the last 12 months.
  • First released: Sep 26, 2026.
  • Monthly downloads: 302.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.

Install
composer require martinsoenen/pulse-mcp
Latest Version:v0.1.0
PHP:^8.3
Laravel:12 · 13
License:MIT
Last Updated:Sep 27, 2026
Links: GitHub  ·  Packagist
Maintainer: martinsoenen

Pulse MCP

Laravel Pulse cards for the tool calls served by a laravel/mcp server.

Pulse already shows you the HTTP request that carried an MCP call, but it aggregates it by route: every tool call collapses into a single POST /mcp row. This package breaks that row apart, per tool.

The cards

MCP Usage

The users calling the most tools, or experiencing the slowest ones, like Pulse's own Application Usage card.

The MCP Usage card, ranking the users by the number of tools they called

Slow MCP Tools

The tools that reached the slow threshold, sorted by their slowest call or by how often they were slow.

The Slow MCP Tools card, listing the tools over the threshold with their count and slowest call

The threshold was lowered to 10 ms for this screenshot.

MCP Tool Usage

Every tool, with how many times it was called and how many of those calls failed.

The MCP Tool Usage card, listing each tool with its calls and errors

What it records

Type Key Value
mcp_tool_call tool name —
mcp_tool_error tool name —
mcp_slow_tool_call tool name duration in milliseconds
mcp_user_tool_call authenticated user id —
mcp_slow_user_tool_call authenticated user id —

A tool call is slow once it reaches the Slow Requests threshold (PULSE_SLOW_REQUESTS_THRESHOLD, 1000 ms by default). Sharing that setting is deliberate: a slow tool is precisely what makes the POST /mcp request carrying it slow.

A tool counts as failed when it returns Response::error(), when it throws, and when the call itself is rejected (unknown tool, invalid parameters). The first case is worth stressing: laravel/mcp never reports it to the exception handler, so without this package a failing tool is completely invisible.

Installation

composer require martinsoenen/pulse-mcp

Then add the cards to your published resources/views/vendor/pulse/dashboard.blade.php:

<livewire:pulse-mcp.usage cols="4" />
<livewire:pulse-mcp.slow-tools cols="4" />
<livewire:pulse-mcp.tool-usage cols="4" />

Like core's Application Usage card, the usage card lets you switch between the users calling tools and the users experiencing slow tools. Pin it to one of them with type="calls" or type="slow_calls".

Configuration

The recorder is enabled by default. To tune it, add it to the recorders of your config/pulse.php:

\MartinSoenen\PulseMcp\Recorders\McpToolCalls::class => [
    'enabled' => env('PULSE_MCP_ENABLED', true),
    'sample_rate' => env('PULSE_MCP_SAMPLE_RATE', 1),
],

Sampling works as in Pulse's own recorders: a call is kept or dropped as a whole, and the cards scale every count back up, prefixed with ~, the raw value showing on hover.

How it works, and what that costs

laravel/mcp dispatches no event around tool calls, and CallTool builds its ToolInvoker with new, so there is no supported way to observe an invocation. What the package does instead is decorate the tools/call handler that Server::runMethodHandle() resolves from the container.

That works, but it leans on a class the package does not document as an extension point. Two limits follow:

  • Tools called through execute_tools are not recorded. ToolSearch::execute() bypasses CallTool and drives ToolInvoker directly, so those inner calls never reach the decorator.
  • Streamed tools need care. A tool returning a Generator only runs while the framework iterates it, which happens after the handler returns. The package wraps the generator so the recorded duration covers the whole stream; measuring around the handler alone reports roughly a tenth of the real time.

Both limits disappear if laravel/mcp ever emits events around tool invocations.

Requirements

PHP 8.3+, Laravel 12 or 13, Livewire 3 or 4, laravel/mcp 1.x and laravel/pulse 1.8+.

Alternatives to martinsoenen/pulse-mcp

php-mcp/laravel

Laravel SDK for building Model Context Protocol (MCP) servers - Seamlessly integ...

395,422 478
onelearningcommunity/laravel-model-explorer

A zero-config browser UI and MCP server for exploring your Eloquent models, rela...

126,990 7
mattiasgeniar/filament-mcp

Expose your Filament resources to AI agents over the Model Context Protocol, wit...

10,223 13
lucianotonet/laravel-telescope-mcp

MCP Server extension for Laravel Telescope

65,030 23
particle-academy/fancy-flow-mcp

A Laravel MCP server that lets an AI agent build fancy-flow workflows headlessly...

1,307 0

Version History

Version Released PHP License
v0.1.0 ^8.3 MIT