Originally created by @flefevre on GitHub (Aug 25, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Problem Description
Summary
I propose adding support for exposing the existing OpenWebUI API endpoints through an MCP server implementation.
This would allow OpenWebUI to act as its own "callable tool provider," enabling models and assistants created within the platform to invoke OpenWebUI’s own functionality directly.
Motivation
Currently, OpenWebUI provides a great set of API endpoints (see documentation) for managing models, users, and knowledge bases. However, these endpoints are not yet integrated as callable tools in an MCP-compatible workflow.
By exposing them as MCP tools, OpenWebUI could:
Self-manage: administrators could use natural language to execute actions (e.g., "Create the group alpha and add the following users").
Assist users dynamically: end-users could query assistants with prompts like "Find the right knowledge base or model to address this topic", and the MCP server would return relevant OpenWebUI resources.
This bridges the gap between assistant configuration and platform administration in a seamless, conversational way.
Desired Solution you'd like
Proposal
Implement an official OpenWebUI MCP server that wraps around the REST API endpoints.
When creating or configuring a model assistant in the panel, allow selecting the OpenWebUI MCP server as a tool.
Each API endpoint would be callable as a structured MCP tool function.
Provide a starter config/example so users can easily enable this integration.
Example Use Cases
1. Administrator workflow
Prompt: "Create the group alpha and add Alice, Bob, and Charlie."
Action: MCP server maps this request to the groups and users endpoints.
2. User workflow
Prompt: "Find the best model for answering questions about medical terminology."
Action: MCP server queries the models or knowledge base endpoints and returns a matching assistant description.
Benefits
Unified ecosystem: OpenWebUI becomes both the platform and the tool provider.
Lower barrier for automation: no need for external scripting to call the API.
Extensible: any new OpenWebUI endpoint can be surfaced automatically as a tool.
Alternatives Considered
No response
Additional Context
No response
Originally created by @flefevre on GitHub (Aug 25, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
## Summary
I propose adding support for exposing the existing **OpenWebUI API endpoints** through an **MCP server** implementation.
This would allow OpenWebUI to act as its own "callable tool provider," enabling models and assistants created within the platform to invoke OpenWebUI’s own functionality directly.
## Motivation
Currently, OpenWebUI provides a great set of API endpoints ([see documentation](https://openwebui.com/getting-started/api-endpoints)) for managing models, users, and knowledge bases. However, these endpoints are not yet integrated as callable tools in an MCP-compatible workflow.
By exposing them as MCP tools, OpenWebUI could:
- **Self-manage**: administrators could use natural language to execute actions (e.g., *"Create the group `alpha` and add the following users"*).
- **Assist users dynamically**: end-users could query assistants with prompts like *"Find the right knowledge base or model to address this topic"*, and the MCP server would return relevant OpenWebUI resources.
This bridges the gap between **assistant configuration** and **platform administration** in a seamless, conversational way.
### Desired Solution you'd like
## Proposal
- Implement an **official OpenWebUI MCP server** that wraps around the REST API endpoints.
- When creating or configuring a model assistant in the panel, allow selecting the **OpenWebUI MCP server** as a tool.
- Each API endpoint would be callable as a structured MCP tool function.
- Provide a starter config/example so users can easily enable this integration.
## Example Use Cases
### 1. Administrator workflow
- **Prompt**: *"Create the group `alpha` and add Alice, Bob, and Charlie."*
- **Action**: MCP server maps this request to the `groups` and `users` endpoints.
### 2. User workflow
- **Prompt**: *"Find the best model for answering questions about medical terminology."*
- **Action**: MCP server queries the `models` or `knowledge base` endpoints and returns a matching assistant description.
## Benefits
- **Unified ecosystem**: OpenWebUI becomes both the **platform** and the **tool provider**.
- **Lower barrier for automation**: no need for external scripting to call the API.
- **Extensible**: any new OpenWebUI endpoint can be surfaced automatically as a tool.
### Alternatives Considered
_No response_
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @flefevre on GitHub (Aug 25, 2025).
Check Existing Issues
Problem Description
Summary
I propose adding support for exposing the existing OpenWebUI API endpoints through an MCP server implementation.
This would allow OpenWebUI to act as its own "callable tool provider," enabling models and assistants created within the platform to invoke OpenWebUI’s own functionality directly.
Motivation
Currently, OpenWebUI provides a great set of API endpoints (see documentation) for managing models, users, and knowledge bases. However, these endpoints are not yet integrated as callable tools in an MCP-compatible workflow.
By exposing them as MCP tools, OpenWebUI could:
alphaand add the following users").This bridges the gap between assistant configuration and platform administration in a seamless, conversational way.
Desired Solution you'd like
Proposal
Example Use Cases
1. Administrator workflow
alphaand add Alice, Bob, and Charlie."groupsandusersendpoints.2. User workflow
modelsorknowledge baseendpoints and returns a matching assistant description.Benefits
Alternatives Considered
No response
Additional Context
No response