mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[PR #307] feat: optionally preserve MCP tool names #250
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/mcpo/pull/307
Author: @TheDropZone
Created: 8/20/2026
Status: 🔄 Open
Base:
dev← Head:preserve-tool-names📝 Commits (1)
3912ae5feat: optionally preserve MCP tool names📊 Changes
4 files changed (+52 additions, -1 deletions)
View changed files
📝
README.md(+2 -0)📝
src/mcpo/__init__.py(+4 -0)📝
src/mcpo/main.py(+12 -0)📝
src/mcpo/tests/test_main.py(+34 -1)📄 Description
Pull Request Checklist
devDescription
For example, Firecrawl exposes an MCP tool named
firecrawl_search. MCPO normally generates the OpenAPI operation IDtool_firecrawl_search_post; with--preserve-tool-names, it remainsfirecrawl_search.Default behavior:

With "--preserve-tool-names":

Changelog Entry
Description
Add an opt-in
--preserve-tool-namesflag that uses the original MCP tool name as the OpenAPIoperationId. The current generated operation IDs remain the default.Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.