You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

openai-mcp-server

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai-mcp-server - npm Package Compare versions

Comparing version

to
0.1.3

10

dist/index.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

const server = new Server({
name: "openai-mcp-server",
name: "openai",
version: "0.1.0",

@@ -16,10 +16,4 @@ }, {

});
const args = process.argv.slice(3);
if (args.length === 0) {
console.error("Please provide openai api key as a command-line argument");
process.exit(1);
}
const openaiApiKey = args[0];
const openai = new OpenAI({
apiKey: openaiApiKey,
apiKey: process.env.OPENAI_API_KEY,
});

@@ -26,0 +20,0 @@ const SCHEMA_PATH = "schema";

2

package.json
{
"name": "openai-mcp-server",
"version": "0.1.2",
"version": "0.1.3",
"description": "MCP server for interacting with OpenAI",

@@ -5,0 +5,0 @@ "license": "MIT",