Skip to content

Provide the MCP server as a dedicated exApp #203

Description

@Simon-Spettmann

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: 34.0.0.12

Is your feature request related to a problem? Please describe.

It is my understanding that nextcloud/context_agent has extensive dependencies and apparently needs an AI provider itself to work. This is something I neither need nor want to integrate with my Nextcloud instance. For someone who just wants the MCP endpoint, this a lot of extra "baggage".

Describe the solution you'd like

I would prefer to have a dedicated and simple exApp with just the MCP server, nothing more, nothing less. The MCP endpoint of this MCP server could be used by both external AI agents as well as the internal AI agent of nextcloud/context_agent (as an "external" service).

Describe alternatives you've considered

I tried to use nextcloud/context_agent without these dependencies, or at least with all dependencies except an AI provider, but couldn't get it to work. I also considered cbcoutinho/nextcloud-mcp-server, but this seems to be an external service that connects to the Nextcloud instances and bridges MCP calls to API endpoints. I would rather have an official, integrated and minimal MCP server solution.

Additional context

My (possibly naive) proposal would be to refractor ex_app/lib/mcp_server.py and Nextcloud-specific tools from ex_app/lib/all_tools to a dedicated exApp. We might also take this chance to (re)implement the MCP server based on the official modelcontextprotocol/python-sdk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions