8000 GitHub - njcx/mcp_client_openai_gradio: 本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。

Notifications You must be signed in to change notification settings

njcx/mcp_client_openai_gradio

Repository files navigation

MCP-client 本项目实现了一个兼容 OpenAI API 格式的 MCP (Model Control Protocol) 客户端服务,允许通过标准的 OpenAI API 接口与本地 MCP 模型进行交互。

运行方法:

1,  启动openai api :  python main-api.py

2,  启动gradio_ui  :  python gradio_ui.py   # just for test

MCP-Server配置:

修改config.json, 支持stdio 和sse两种。

LLM配置:

修改.env文件, 支持所有 OpenAI API 格式的API, 需要支持 Function Call(工具调用)。

test

About

本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0