mcp-server icon indicating copy to clipboard operation
mcp-server copied to clipboard

Support 100% Offline Mode for air-gapped environments with self-hosted LLMs

Open martinsomm opened this issue 6 months ago • 3 comments

Why are you proposing this feature?

In environments with restricted or no internet access (e.g., air-gapped systems, secure corporate networks), developers cannot leverage the UI5 MCP server. Currently, the server relies on internet/CDN access, which prohibits its usability in offline scenarios.

Background:

  • Many enterprises and government organizations enforce strict network isolation for security or compliance reasons.
  • Local LLMs (e.g., for privacy, latency, or cost reasons) require offline access to UI5 resources to provide accurate, up-to-date responses.

How should a possible solution look like?

Introduce a configuration option to enable offline mode. When enabled, the server should serve all requests from the local cache, without attempting to fetch from the internet/CDN.

Provide a command to manually update the local cache. Support incremental updates to avoid re-downloading unchanged resources. Allow specifying a custom cache directory.

Are there alternative approaches?

probably some open source UI5 MCP servers

Any further information you would like to share?

The solution may require:

  • A script to pre-fetch and index UI5 documentation.
  • A lightweight local server to serve cached resources.

Potential Challenges:

  • Ensuring the cache stays up-to-date with UI5 releases.
  • Handling large cache sizes (e.g., for full SDK documentation).

martinsomm avatar May 20 '26 11:05 martinsomm

Hi @martinsomm, thanks a lot for creating this enhancement request and sharing your feedback with us. It's a great idea and we will have a look at it.

flovogt avatar May 21 '26 07:05 flovogt

Adding to this, we had a similar request recently where the requirement was that everything should ideally be loaded from the npm registry so that a (prefilled) offline npm proxy could be used.

RandomByte avatar May 21 '26 12:05 RandomByte

This enhancement request is SAP internally tracked in backlog item CPOUI5FOUNDATION-1243.

flovogt avatar May 22 '26 07:05 flovogt