[PR #49] [MERGED] As discussed (discussions/24), this new parameter 'prefix' adds an op… #155

Closed
opened 2026-10-18 21:12:17 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/mcpo/pull/49
Author: @MHugonKaliop
Created: 4/4/2025
Status: ✅ Merged
Merged: 4/5/2025
Merged by: @tjbck

Base: dev ← Head: feat/add-prefix-from-discussion-24


📝 Commits (6)

  • 6c003f8 As discussed (discussions/24), this new parameter 'prefix' adds an optional prefix to the routes of the services
  • d74e1ce added usage of the new parameter
  • 12b61f4 renamed prefix to path_prefix
  • 20d2e91 Merge branch 'dev' into feat/add-prefix-from-discussion-25
  • ce81196 finished renaming of prefix
  • c1c82c3 merge final correction

📊 Changes

2 files changed (+17 additions, -1 deletions)

View changed files

📝 src/mcpo/__init__.py (+15 -0)
📝 src/mcpo/main.py (+2 -1)

📄 Description

Changelog Entry

Description

This pull request adds an option parameter "prefix".
If present, all the routes will be prefixed with this parameter.
Discussed here : https://github.com/open-webui/mcpo/discussions/24

Added

Command line, optional parameter "--prefix mcpo" of "-x mcpo"

Changed

This parameter changes the "mount" option of every sub_app to apply this optional parameter

Deprecated

None

Removed

None

Fixed

None

Security

None

Breaking Changes

None


Additional Information

None

Screenshots or Videos

None


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/mcpo/pull/49 **Author:** [@MHugonKaliop](https://github.com/MHugonKaliop) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/5/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/add-prefix-from-discussion-24` --- ### 📝 Commits (6) - [`6c003f8`](https://github.com/open-webui/mcpo/commit/6c003f8bef80d9c7bc421694fe1125bb987cb171) As discussed (discussions/24), this new parameter 'prefix' adds an optional prefix to the routes of the services - [`d74e1ce`](https://github.com/open-webui/mcpo/commit/d74e1ceeef14d6abf8e399b8a7875b61e21d01c7) added usage of the new parameter - [`12b61f4`](https://github.com/open-webui/mcpo/commit/12b61f4ed720042b56ba6d53bb1d6921e2ecb4d6) renamed prefix to path_prefix - [`20d2e91`](https://github.com/open-webui/mcpo/commit/20d2e91bf94da20820e1def6b92ca818879c33e2) Merge branch 'dev' into feat/add-prefix-from-discussion-25 - [`ce81196`](https://github.com/open-webui/mcpo/commit/ce81196fc2a4391430246604251de3a4e2d75978) finished renaming of prefix - [`c1c82c3`](https://github.com/open-webui/mcpo/commit/c1c82c3df0a578ae581cf96a4a773f2ad19b0743) merge final correction ### 📊 Changes **2 files changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/mcpo/__init__.py` (+15 -0) 📝 `src/mcpo/main.py` (+2 -1) </details> ### 📄 Description # Changelog Entry ### Description This pull request adds an option parameter "prefix". If present, all the routes will be prefixed with this parameter. Discussed here : https://github.com/open-webui/mcpo/discussions/24 ### Added Command line, optional parameter "--prefix mcpo" of "-x mcpo" ### Changed This parameter changes the "mount" option of every sub_app to apply this optional parameter ### Deprecated None ### Removed None ### Fixed None ### Security None ### Breaking Changes None --- ### Additional Information None ### Screenshots or Videos None --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:12:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#155
No description provided.