本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。
Overview
what is Mcp Client Openai?
Mcp Client Openai 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?
To use Mcp Client Openai, follow these steps:
- Start the OpenAI API by running:
python main-api.py - For testing, start the stdio CLI by running:
python cli.py.
key features of Mcp Client Openai?
- Compatibility with OpenAI API format.
- Interaction with local MCP models.
- Support for Function Call (tool invocation).
use cases of Mcp Client Openai?
- Integrating local models with OpenAI API for enhanced functionality.
- Testing and developing applications that require local model interactions.
- Facilitating communication between local servers and OpenAI services.
FAQ from Mcp Client Openai?
- What is the MCP-Server configuration?
Modify
mcp-server-config.jsonto support stdio and SSE (Server-Sent Events).
- What LLM configurations are supported?
Modify the
llmfield inmcp-server-config.jsonto support all OpenAI API formats, including Function Call.