webcam-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@webcam-mcpWhat do you see through the webcam?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
webcam-mcp
An MCP server that gives a coding agent eyes and ears on the host machine: webcam stills, microphone speech-to-text, and optional text-to-speech replies.
Everything runs locally. ffmpeg captures frames, faster-whisper transcribes on CPU, openWakeWord handles the wake word. No audio, video, transcript, or image is sent anywhere. The only network call the server ever makes is a one-time model download from Hugging Face the first time you transcribe something.
Why it exists: a coding agent that can read your screen but cannot see you or hear you is missing a whole side of a conversation. This closes that gap for any MCP client on a machine with a camera and a microphone.
Tools
Tool | What it does |
| Enumerate cameras and microphones. Call this first when a capture fails. |
| One still JPEG from a camera. Returns a file path. |
| Record a mic to 16kHz mono WAV. No transcription. |
| Transcribe any existing audio/video file to text. |
| Record the mic and return what was said. Blocks for the duration. |
| Two cameras in one image, first on top, second below. |
| Text-to-speech voices installed on the machine. |
| Say something out loud, or render it to a WAV. |
| Wait for a wake phrase, then record and transcribe what follows. |
Related MCP server: Voice MCP
Setup
Requires Python 3.11+, ffmpeg on PATH, and uv.
uv syncRun standalone to confirm it starts:
uv run server.pyIt sits waiting for MCP stdio input, so it appears to do nothing until a client connects. That is normal. Ctrl+C to exit.
Register it in your MCP client as a stdio command, same pattern as any other server.
Notes earned the hard way
mcpis pinned below 2. mcp 2.0.0 renamedmcp.server.fastmcptomcp.server.mcpserver, which breaks the import silently at server start. Stay on the 1.x that actually loads.Warmup time is not padding. Webcams open dark and auto-exposure needs a moment. Below about one second the frame comes back black or badly exposed. The default is 1.5 seconds for a reason.
A failed capture is almost always a device already in use. Zoom, Teams, or a browser tab holding the camera produces an ffmpeg I/O error. The tools detect this and say so. The second most common cause is the OS privacy setting blocking desktop apps from the camera or microphone.
Whisper model size:
base(the default) is the speed and accuracy sweet spot.smallis meaningfully better on strong accents at roughly three times the compute. Models cache under the user profile after the first download.Models load lazily and stay cached per size for the life of the server process. Reloading per call costs seconds and a lot of RAM.
The default wake model is openWakeWord's pretrained
hey_jarvis. No training, no dataset, it ships in the box. At the default 0.5 threshold it is reliable, and false positives are not a practical concern.
Voice and speech limits
speak uses the legacy SAPI voices by default. They sound robotic. Modern OS
natural voices are much better and run locally once installed, and speak
picks them up automatically once they exist.
The honest architectural limit is that this is a four-hop pipeline: speech to text, text to model, model to text, text to speech. It is slower than a native audio model, and converting speech to text discards tone, volume, and emotion before the model ever sees the words. A one-hop native audio setup would fix both, but that requires a provider that accepts audio natively. Within a text MCP harness, four hops is the correct design, not a shortcut.
capture_stitched only earns its keep when a second camera is actually
connected. Otherwise the second half of the image is a connection spinner.
Output files
Captures default to a temp folder with timestamped names. Pass output_path to
send them somewhere durable. record_and_transcribe deletes its WAV afterwards
unless you pass keep_audio=True.
Nothing here prunes old captures automatically. Clear that folder occasionally.
Selftest
uv run server.py --selftestPrints the device list without needing an MCP client, which is the fastest way to confirm the install is sane.
License
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables voice interaction with Claude Code through local speech-to-text (Whisper) and text-to-speech (Supertonic), allowing verbal input/output without external API calls.1
- Alicense-qualityDmaintenanceEnables bidirectional voice interaction for Claude Code using local speech-to-text and text-to-speech models optimized for Apple Silicon. It provides tools to listen to user speech via microphone and speak responses aloud through system speakers.16Apache 2.0
- Alicense-qualityBmaintenanceEnables AI agents to speak and listen in real-time with interruption handling, using local ML models and hot-swappable adapters.102MIT
- Alicense-qualityDmaintenanceEnables AI agents to view and control the local desktop through browser-based viewport and MCP tools.MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/luigimasango-dev/webcam-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server