---
title: "Deploy ElevenLabs Audio MCP for ChatGPT"
description: "Self-hosted ElevenLabs speech MCP. Bring your own API key and voice ID."
category: "AI/ML"
url: https://railway.com/deploy/elevenlabs-audio-mcp-for-chatgpt
---

# Deploy ElevenLabs Audio MCP for ChatGPT

Self-hosted ElevenLabs speech MCP. Bring your own API key and voice ID.

**[Deploy ElevenLabs Audio MCP for ChatGPT on Railway](https://railway.com/template/elevenlabs-audio-mcp-for-chatgpt)**

- **Creator:** Lau&Geppie Lilazul's Projects
- **Category:** AI/ML
- **Total deploys:** 11

## Template content

### Elevenlabs-chatGPT

- **Source:** lauramarmun-prog/Elevenlabs-chatGPT
- **Start command:** `npm start`
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host ElevenLabs Audio MCP for ChatGPT on Railway

ElevenLabs Audio MCP for ChatGPT is a self-hosted Model Context Protocol server that turns text into playable ElevenLabs speech inside ChatGPT. Every deployment uses its owner's ElevenLabs API key and preferred voice ID, keeps the key on Railway, and provides tools for discovering voices, remembering a preferred voice, and generating temporary MP3 audio.

## About Hosting ElevenLabs Audio MCP for ChatGPT

This template deploys one private connector instance for its owner. Railway asks for an ElevenLabs API key and a preferred voice ID, generates a secret MCP path automatically, exposes the service over HTTPS, and attaches persistent storage for the saved voice preference. Generated audio is stored temporarily in memory and served through short-lived signed URLs. The template includes a health check, conservative generation limits, and a compact audio player for ChatGPT. It has no shared user database, analytics, or central account.

After deployment, connect ChatGPT to:

`https://YOUR-RAILWAY-DOMAIN/YOUR-MCP_PATH_SECRET/mcp`

Keep the complete MCP URL private because anyone who has it could use the ElevenLabs credits associated with the deployment.

## Common Use Cases

- Read messages, stories, articles, or study material aloud from ChatGPT.
- Browse ElevenLabs voices conversationally and save a preferred voice after choosing it.
- Generate downloadable MP3 speech without maintaining a separate web application.
- Give each person an isolated bring-your-own-key voice connector.

## Dependencies for ElevenLabs Audio MCP for ChatGPT Hosting

- An ElevenLabs account, an API key with Text to Speech and Voices read access, and a voice ID copied from the voice library.
- A ChatGPT account with support for developer-mode MCP apps/connectors.

### Deployment Dependencies

- [Source code and setup guide](https://github.com/lauramarmun-prog/Elevenlabs-chatGPT)
- [ElevenLabs API documentation](https://elevenlabs.io/docs/api-reference/text-to-speech/convert)
- [OpenAI Apps SDK documentation](https://developers.openai.com/apps-sdk/)

## Implementation Details

The server is written in TypeScript with the official MCP SDK and MCP Apps bridge. Railway builds it with Node.js, checks `/health`, exposes port 3000, and mounts a volume at `/data`. The required `ELEVENLABS_API_KEY` and `ELEVENLABS_VOICE_ID` are supplied by the person deploying the template. `MCP_PATH_SECRET` is generated automatically and is also used to sign temporary audio URLs. The model can call `list_voices`, `get_preferred_voice`, `save_preferred_voice`, and `generate_speech`.

This is an independent community project and is not affiliated with or endorsed by ElevenLabs or OpenAI.

## Why Deploy ElevenLabs Audio MCP for ChatGPT on Railway?

Railway packages the server, HTTPS networking, environment variables, health checks, and persistent voice storage into a repeatable deployment. Each person gets an isolated connector and keeps control of their own ElevenLabs credentials and usage. Updates remain linked to the public GitHub repository, making the connector straightforward to maintain while avoiding a separate application or shared backend.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/elevenlabs-audio-mcp-for-chatgpt
