Skip to main content
Glama

speakers

Retrieve available speaker information from the VOICEVOX MCP Server for text-to-speech synthesis, enabling users to select and generate voice audio from text inputs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'speakers' tool: fetches speaker data using fetchSpeakers and returns it as a text content block with JSON stringified data.
    async () => { const data = await fetchSpeakers(); return { content: [{ type: "text", text: JSON.stringify(data) }], } }
  • src/index.ts:39-47 (registration)
    Registration of the 'speakers' tool on the MCP server, with empty input schema ({}), using the handler function that returns speaker list as JSON text.
    server.tool("speakers", {}, async () => { const data = await fetchSpeakers(); return { content: [{ type: "text", text: JSON.stringify(data) }], } } )
  • Helper function fetchSpeakers() that retrieves the list of speakers from the VOICEVOX API endpoint.
    export async function fetchSpeakers() { const res = await fetch(`${VOICEVOX_API_URL}/speakers`); return await res.json(); }

Other Tools

Related Tools

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/Yuki10Kobayashi/voicevox-mcp'

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