Skip to main content

Speech Extension

πŸŽ₯Plug & Play
Watch the demo

This tutorial covers how to add the Speech MCP Server as a Goose extension to enable real-time voice interaction, audio/video transcription, text-to-speech conversion, and multi-speaker audio generation.

TLDR

Command

uvx -p 3.10.14 speech-mcp@latest

Requirement

PortAudio is required for PyAudio to capture audio from your microphone

Configuration​

info

Note that you'll need uv installed on your system to run this command, as it uses uvx.

Before adding this extension, make sure PortAudio is installed on your system. PortAudio is required for PyAudio to capture audio from your microphone.

  1. Run the configure command:
goose configure
  1. Choose to add a Command-line Extension
  β”Œ   goose-configure 
β”‚
β—‡ What would you like to configure?
β”‚ Add Extension
β”‚
β—† What type of extension would you like to add?
β”‚ β—‹ Built-in Extension
β”‚ ● Command-line Extension (Run a local command or script)
β”‚ β—‹ Remote Extension
β””
  1. Give your extension a name
  β”Œ   goose-configure 
β”‚
β—‡ What would you like to configure?
β”‚ Add Extension
β”‚
β—‡ What type of extension would you like to add?
β”‚ Command-line Extension
β”‚
β—† What would you like to call this extension?
β”‚ speech
β””
  1. Enter the command
  β”Œ   goose-configure 
β”‚
β—‡ What would you like to configure?
β”‚ Add Extension
β”‚
β—‡ What type of extension would you like to add?
β”‚ Command-line Extension
β”‚
β—‡ What would you like to call this extension?
β”‚ speech
β”‚
β—† What command should be run?
β”‚ uvx -p 3.10.14 speech-mcp@latest
β””
  1. Enter the number of seconds Goose should wait for actions to complete before timing out. Default is 300s
 β”Œ   goose-configure 
β”‚
β—‡ What would you like to configure?
β”‚ Add Extension
β”‚
β—‡ What type of extension would you like to add?
β”‚ Command-line Extension
β”‚
β—‡ What would you like to call this extension?
β”‚ speech
β”‚
β—‡ What command should be run?
β”‚ uvx -p 3.10.14 speech-mcp@latest
β”‚
β—† Please set the timeout for this tool (in secs):
β”‚ 300
β””
  1. Choose No when asked to add environment variables
 β”Œ   goose-configure 
β”‚
β—‡ What would you like to configure?
β”‚ Add Extension
β”‚
β—‡ What type of extension would you like to add?
β”‚ Command-line Extension
β”‚
β—‡ What would you like to call this extension?
β”‚ speech
β”‚
β—‡ What command should be run?
β”‚ uvx -p 3.10.14 speech-mcp@latest
β”‚
β—‡ Please set the timeout for this tool (in secs):
β”‚ 300
β”‚
β—† Would you like to add environment variables?
β”‚ No
β”‚
β”” Added speech extension

Example Usage​

In this example, you'll see how to use Goose with the Speech MCP Server Extension to turn voice commands into code. By speaking directly to Goose, you can launch the speech interface, give a spoken prompt, and have Goose generate and open a webpage based on your request.

This allows you to build with Goose hands-free, making development more accessible and interactive.

  1. Open a terminal and start a new Goose session:
goose session

Goose Prompt​

Here are some things you can say to activate the speech interface:

  • β€œGoose, I don’t feel like typing today.”
  • β€œLet’s talk using voice.”
  • β€œCan we have a voice conversation?”
  • β€œI’d like to speak instead of typing.”
  • β€œGoose, launch the speech UI.”
Goose I don't feel like talking today

Goose Output​

I understand! In that case, I can help you use voice commands instead. I'll launch the speech interface so you can speak your requests rather than type them

---- Launch Speech UI ----

Goose Speech πŸŽ™οΈβ€‹

Goose:

I've launched the speech interface. You can now speak your requests instead of typing. Just speak after you hear my voice and see the microphone activate. What would you like help with?

Max:

Goose, lets create a simple page with the word 'vibes' on it and maybe change colors and make it move around the page and then open this page in the browser once you're done