documentation/docs/mcp/speech-mcp.md
Unlist per https://github.com/aaif-goose/goose/issues/5431
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed'; import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller';
<YouTubeShortEmbed videoUrl="https://youtube.com/embed/rurAp_WzOiY" />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.
:::info Requirement PortAudio is required for PyAudio to capture audio from your microphone :::
:::tip Quick Install <Tabs groupId="interface"> <TabItem value="ui" label="goose Desktop" default> Launch the installer </TabItem> <TabItem value="cli" label="goose CLI"> Command
uvx -p 3.10.14 speech-mcp@latest
:::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. :::
<Tabs groupId="interface"> <TabItem value="ui" label="goose Desktop" default> <GooseDesktopInstaller extensionId="speech_mcp" extensionName="Speech Interface" description="Voice interaction with audio visualization for goose" command="uvx" args={["-p", "3.10.14", "speech-mcp@latest"]} /> </TabItem> <TabItem value="cli" label="goose CLI"> 1. Run the `configure` command: ```sh goose configure ```Command-line Extension β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new extension)
β
β What type of extension would you like to add?
β β Built-in Extension
// highlight-start
β β Command-line Extension (Run a local command or script)
// highlight-end
β β Remote Extension (Streamable HTTP)
β
β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new extension)
β
β What type of extension would you like to add?
β Command-line Extension
β
// highlight-start
β What would you like to call this extension?
β speech
// highlight-end
β
β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new extension)
β
β What type of extension would you like to add?
β Command-line Extension
β
β What would you like to call this extension?
β speech
β
// highlight-start
β What command should be run?
β uvx -p 3.10.14 speech-mcp@latest
// highlight-end
β
β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new 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
β
// highlight-start
β Please set the timeout for this tool (in secs):
β 300
// highlight-end
β
β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new 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
β
// highlight-start
β Would you like to add a description?
β No
// highlight-end
β
β goose-configure
β
β What would you like to configure?
β Add Extension (Connect to a new 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 a description?
β No
β
// highlight-start
β Would you like to add environment variables?
β No
β
// highlight-end
β Added speech extension
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.
<Tabs groupId="interface"> <TabItem value="ui" label="goose Desktop" default> 1. Open a new session in goose Desktop </TabItem> <TabItem value="cli" label="goose CLI"> 1. Open a terminal and start a new goose session:goose session
Here are some things you can say to activate the speech interface:
goose I don't feel like talking today
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:
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:
<div style={{ width: "100%", height: 0, position: "relative", paddingBottom: "56.25%" }}> <iframe src="https://www.youtube.com/embed/vbD8IHwx-OY" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen title="YouTube video" style={{ position: "absolute", top: 0, left: 0, width: "100%", height: "100%" }} ></iframe> </div>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