We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ToolRegistryInterface.php•400 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\McpServer\Tool;
use Butschster\ContextGenerator\McpServer\Tool\Config\ToolDefinition;
interface ToolRegistryInterface
{
/**
* Registers a tool in the registry.
*
* @throws \InvalidArgumentException If a tool with the same ID already exists
*/
public function register(ToolDefinition $tool): void;
}