Skip to main content
Glama
cbcoutinho

Nextcloud MCP Server

by cbcoutinho
ApiTest.php470 B
<?php declare(strict_types=1); namespace Controller; use OCA\Astrolabe\AppInfo\Application; use OCA\Astrolabe\Controller\ApiController; use OCP\IRequest; use PHPUnit\Framework\TestCase; final class ApiTest extends TestCase { public function testIndex(): void { $request = $this->createMock(IRequest::class); $controller = new ApiController(Application::APP_ID, $request); $this->assertEquals($controller->index()->getData()['message'], 'Hello world!'); } }

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/cbcoutinho/nextcloud-mcp-server'

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