Skip to main content
Glama

update_stream_settings

Modify live stream configurations including title, description, and privacy settings to control how your content appears across multiple streaming platforms.

Instructions

Update settings for the current stream such as title, description, or privacy settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoThe stream title
descriptionNoThe stream description
privacyNoThe stream privacy setting

Implementation Reference

  • Core handler function that performs the PATCH request to the Restream API endpoint '/user/stream' to update the current stream settings using the provided StreamSettings.
    async updateStreamSettings(settings: StreamSettings): Promise<Stream> { try { const response = await this.axiosInstance.patch<Stream>('/user/stream', settings); return response.data; } catch (error) { throw this.handleError(error, 'Failed to update stream settings'); } }
  • TypeScript interface defining the input parameters for updating stream settings, matching the tool's input schema.
    export interface StreamSettings { title?: string; description?: string; privacy?: 'public' | 'private' | 'unlisted'; }
  • src/index.ts:102-122 (registration)
    MCP tool registration defining the name, description, and input schema for 'update_stream_settings'.
    name: 'update_stream_settings', description: 'Update settings for the current stream such as title, description, or privacy settings', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'The stream title', }, description: { type: 'string', description: 'The stream description', }, privacy: { type: 'string', enum: ['public', 'private', 'unlisted'], description: 'The stream privacy setting', }, }, }, },
  • MCP server dispatch handler for 'update_stream_settings' that validates arguments and delegates to RestreamClient.updateStreamSettings.
    case 'update_stream_settings': { if (!args) { throw new Error('At least one setting is required'); } const stream = await restreamClient.updateStreamSettings(args); return { content: [ { type: 'text', text: JSON.stringify(stream, null, 2), }, ], }; }

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/shaktech786/restream-mcp-server'

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