About Openai MCP Client
Openai MCP Client is an MCP server published by ResoluteError in the Files category: a rudimentary implementation of Anthropic's Model Context Protocol with OpenAIs Model.
The repository has 53 stars and 11 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/ResoluteError/openai-mcp-clientThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Openai MCP Client
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository just now. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
1 check has not been run yet.
README
Intro
This is a simple example of how to use the Model Context Protocol (MCP) with OpenAI's API to create a simple agent acting from a chat context. Feel free to use this as a starting point for your own projects.
Setup Guide
- Ensure Deno v2 is installed
- Run
deno installto install dependencies - Copy
.env.exampleto.envand fill in the values- You can choose any MCP server you like - bring your own or use one from the official MCP server list
- Run
deno run devto start the application
Warning
Chat messages are appended and currently the entire conversation is always sent to the server. This can rack up a lot of tokens and cost a lot of money, depending on the length of the conversation, the model you are using, and the size of the context.
Limitations
This implementation currently only supports tool call responses of type text. Other resource can be implemented in applyToolCallIfExists in src/openai-utils.ts.
Notes
You latest messages are saved in messages.json for debugging purposes. These messages will be overwritten every time you run the application, so make sure to create a copy of the file before running the application again, if you want to keep the previous messages.
If you want to run the application in debug mode, set the DEBUG environment variable to true in your .env file. This will print out more information about the messages and tool calls.
README fetched from the repository just now. The original is authoritative.