Skip to main content
Glama
srvrsoorg
by srvrsoorg
mcp.php456 B
<?php use PhpMcp\Laravel\Facades\Mcp; Mcp::tool(function(float $x, float $y): float { return $x * $y; }) ->name('multiply') ->description('Multiply two numbers') ->inputSchema([ 'type' => 'object', 'properties' => [ 'x' => ['type' => 'number', 'description' => 'First number'], 'y' => ['type' => 'number', 'description' => 'Second number'], ], 'required' => ['x', 'y'], ]);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/srvrsoorg/mcp-server-laravel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server