Skip to main content
Glama

update_openai_token

Update the OpenAI API key for VoiceAI-MCP-VAVicky to enable custom voice and AI chat integrations.

Instructions

Update OpenAI API Key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openai_tokenYesOpenAI API Key

Implementation Reference

  • Switch case in executeTool method that handles 'update_openai_token' by setting up a POST request to the backend API endpoint /openai/oauth with the provided openai_token.
    case 'update_openai_token': url = `${this.baseUrl}/openai/oauth`; method = 'POST'; body = { openai_token: args.openai_token }; break;
  • Tool schema definition including name, description, and input schema requiring 'openai_token' string.
    name: 'update_openai_token', description: 'Update OpenAI API Key', inputSchema: { type: 'object', properties: { openai_token: { type: 'string', description: 'OpenAI API Key' } }, required: ['openai_token'] } },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server