本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。
Overview
What is Mcp_client_openai_gradio?
Mcp_client_openai_gradio is a client service compatible with the OpenAI API format, allowing interaction with a local MCP (Model Control Protocol) server through standard OpenAI API interfaces.
How to use Mcp_client_openai_gradio?
To use this project, follow these steps:
- Start the OpenAI API by running:
python main-api.py - Start the Gradio UI for testing by running:
python gradio_ui.py
Key features of Mcp_client_openai_gradio?
- Compatibility with OpenAI API format.
- Interaction with local MCP models.
- Support for Function Call (tool invocation).
Use cases of Mcp_client_openai_gradio?
- Integrating local models with OpenAI API for testing and development.
- Building user interfaces for local AI models using Gradio.
- Facilitating communication between local AI services and applications.
FAQ from Mcp_client_openai_gradio?
- Is this project compatible with all OpenAI API features?
Yes, it supports all OpenAI API formats, including Function Call.
- Can I use this project for production?
It is primarily designed for testing and development purposes.