voice-mcp is an MCP (Model Context Protocol) tool that provides voice generation capabilities for AI agents, developed by forgemeshlabs. It wraps the https://voice.forgemesh.io x402 voice API, enabling agents to call speech synthesis services through a standardized MCP interface.
Purpose
voice-mcp's main purpose is to give AI agents voice output capabilities. Through the MCP protocol, agents can request voice generation and use the returned audio data for playback, storage, or forwarding. This tool is suitable for scenarios that require adding voice interaction, voice announcements, or audio content generation to agents.
Main Capabilities
- Voices: Provides 10 standard voices (M1 to M5, F1 to F5) and 10 character voices (Storyteller, Narrator, Announcer, Assistant, Urgent, Sage, Spark, Anchor, Velvet, Echo).
- Languages: Supports 31 languages, including English, Korean, Japanese, Arabic, Bulgarian, Czech, Danish, German, Greek, Spanish, Estonian, Finnish, French, Hindi, Croatian, Hungarian, Indonesian, Italian, Lithuanian, Latvian, Dutch, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Swedish, Turkish, Ukrainian, and Vietnamese.
- Fine-grained control: Supports speech rate adjustment (0.7x to 2.0x), audio quality level (1 to 100), character selection, OpenAI-style audio format requests, and batch generation of up to 20 texts.
- Audio output: Voice samples are generated on demand by the paid voice tool and returned in WAV format as audio_base64, making it convenient for MCP clients to store, play, or forward.
Usage
voice-mcp runs via stdio. Before use, you need to prepare a dedicated low-balance Base wallet and provide the private key through the environment variable WALLET_PRIVATE_KEY; the server will use this private key to sign payments. Paid tools require USDC in the Base wallet.
Before initiating a paid x402 call, the server locally validates voice names, language codes, audio formats, speech rate/quality ranges, batch item counts, and character limits.
Regarding pricing, the short-text price applies to 1-500 characters, and the long-text price applies to 501-2000 characters. Specific prices are not provided in the materials.
Applicable Scenarios
- Adding voice output capabilities to AI agents.
- Scenarios requiring multi-language, multi-voice voice generation.
- Applications requiring batch audio generation.
- Voice service integration requiring pay-per-use without a subscription.
Limitations and Security
- A dedicated low-balance wallet must be used; the server uses WALLET_PRIVATE_KEY to sign payments.
- The server refuses to sign for any payee other than the ForgeMesh Voice wallet, any network other than Base mainnet, any asset other than USDC, or any amount exceeding the built-in single-call limit (0.01 USD).
- The optional environment variables X402_MAX_PRICE_USD (per call) and X402_SESSION_BUDGET_USD (cumulative per process, default 10 USD) can only lower the built-in limits.
- The backend URL is fixed to https://voice.forgemesh.io;所有请求同源、限时(60 seconds), size limit (2 MB), and does not follow redirects.
- The voice service itself does not require an API key or subscription.
- More details such as specific pricing, availability, and platform support are not yet provided.