Skip to main content
Glama
cbcoutinho

Nextcloud MCP Server

by cbcoutinho
routes.php1.47 kB
<?php declare(strict_types=1); /** * Routes configuration for MCP Server UI app. * * Defines URL routes for OAuth flow and form handlers. */ return [ 'routes' => [ // OAuth routes [ 'name' => 'oauth#initiateOAuth', 'url' => '/oauth/authorize', 'verb' => 'GET', ], [ 'name' => 'oauth#oauthCallback', 'url' => '/oauth/callback', 'verb' => 'GET', ], [ 'name' => 'oauth#disconnect', 'url' => '/oauth/disconnect', 'verb' => 'POST', ], // API routes (form handlers) [ 'name' => 'api#revokeAccess', 'url' => '/api/revoke', 'verb' => 'POST', ], // Vector search API routes [ 'name' => 'api#search', 'url' => '/api/search', 'verb' => 'GET', ], [ 'name' => 'api#vectorStatus', 'url' => '/api/vector-status', 'verb' => 'GET', ], [ 'name' => 'api#chunkContext', 'url' => '/api/chunk-context', 'verb' => 'GET', ], // Admin settings routes [ 'name' => 'api#saveSearchSettings', 'url' => '/api/admin/search-settings', 'verb' => 'POST', ], // Webhook management routes (admin only) [ 'name' => 'api#getWebhookPresets', 'url' => '/api/admin/webhooks/presets', 'verb' => 'GET', ], [ 'name' => 'api#enableWebhookPreset', 'url' => '/api/admin/webhooks/presets/{presetId}/enable', 'verb' => 'POST', ], [ 'name' => 'api#disableWebhookPreset', 'url' => '/api/admin/webhooks/presets/{presetId}/disable', 'verb' => 'POST', ], ], ];

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