Skip to main content
Glama
AiAgency-Now

VoiceAI-MCP-VAVicky

Official
by AiAgency-Now

update_elevenlabs_token

Update the ElevenLabs API key for VoiceAI-MCP-VAVicky to maintain access to voice generation services.

Instructions

Update Elevenlabs API Key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
elevenlabs_tokenYesElevenlabs API Key

Implementation Reference

  • The handler logic in the executeTool method's switch statement. It sets up a POST request to the backend API endpoint `/elevenlabs/oauth` with the provided elevenlabs_token in the body.
    case 'update_elevenlabs_token':
      url = `${this.baseUrl}/elevenlabs/oauth`;
      method = 'POST';
      body = { elevenlabs_token: args.elevenlabs_token };
      break;
  • Defines the input schema for the tool, specifying that it requires an 'elevenlabs_token' string parameter. This is part of the tool list returned by the ListToolsRequestSchema handler.
    {
      name: 'update_elevenlabs_token',
      description: 'Update Elevenlabs API Key',
      inputSchema: {
        type: 'object',
        properties: {
          elevenlabs_token: { type: 'string', description: 'Elevenlabs API Key' }
        },
        required: ['elevenlabs_token']
      }
    },
  • index.js:90-100 (registration)
    The tool is registered by including it in the list of available tools returned by the ListToolsRequestSchema handler.
    {
      name: 'update_elevenlabs_token',
      description: 'Update Elevenlabs API Key',
      inputSchema: {
        type: 'object',
        properties: {
          elevenlabs_token: { type: 'string', description: 'Elevenlabs API Key' }
        },
        required: ['elevenlabs_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/AiAgency-Now/MCP-VoiceAI-WhiteLabel'

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