Cameracontroller

Created By
JackGao19700a year ago
This Node.js/TypeScript based multi-protocol camera control service strictly follows the Model Context Protocol (MCP) TypeScript SDK and supports: Camera enumeration, photo capture, video recording (file/streaming) MCP tool interfaces (listCameras, takePhoto, startVideo, stopVideo) Multiple transport modes: stdio, HTTP, SSE Windows (dshow) and Linux (v4l2) support Concurrent video recording/streaming with multiple instances Customizable environment variables and logging Video streaming with streamUrl support for clients (httpx/curl/ffmpeg/ffplay)
Overview

What is Cameracontroller?

Cameracontroller is a Node.js/TypeScript based multi-protocol camera control service that adheres to the Model Context Protocol (MCP) TypeScript SDK, enabling users to control cameras for various functionalities.

How to use Cameracontroller?

To use Cameracontroller, install the necessary dependencies, configure the environment variables in a .env file, and start the service using npm commands. You can then interact with the camera through the provided MCP tool interfaces.

Key features of Cameracontroller?

  • Camera enumeration and management
  • Photo capture and video recording (both file and streaming)
  • Support for multiple transport modes: stdio, HTTP, and SSE
  • Compatibility with Windows (dshow) and Linux (v4l2)
  • Concurrent video recording and streaming with multiple instances
  • Customizable environment variables and logging
  • Stream URL support for clients using httpx/curl/ffmpeg/ffplay

Use cases of Cameracontroller?

  1. Automating photo capture for surveillance systems
  2. Streaming live video feeds for remote monitoring
  3. Recording video for event documentation

FAQ from Cameracontroller?

  • Can Cameracontroller work on both Windows and Linux?

Yes! Cameracontroller supports both Windows (dshow) and Linux (v4l2).

  • How do I configure the environment variables?

You need to copy the .env.sample file to .env and set the parameters according to your requirements.

  • What should I do if I encounter issues with camera detection?

Ensure you use the listCameras command to retrieve the cameraID and verify that ffmpeg can recognize the camera.

Server Config

{
  "mcpServers": {
    "mcp-camera-service": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-camera-service",
        "stdio"
      ]
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
JackGao19700
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Mnemom

14 hours ago
//beforeyouship — LLM Cost Modeling From Your Editor
@Indiegoing

Query realistic LLM cost models without leaving your editor. beforeyouship models the **true monthly cost** of an LLM app architecture — retries, prompt caching, batch discounts, infra overhead, and 3×/10× growth — across GPT-5.x, Claude, Gemini, DeepSeek, and more. Not a token calculator: a planning tool for the design phase, before you commit to a stack. **No API key needed to try it** — demo mode covers the six free-tier models. A Pro key from [beforeyouship.dev](https://beforeyouship.dev) unlocks the full 18-model catalog. ## What you can ask - "How much will a RAG chatbot cost at 10,000 requests/day?" - "Compare Claude Haiku vs Gemini Flash pricing for my workload" - "What's the cheapest model for a multi-step agent at scale?" - "Show me current per-token prices for Anthropic models" ## Tools ### `estimate_cost` Full cost model for an architecture at a given usage level. Returns Naive / Realistic / Worst Case monthly cost per model, 3×/10× growth scenarios, and an opinionated recommendation with reasoning. ### `get_model_prices` Current per-1M-token pricing — input, output, cached input, batch — with context windows and staleness metadata. ### `list_archetypes` Seven preset architecture patterns (simple chatbot, chatbot with history, RAG pipeline, multi-model router, coding assistant, document processor, multi-step agent) used as starting points for estimates. ## Setup **Claude Code:** ​```bash claude mcp add --transport http beforeyouship https://beforeyouship.dev/api/mcp ​``` **Cursor / other clients** — add a remote server: ​```json { "mcpServers": { "beforeyouship": { "type": "streamable-http", "url": "https://beforeyouship.dev/api/mcp" } } } ​``` Add an `Authorization: Bearer bys_...` header with a Pro key for the full catalog. ## Try it > Estimate the monthly cost of a RAG pipeline at 10,000 requests/day

13 hours ago
Docwand

13 hours ago