Skip to main content
Glama
UserHydration.php380 B
<?php declare(strict_types=1); namespace App\Repository; use App\Model\User; trait UserHydration { /** * @param array{id:int,email:string,active?:bool} $row */ private function hydrate(array $row): User { return new User( id: $row['id'], email: $row['email'], active: $row['active'] ?? true, ); } }

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/pi22by7/In-Memoria'

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