
mcp client openai
本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。
Repository Info
About This Server
本项目实现了一个兼容 OpenAI API 格式的 MCP-Client服务,允许通过标准的 OpenAI API 接口与本地 MCP-Server进行交互。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP-client
本项目实现了一个兼容 OpenAI API 格式的 MCP (Model Control Protocol) 客户端服务,允许通过标准的 OpenAI API 接口与本地 MCP 模型进行交互。
运行方法:
1, 启动openai api : python main-api.py
2, 启动 stdio cli : python cli.py # just for test
MCP-Server配置:
修改mcp-server-config.json, 支持stdio 和sse两种。
LLM配置:
修改mcp-server-config.json llm字段, 支持所有 OpenAI API 格式的API, 需要支持 Function Call(工具调用)。
!test
Quick Start
Clone the repository
git clone https://github.com/njcx/mcp-client-openaiInstall dependencies
cd mcp-client-openai
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.