Skip to main content
Glama
balloonf

Windows TTS MCP Server

by balloonf

kill_all_tts

Terminates all running text-to-speech processes in Windows, ensuring clean system performance and resolving conflicts with TTS functionality.

Instructions

모든 TTS 관련 프로세스를 강제 종료합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The kill_all_tts tool handler function that forcibly terminates all managed TTS processes, PowerShell instances, and speech-related processes.
    @mcp.tool() def kill_all_tts() -> str: """모든 TTS 관련 프로세스를 강제 종료합니다""" try: # 1. 관리 중인 프로세스 종료 with process_lock: for process in running_processes[:]: try: process.kill() running_processes.remove(process) except: pass running_processes.clear() # 2. 시스템의 모든 PowerShell TTS 프로세스 강제 종료 try: subprocess.run([ "taskkill", "/F", "/IM", "powershell.exe" ], capture_output=True, timeout=10) except: pass # 3. Speech 관련 프로세스 정리 try: subprocess.run([ "powershell", "-Command", "Get-Process | Where-Object {$_.ProcessName -like '*speech*' -or $_.CommandLine -like '*Speech*'} | Stop-Process -Force" ], capture_output=True, timeout=5) except: pass return "[KILL] 모든 TTS 프로세스를 강제 종료했습니다" except Exception as e: return f"[ERROR] 강제 종료 오류: {str(e)}"
  • Registration of the kill_all_tts tool via the @mcp.tool() decorator.
    @mcp.tool()
  • Usage of kill_all_tts within the emergency_silence tool.
    kill_all_tts()

Other Tools

Related Tools

Latest Blog Posts

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/balloonf/widows_tts_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server