Skip to main content
Glama
cbcoutinho

Nextcloud MCP Server

by cbcoutinho
PersonalSection.php1.03 kB
<?php declare(strict_types=1); namespace OCA\Astrolabe\Settings; use OCP\IL10N; use OCP\IURLGenerator; use OCP\Settings\IIconSection; /** * Personal settings section for Astrolabe. * * Creates a dedicated section in personal settings for semantic search configuration. */ class PersonalSection implements IIconSection { private $l; private $urlGenerator; public function __construct(IL10N $l, IURLGenerator $urlGenerator) { $this->l = $l; $this->urlGenerator = $urlGenerator; } /** * @return string The section ID */ public function getID(): string { return 'astrolabe'; } /** * @return string The translated section name */ public function getName(): string { return $this->l->t('Astrolabe'); } /** * @return int Priority (lower = higher up in list, 0-99) */ public function getPriority(): int { return 80; } /** * @return string Section icon (SVG or image URL) */ public function getIcon(): string { return $this->urlGenerator->imagePath('astrolabe', 'app-dark.svg'); } }

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