nextcloud-mcp-server: add oidc.discovery_url to /api/v1/status #1

Closed
opened 2026-03-20 08:11:28 -06:00 by brandon · 1 comment
Owner

Summary

The MCP server status endpoint (/api/v1/status) does not include OIDC discovery information. This causes the Astrolabe app to fall back to a hardcoded localhost URL for OIDC discovery.

Current Response

{version, auth_mode, vector_sync_enabled, uptime_seconds, management_api_version}

Desired Response

Add an oidc block with discovery_url pointing to the configured OIDC discovery endpoint (derived from NEXTCLOUD_HOST env var).

Steps

  • Fork already exists at brandon/nextcloud-mcp-server on Gitea
  • Add oidc.discovery_url to the status endpoint response
  • Rebuild and deploy custom image from Gitea fork
  • Verify Astrolabe reads the discovery URL from status
## Summary The MCP server status endpoint (/api/v1/status) does not include OIDC discovery information. This causes the Astrolabe app to fall back to a hardcoded localhost URL for OIDC discovery. ## Current Response {version, auth_mode, vector_sync_enabled, uptime_seconds, management_api_version} ## Desired Response Add an oidc block with discovery_url pointing to the configured OIDC discovery endpoint (derived from NEXTCLOUD_HOST env var). ## Steps - [ ] Fork already exists at brandon/nextcloud-mcp-server on Gitea - [ ] Add oidc.discovery_url to the status endpoint response - [ ] Rebuild and deploy custom image from Gitea fork - [ ] Verify Astrolabe reads the discovery URL from status
Author
Owner

Fixed in 92f2d74. The status endpoint now auto-derives oidc.discovery_url from NEXTCLOUD_HOST when OIDC_DISCOVERY_URL is not explicitly set, and includes the oidc block in all auth modes.

Fixed in 92f2d74. The status endpoint now auto-derives oidc.discovery_url from NEXTCLOUD_HOST when OIDC_DISCOVERY_URL is not explicitly set, and includes the oidc block in all auth modes.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: brandon/nextcloud-mcp-server#1