njcx
MCP Servernjcxpublic

mcp client openai

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

Repository Info

2
Stars
0
Forks
2
Watchers
0
Issues
Python
Language
-
License

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

1

Clone the repository

git clone https://github.com/njcx/mcp-client-openai
2

Install dependencies

cd mcp-client-openai
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownernjcx
Repomcp-client-openai
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation