Daewooki/tts-mcp-server
If you are the rightful owner of tts-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
OpenAI TTS Remote MCP Server is a server designed to provide text-to-speech services remotely using OpenAI's API.
OpenAI TTS Remote MCP Server
μ격μΌλ‘ μ¬μ©ν μ μλ OpenAI Text-to-Speech MCP μλ²μ λλ€.
π μλ² μ€μ
1. μμ‘΄μ± μ€μΉ
npm install
2. νκ²½λ³μ μ€μ
.env
νμΌμ μμ±νκ³ λ€μ λ΄μ©μ μ€μ νμΈμ:
# OpenAI API ν€
OPENAI_API_KEY=your-openai-api-key-here
# μλ² ν¬νΈ
PORT=8080
# μΈμ¦ ν ν° (μ§μλ€κ³Ό 곡μ ν ν ν°)
AUTH_TOKEN=your-secret-token-here
3. μλ² μ€ν
npm start
4. λ°©νλ²½ μ€μ
ν¬νΈ 8080μ μΈλ°μ΄λ κ·μΉμ μΆκ°νμΈμ.
π₯ μ§μ μ€μ (Claude Desktop)
κ° μ§μμ΄ μμ μ Claude Desktopμμ λ€μκ³Ό κ°μ΄ μ€μ ν©λλ€:
1. Claude Desktop μ΄κΈ°
Claude Desktop β Settings β Connectors
2. Custom Connector μΆκ°
- Add Custom Connector ν΄λ¦
- Name: OpenAI TTS
- URL:
http://YOUR_SERVER_IP:8080/sse
- Headers:
- Key:
Authorization
- Value:
Bearer tts-mcp-token-2025
- Key:
3. μ°κ²° ν μ€νΈ
Claudeμμ λ€μκ³Ό κ°μ΄ ν μ€νΈ:
- "μλ νμΈμλ₯Ό μμ±μΌλ‘ λ³νν΄μ£ΌμΈμ"
- "Hello worldλ₯Ό nova μμ±μΌλ‘ λ³νν΄μ£ΌμΈμ"
π§ μλ² κ΄λ¦¬
ν¬μ€ 체ν¬
curl http://YOUR_SERVER_IP:8080/health
μλ² μ 보 νμΈ
curl http://YOUR_SERVER_IP:8080/
μμ±λ μ€λμ€ νμΌ νμΈ
λΈλΌμ°μ μμ: http://YOUR_SERVER_IP:8080/audio/
π 보μ
- μΈμ¦ ν ν°: λͺ¨λ μμ²μ Bearer ν ν°μ΄ νμν©λλ€
- HTTPS κΆμ₯: νλ‘λμ μμλ 리λ²μ€ νλ‘μ(Nginx)λ‘ HTTPS μ€μ
- λ°©νλ²½: νμν IPλ§ νμ©νλλ‘ μ€μ
π οΈ κ³ κΈ μ€μ
Nginx 리λ²μ€ νλ‘μ (HTTPS)
server {
listen 443 ssl;
server_name mcp.company.local;
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/key.pem;
location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
}
}
PM2λ‘ μλ² κ΄λ¦¬
# PM2 μ€μΉ
npm install -g pm2
# μλ² μμ
pm2 start src/server.js --name "tts-mcp-server"
# μλ μμ μ€μ
pm2 startup
pm2 save
π μ¬μ©λ λͺ¨λν°λ§
μλ² λ‘κ·Έμμ μ¬μ©λμ νμΈν μ μμ΅λλ€:
- TTS μμ² νμ
- μμ±λ νμΌ ν¬κΈ°
- μ¬μ©μλ³ μμ² (IP κΈ°λ°)
π λ¬Έμ ν΄κ²°
μ°κ²° μ€ν¨
- λ°©νλ²½ μ€μ νμΈ
- μλ² μν νμΈ:
curl http://SERVER_IP:8080/health
- μΈμ¦ ν ν° νμΈ
TTS μ€ν¨
- OpenAI API ν€ νμΈ
- λ€νΈμν¬ μ°κ²° νμΈ
- API μ¬μ©λ νλ νμΈ
π λΌμ΄μ μ€
MIT License