MCP.so
Sign In

Mcp Client Openai

@njcx

About Mcp Client Openai

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

Basic information

Category

AI & Agents

Runtime

python

Transports

stdio

Publisher

njcx

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp Client Openai?

Mcp Client Openai is a Model Control Protocol (MCP) client service that exposes a compatible OpenAI API format, enabling standard OpenAI API calls to interact with local MCP models.

How to use Mcp Client Openai?

Start the OpenAI API server with python main-api.py, or launch the stdio CLI with python cli.py for testing. Edit mcp-server-config.json to configure the MCP server (stdio or SSE) and the LLM endpoint (any OpenAI API that supports function calls/tool calling).

Key features of Mcp Client Openai

  • Exposes local MCP models via OpenAI API format.
  • Supports both stdio and SSE MCP server transports.
  • Compatible with any LLM API that supports function calling.
  • Provides a CLI mode for testing purposes.

Use cases of Mcp Client Openai

  • Integrate local MCP models into applications built for the OpenAI API.
  • Test MCP server interactions using standard OpenAI tool calling.
  • Bridge between OpenAI‑compatible clients and custom MCP backends.

FAQ from Mcp Client Openai

What MCP server transports are supported?

stdio and SSE.

Does the LLM require specific capabilities?

Yes, the LLM must support function calling (tool calls) as per OpenAI API format.

How do I configure the MCP server?

Modify the mcp-server-config.json file; set the transport type to stdio or sse and provide appropriate server details.

Comments

More AI & Agents MCP servers