{"_id":"@activebook/tts-mcp-server","_rev":"8-03a839ce110fda5ce5d012c7e563c28a","name":"@activebook/tts-mcp-server","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@activebook/tts-mcp-server","version":"1.0.0","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.0.0","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"369524c039d711486e4f40b6bb4e2fce9b4aa9b2","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.0.0.tgz","fileCount":12,"integrity":"sha512-cfLTCCP90hJY9vYHhdEzPAJzh2arGdgpjVLBRswWMguCQQqzgmI8yVH+nZ5GklnBFGdN0Oci1Fs5V/OBl6KcGg==","signatures":[{"sig":"MEUCIQDmou6p+BMzir7TMdtOQdurT4Q0TjoFg7+hshtTznsGRAIgbREYIwhcirBbay6rNhFhgYaHyG6Ql0vyZXsDMutYKUs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30607},"main":"dist/index.js","type":"module","gitHead":"fa30780f84d015f28d009a81f2aaf5f263d010ff","scripts":{"dev":"tsc && node dist/index.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.0.0_1756993206140_0.050557797335269106","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@activebook/tts-mcp-server","version":"1.0.1","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.0.1","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"e04af09e14affacf2a10c2b8ead74d96e6f8ad0c","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.0.1.tgz","fileCount":12,"integrity":"sha512-nnKZ360U4Xsx3S2poJb6/gSzkA1eA5kjONcpV4cLekgorXOPySBsLwfuW+H/PLlgjig6K/sZX0D1g7k5ZoNfoA==","signatures":[{"sig":"MEUCIQCZCaipwP42EMbsruYws3ugJTdW+QlfsNGmNkz2mVEu/AIgZs4XFDIsFa8fXROGBbl+4Wsr7JOfDQPfBjAJipTyx1k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30648},"main":"dist/index.js","type":"module","gitHead":"a3cdb53ddaae4960820652e2499be134c2a6e1da","scripts":{"dev":"tsc && node dist/index.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.0.1_1756993488027_0.7175953920421199","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@activebook/tts-mcp-server","version":"1.0.2","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.0.2","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"dist":{"shasum":"502742a24d7424ceedbad9df1b8d02b7f60b1491","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.0.2.tgz","fileCount":12,"integrity":"sha512-egdRARM0e7XTkuuLAvxpmOCnCfNgtNtcut6AkxotaZDSE1320NEmVRA2BWSZp2ltmctBC1ylJWhUszWWA5+GMA==","signatures":[{"sig":"MEUCIAssTZsIWyPdq0R7+xJ2tx6aIptcUyRljsmG9fQcWE9ZAiEA4lFM27SnSXl/UeLfbX/iQHLM8925Nz4bCf2PuPjEMwk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30594},"main":"dist/index.js","type":"module","gitHead":"2e613e42095a8a94a6b5d72c2ffbf7654029a80c","scripts":{"dev":"tsc && node dist/index.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.0.2_1756993688608_0.11797057766790586","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@activebook/tts-mcp-server","version":"1.0.3","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.0.3","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"10bce5ac473d3bcbec605e93fc2b35bd68631c27","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.0.3.tgz","fileCount":12,"integrity":"sha512-NEJIOCp6DHNcNbXaSrbifbmOjYwwzQmox3/SGmiCLUJrSTQ7EKu8SPKTgUJAqgIaWjrwpqgKWmGorU3WqBoC3A==","signatures":[{"sig":"MEYCIQDwT3s9DVjythH7FZmEXkn5flEUhCnOm4xpQie1vZHKjwIhAPklu5MdEoldWRpqIRha4Ul+ki1Fm6jDHSsyYq4Y8HBV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30648},"main":"dist/index.js","type":"module","gitHead":"2e613e42095a8a94a6b5d72c2ffbf7654029a80c","scripts":{"dev":"tsc && node dist/index.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.0.3_1756993792498_0.6995330684895966","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@activebook/tts-mcp-server","version":"1.0.5","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.0.5","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"08663abb6503a211079f3b30afb08528e14db6cb","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.0.5.tgz","fileCount":12,"integrity":"sha512-Hcxy4rokbyKBAcsosoWFwV+lgtLUJtxvqXOgxwSomIYNrSJXg0F3pL6wXZg7FuEe1/EgnOs3pGDW5/X4E6G3WA==","signatures":[{"sig":"MEQCIBHfRiIW/x0zUG1oXQBfu0nNJWjhME/3y9lPu5N0ni2TAiBgHCjTpUomEnfoOS8dnLjGsgWnuWVG6hGB62tD2GRKQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39993},"main":"dist/index.js","type":"module","gitHead":"e0355b67c42b23434d05178def972a608a3353a6","scripts":{"dev":"tsc && node dist/index.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.0.5_1756999404013_0.8482112653912837","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@activebook/tts-mcp-server","version":"1.1.0","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.1.0","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"d400f90cde9ef06ec8bdfb07114ebac9040768ba","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.1.0.tgz","fileCount":13,"integrity":"sha512-vl/2IwK8UiTzEktiaq26UdQNzEntEj3KMKCb/MPMPtIqlQwX6gDoaQkhKtAH7UpcEzBuZjoQquqI5arQ9s53gw==","signatures":[{"sig":"MEQCIGJxkVz6D2UkOs4QO9ts6jrSThOKgLAO8s/scAk0B23AAiAC3mPoFsEcqrvaEmcjU8DftZwsFK3KKPOPn0e2vtvgMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46108},"main":"dist/index.js","type":"module","gitHead":"e7be166bbb962c7572765f22711f186cd7de52db","scripts":{"dev":"tsc && node dist/index.js","test":"node test-mcp-server.js","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","zod":"^3.25.76","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.1.0_1757029161088_0.5148529000384514","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@activebook/tts-mcp-server","version":"1.1.1","keywords":["mcp","tts","google"],"author":"","license":"MIT","_id":"@activebook/tts-mcp-server@1.1.1","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"bin":{"tts-mcp-server":"dist/index.js"},"dist":{"shasum":"47acb38de943fa7eda30d8b245bf03c89a819aa1","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.1.1.tgz","fileCount":13,"integrity":"sha512-SLf7OaQ1FL4eSSvLN8Wu01KSct/4F6+NNA22X2r22x9d9MtBYkZknDjTK8Jyo0curCv1L7CIGRr1Z+QDhO4GPg==","signatures":[{"sig":"MEQCIBA7FpRPn7Ibv5LJ1z68KGjgbcmA9U0pvNyc416L2hw8AiBeEwnaT96ZLjLa9+I6HlwXUTP35TSXr8b+8MrDkQdfSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44098},"main":"dist/index.js","type":"module","gitHead":"74a2977880ff12d1839bc12b1d6337c3eb065380","scripts":{"dev":"tsc && node dist/index.js","test":"node test-mcp-server.js","build":"tsc","start":"node dist/index.js","publish":"npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"_npmVersion":"11.5.1","description":"MCP server for Google TTS functionality","directories":{},"_nodeVersion":"23.11.0","dependencies":{"wav":"^1.0.2","zod":"^3.25.76","undici":"^7.4.0","js-yaml":"^4.1.0","@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/wav":"^1.0.4","typescript":"^5.0.0","@types/node":"^20.0.0","@types/js-yaml":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/tts-mcp-server_1.1.1_1757035051800_0.720452090821577","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@activebook/tts-mcp-server","version":"1.1.2","description":"MCP server for Google TTS functionality","type":"module","main":"dist/index.js","bin":{"tts-mcp-server":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsc && node dist/index.js","test":"node test-mcp-server.js","prepublishOnly":"npm run build","publish":"npm publish --access public"},"keywords":["mcp","tts","google"],"author":"","license":"MIT","dependencies":{"@google/genai":"^1.17.0","@modelcontextprotocol/sdk":"^1.11.4","js-yaml":"^4.1.0","undici":"^7.4.0","wav":"^1.0.2","zod":"^3.25.76"},"devDependencies":{"@types/js-yaml":"^4.0.5","@types/node":"^20.0.0","@types/wav":"^1.0.4","typescript":"^5.0.0"},"_id":"@activebook/tts-mcp-server@1.1.2","gitHead":"9b46918916bf3212729b5523891c2969ab313dd5","_nodeVersion":"23.11.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-i0yfyqe+gWGA1ONx4erNEaX++/0KNh75p2TNO5ZZTkEIi41nTg+FZKg2oCpm/ZiblbTHjg8e+v06SkLjV2q7oQ==","shasum":"bf538efaa3b30037416e022dac1b7a68e6d9ab9f","tarball":"https://registry.npmjs.org/@activebook/tts-mcp-server/-/tts-mcp-server-1.1.2.tgz","fileCount":12,"unpackedSize":42689,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvY2Z/UhIgQtgMTbLgJeyHbtUAlwOPUCmEJLEIstVUagIhAO0tCQLI4eRPN3zYRafH4bYi1JiMfBwx0U85JNgFNeCo"}]},"_npmUser":{"name":"activebook","email":"himurokaoru@gmail.com"},"directories":{},"maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tts-mcp-server_1.1.2_1757035213262_0.9236376359189411"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-04T13:40:06.046Z","modified":"2025-09-05T01:20:13.663Z","1.0.0":"2025-09-04T13:40:06.320Z","1.0.1":"2025-09-04T13:44:48.207Z","1.0.2":"2025-09-04T13:48:08.803Z","1.0.3":"2025-09-04T13:49:52.676Z","1.0.5":"2025-09-04T15:23:24.185Z","1.1.0":"2025-09-04T23:39:21.267Z","1.1.1":"2025-09-05T01:17:31.996Z","1.1.2":"2025-09-05T01:20:13.455Z"},"license":"MIT","keywords":["mcp","tts","google"],"description":"MCP server for Google TTS functionality","maintainers":[{"name":"activebook","email":"himurokaoru@gmail.com"}],"readme":"# TTS MCP Server\n\nA Model Context Protocol (MCP) server that provides Text-to-Speech (TTS) functionality using Google TTS API.\n\n## Features\n\n- **Tools**: Generate TTS audio, list voices, get style templates\n- **Resources**: Access voice style templates via URI patterns\n- **Prompts**: Direct access to 16+ voice style prompt templates\n\n## Installation\n\n1. Clone this repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Build the project:\n   ```bash\n   npm run build\n   ```\n\n## Usage\n\nRun the server:\n```bash\nnpm start\n```\n\nOr for development:\n```bash\nnpm run dev\n```\n\n## MCP Configuration\n\nAdd the following to your MCP configuration file (e.g., `mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"tts-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@activebook/tts-mcp-server\"\n      ],\n      \"env\": {\n        \"GOOGLE_API_KEY\": \"{your-google-api-key}\", // required, change to your own key\n        \"GOOGLE_NAME_MODEL\": \"gemini-2.0-flash\", // optional\n        \"GOOGLE_TTS_MODEL\": \"gemini-2.5-flash-preview-tts\", // optional\n        \"GOOGLE_VOICE\": \"kore\" // optional\n      }\n    }\n  }\n}\n```\n\n## Tools\n\n### google_tts_generate\n\nDescription: Generate TTS audio from text content\n\n**Parameters:**\n\n- content: string (The text content to convert to speech) [required]\n- directory: string (Directory to save the audio file (Default: current directory)) [optional]\n- voice: string (Voice to use for TTS (Default: Kore)) [optional]\n- style: string (Speech style - either a template name like 'news_tone' or custom style text) [optional]\n\n**Returns:** Path to the saved audio file\n\n### get_google_tts_voices\n\nDescription: Get list of available TTS voices\n\n**Parameters:**\n\n- count: number (Number of voices to return (0 for all)) [optional]\n\n### get_voice_styles\n\nDescription: Get list of predefined speech style templates\n\n**Parameters:**\n\n- detail: boolean (Whether to show voice style detail (Default: false)) [optional]\n**Returns:** JSON object containing available speech style templates with descriptions and style prompts\n\n## Prompts\n\nAccess voice style prompt templates directly:\n\n### Available Prompts\n- `news_anchor` - Formal, clear news-reporting style\n- `professional_presenter` - Confident business presentation style\n- `bedtime_storyteller` - Gentle, soothing storytelling voice\n- `motivational_speaker` - Energetic, inspiring delivery\n- `podcast_host` - Engaging conversational style\n- `documentary_narrator` - Calm, authoritative narration\n- `mysterious_narrator` - Deep, suspenseful voice\n- `humorous_comedian` - Light-hearted, comedic tone\n- `calm_meditation_guide` - Soothing meditation voice\n- `dramatic_performer` - Expressive theatrical style\n- And 6 more styles...\n\n### Usage\n```json\n{\n  \"method\": \"prompts/get\",\n  \"params\": {\n    \"name\": \"news_anchor\"\n  }\n}\n```\n\n**Returns:** Style prompt text ready for TTS generation\n\n## Resources\n\nAccess voice style metadata via URI patterns:\n\n### Voice Style Templates\n- **URI Pattern:** `tts://voice-styles/{style_name}`\n- **Example:** `tts://voice-styles/news_anchor`\n- **Content:** JSON with style description and prompt\n\n### Usage\n```json\n{\n  \"method\": \"resources/read\",\n  \"params\": {\n    \"uri\": \"tts://voice-styles/bedtime_storyteller\"\n  }\n}\n```\n**Returns:** Voice style metadata in JSON format\n\n## Screenshots\n\n| Feature | Screenshot |\n|---------|------------|\n| **Available Tools** | ![List Tools](screenshots/list_tools.png) |\n| **Generate Audio** | ![Generate Audio](screenshots/generate_audio.png) |\n| **List Voices** | ![List Voices](screenshots/list_voices.png) |\n| **Voice Styles** | ![Voice Styles](screenshots/list_voice_styles.png) |\n\n\n\n","readmeFilename":"README.md"}