npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@daewook/openai-tts-mcp-server

v1.0.3

Published

MCP server for OpenAI Text-to-Speech API

Readme

OpenAI TTS MCP 서버

OpenAI의 Text-to-Speech API를 사용하여 텍스트를 음성으로 변환하는 MCP (Model Context Protocol) 서버입니다.

기능

  • 텍스트 음성 변환: OpenAI TTS API를 사용하여 텍스트를 고품질 음성으로 변환
  • 다양한 음성 옵션: 6가지 음성 (alloy, echo, fable, onyx, nova, shimmer) 지원
  • 모델 선택: tts-1 (빠름) 또는 tts-1-hd (고품질) 모델 선택 가능
  • 속도 조절: 0.25x ~ 4.0x 속도 조절 가능
  • 다양한 형식: MP3, OPUS, AAC, FLAC 형식 지원
  • 파일 관리: 생성된 오디오 파일 목록 조회 및 삭제 기능

설치 및 설정

1. 의존성 설치

npm install

2. OpenAI API 키 설정

환경변수로 OpenAI API 키를 설정해주세요:

export OPENAI_API_KEY="your-openai-api-key-here"

3. 서버 실행

npm start

개발 모드 (파일 변경 시 자동 재시작):

npm run dev

Claude Desktop에서 사용하기

Claude Desktop의 설정 파일에 다음과 같이 MCP 서버를 추가하세요:

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Linux

~/.config/claude/claude_desktop_config.json

{
  "mcpServers": {
    "openai-tts": {
      "command": "node",
      "args": ["/home/ubuntu/daewook/openai-tts-mcp-server/src/index.js"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key-here"
      }
    }
  }
}

사용 가능한 도구

1. text_to_speech

텍스트를 음성으로 변환합니다.

매개변수:

  • text (필수): 음성으로 변환할 텍스트
  • voice (선택): 음성 종류 (alloy, echo, fable, onyx, nova, shimmer)
  • model (선택): TTS 모델 (tts-1, tts-1-hd)
  • speed (선택): 음성 속도 (0.25 ~ 4.0)
  • format (선택): 오디오 형식 (mp3, opus, aac, flac)

2. list_audio_files

생성된 오디오 파일 목록을 조회합니다.

3. delete_audio_file

지정된 오디오 파일을 삭제합니다.

매개변수:

  • filename (필수): 삭제할 파일명

사용 예시

Claude에서 다음과 같이 사용할 수 있습니다:

안녕하세요를 음성으로 변환해주세요.
"Hello, this is a test message"를 nova 음성으로 1.2배 속도로 변환해주세요.
생성된 오디오 파일 목록을 보여주세요.

주의사항

  • OpenAI API 키가 필요합니다
  • 생성된 오디오 파일은 generated_audio 디렉토리에 저장됩니다
  • API 사용량에 따라 요금이 부과될 수 있습니다

라이선스

MIT License