OpenAI MCP Server

Installs and configures the official OpenAI Node.js client library for use in agent projects, with usage examples and links to upstream documentation.

agentskillexchange 8526a75 1.3 KB Updated 28 repo stars

File contents

OpenAI MCP Server

Installation

Use the upstream install or setup path that matches your environment:

  • npm install openai
  • npx jsr add @openai/openai

Requirements and caveats from upstream:

  • The full API of this library can be found in api.md file along with many code examples.
  • // If you have access to Node fs we recommend using fs.createReadStream():
  • await client.chat.completions.create({ messages: [{ role: 'user', content: 'How can I list all files in a directory using Python?' }], model: 'gpt-5.2' }, {

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/openai-mcp-server commit 8526a75dbe

Frequently asked questions

npx skillmds add agentskillexchange/openai-mcp-server