RunAPI Gemini TTS MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RunAPI Gemini TTS MCP ServerRun a TTS task for 'Welcome to the future'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why This Package?
@runapi.ai/gemini-tts-mcp is a focused Model Context Protocol server for the Gemini TTS model line on RunAPI.
It gives MCP-compatible assistants direct access to 1 endpoint and 2 model variants without loading the full RunAPI catalog.
Use this per-model server when an agent should stay scoped to Gemini TTS. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.
Related MCP server: ElevenLabs MCP Server
Install
Add it to Claude Code:
claude mcp add gemini-tts -s user -- npx -y @runapi.ai/gemini-tts-mcpUse project scope when the server should be shared with a repository:
claude mcp add gemini-tts -s project -- npx -y @runapi.ai/gemini-tts-mcpCodex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:
{
"mcpServers": {
"gemini-tts": {
"command": "npx",
"args": ["-y", "@runapi.ai/gemini-tts-mcp"]
}
}
}check_pricing works before sign-in. For task creation and status polling, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login.
Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.
Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.
Tools
Tool | Auth | Purpose |
| Yes | Create a Gemini TTS text to speech task and optionally wait for a terminal status. Returns the task id, status, and output URLs. |
| Yes | Fetch the current status and latest payload for an existing task. |
| No | Look up current pricing for a Gemini TTS model and endpoint. |
Models
Gemini TTS covers 2 model variants across 1 endpoint. Each tool accepts the models listed for it:
Tool | Models |
|
|
Model availability can change between releases. Use check_pricing or the Gemini TTS model page for the current catalog view.
Agent Prompts
Ask your assistant in natural language; it can inspect pricing, create the task, and return the task id plus output URLs.
Create a task
Run a Gemini TTS text to speech task with RunAPI.The assistant can call check_pricing, then text_to_speech, and return the task id, status, and output URLs.
Submit without waiting
Create the task but don't wait for it to finish.The assistant calls the create tool with wait: false and returns the task id. Check on it later with get_task.
Check pricing before creating
Check current Gemini TTS pricing, then create the task if it matches my request.The assistant calls check_pricing and can link to the Gemini TTS model page for the canonical catalog entry.
Configuration
The server resolves auth in this order:
RUNAPI_API_KEYenvironment variable, useful for headless and CI hosts~/.config/runapi/config.json, created by the MCPlogintool orrunapi loginNo key, which still allows
check_pricing
The config file is normally managed by login. A pre-provisioned headless config can use:
{
"apiKey": "your_runapi_key"
}Do not commit real API keys.
Links
Resource | URL |
Gemini TTS model page | |
npm package | |
GitHub repository | |
RunAPI MCP overview | |
RunAPI docs |
License
Licensed under the Apache License, Version 2.0.
Available Tools
4 toolscheck_pricingA
Look up RunAPI pricing for the gemini-tts model line.
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model slug. Defaults to the line's primary model. | |
| action | No | Endpoint name. Defaults to the endpoint that offers the model. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. The phrase 'look up' implies a read-only operation, which is helpful, but the description does not add further context such as rate limits, caching, or whether it accesses live pricing data. It is adequate but minimal.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that directly communicates the tool's purpose. Every word earns its place, and there is no redundant or filler content. It is efficient and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple lookup tool with no output schema and no annotations. The description clarifies the core purpose, and the schema covers parameters. While it does not describe the return format, that omission is acceptable for such a straightforward operation. It is complete enough for the tool's low complexity, though it could mention that it returns pricing data.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description itself does not add parameter details, but the schema fully documents both 'model' and 'action' parameters, their defaults, and allowed values. No additional compensation is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: looking up RunAPI pricing for a specific model line (gemini-tts). The verb 'look up' is specific, the resource (RunAPI pricing) is named, and the scope is defined, distinguishing it from sibling tools like text_to_speech (which generates audio) and get_task (which fetches task status).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that the tool is used when pricing information is needed, but it does not explicitly state when to use it versus alternatives or provide exclusion criteria. Sibling tools are not mentioned or contrasted, so guidance is only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taskA
Fetch the current status and latest result payload for a gemini-tts task.
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Asynchronous endpoint the task was created on. Defaults to the line's only asynchronous endpoint. | |
| task_id | Yes | Task id returned when the task was created. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are absent, so the description alone must convey behavior. 'Fetch' indicates a read-only operation, which is accurately reflected in the description. However, it does not disclose behavior for missing tasks, whether it blocks until completion, or any authentication/rate-limit requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that states the action and resource without extra verbiage. Every word contributes to the meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no output schema) and the clear schema, the description provides adequate context for a getter. It lacks explicit usage guidelines or notes about polling, but the minimal scope is acceptable; a small enhancement would be to mention it is for async task retrieval.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Both parameters (action and task_id) are fully described in the JSON schema with 100% coverage. The description adds no additional semantic detail beyond the schema, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Fetch' and identifies the resource as 'the current status and latest result payload for a gemini-tts task.' This clearly differentiates it from siblings like text_to_speech (task creation) and login/check_pricing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no explicit guidance on when to use this tool versus siblings, such as 'use after starting an asynchronous text_to_speech task' or 'poll this endpoint for completion.' The context implies it is the retrieval counterpart to text_to_speech, but nothing in the description states this.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
loginA
Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-run browser login when the current credential comes from the local config file. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does disclose key behaviors: it opens a browser, uses PKCE, and saves an API key to a specific path. However, it omits the conditional behavior that the browser flow may be skipped unless 'force' is true, which is only revealed in the parameter description. No contradiction exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that states the action, method, and outcome with no unnecessary words. It earns its place entirely.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity (one optional parameter, no output schema), the description is complete enough for most use cases. It explains what, how, and where. The main gap is not stating that this is a prerequisite for other tools, but that is reasonably inferred.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% because the only parameter 'force' has a clear description. The tool description itself adds no parameter-level detail, so it relies on the schema. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Authenticate RunAPI' via a specific method (browser PKCE login) and a specific side effect (saving the API key to a config file). This is a specific verb+resource that clearly distinguishes it from the unrelated sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage (you need to authenticate before using RunAPI tools), but it does not explicitly state when to use it, when not to use it, or mention any alternatives. Since the sibling tools are unrelated, there's no direct competition, but the guidance is implicit rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
text_to_speechA
Create a Gemini TTS task on RunAPI (text to speech). Returns a task id, status, and output URLs.
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| scene | No | Scene and recording environment. | |
| speakers | Yes | Non-empty speaker configurations with unique Speaker N identifiers. | |
| timeout_ms | No | ||
| temperature | No | Sampling temperature. | |
| callback_url | No | Webhook URL for async notifications. | |
| dialogue_turns | Yes | Non-empty ordered dialogue turns whose speaker ids reference configured speakers. | |
| sample_context | No | Overall delivery context and tone. | |
| poll_interval_ms | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the behavioral transparency burden. It discloses that the tool returns a task id, status, and output URLs, suggesting asynchronous behavior, but does not mention authentication requirements, potential costs, or how to handle task completion. This is moderate but incomplete disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, concise and front-loaded with the core action. It avoids redundancy and every word contributes to understanding the tool's purpose and basic output.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having 10 parameters and a complex schema with required speakers and dialogue_turns, the description gives no overview of the asynchronous task workflow, how to structure a request, or how to associate dialogue turns with speakers. The minimal single-sentence description is insufficient for a tool of this complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, so the schema already explains most parameters. The description adds no additional parameter context, such as how to structure speakers or dialogue_turns, beyond what the schema provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it creates a Gemini TTS task on RunAPI, using the specific verb 'Create' and naming the resource. This distinguishes it from siblings like get_task and check_pricing, which have different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for creating TTS tasks but provides no explicit guidance on when to use this tool versus alternatives, such as get_task for retrieving results or check_pricing for cost information. It lacks exclusions or direct references to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clearly distinct purpose: authentication, creating a TTS task, fetching task status, and checking pricing. No overlap or ambiguity between them.
Most tools follow a verb_noun pattern (get_task, check_pricing), and login is a simple verb. text_to_speech is a compound noun phrase rather than verb_noun, but all are lowercase with underscores and readable.
With only 4 tools, the server is tightly scoped to the essential operations for RunAPI Gemini TTS. Each tool earns its place and the count is appropriate for the narrow domain.
Core lifecycle is covered: auth, create task, poll for results, and check pricing. Missing features like task cancellation or listing historical tasks are minor gaps that don't break the primary workflow.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AI agent tools: web search, browser, 400+ LLMs, image gen, TTS, phone verify. Pay-per-use.
Generate images, video & speech with Nano Banana, Veo, Omni and Gemini TTS. Pay as you go.
AI voice generation: text-to-speech and voice cloning from any MCP client.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to generate and play high-quality text-to-speech audio using the Kokoro model, with support for multiple voices, adjustable speaking speed, and audio caching.
- AlicenseAqualityFmaintenanceEnables text-to-speech conversion using ElevenLabs API with voice management, streaming support, and multiple models.51MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to synthesize natural speech using either platform system voices or premium OpenAI TTS, with automatic engine selection and graceful fallback.18MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to generate high-quality speech with 54+ voices in multiple languages via MCP tools.17Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/runapi-ai/gemini-tts-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server