Logo van MCP Video Recognition Server

MCP Video Recognition Server

Community
mario-andreschak

agentnotes: "Clarified recursive ALLOWEDMEDIAROOTS directory containment and parent folder usage."

Uitgevermario-andreschak
Repositorymcp_video_recognition
TaalTypeScript
Forks
9
Sterren
12
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    MCP Video Recognition Server biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    12 sterren en 9 forks in de gekoppelde repository.

MCP Video Recognition Server

An MCP server that describes images, transcribes audio, and summarizes video from local files. It talks to Google Gemini by default, or to any OpenAI-compatible endpoint such as OpenRouter.

Features

  • Pick your provider: Google Gemini (default) or an OpenAI-compatible endpoint
  • Three MCP tools for local images, audio, and video
  • Optional Gemini model fallback, plus a final OpenAI-compatible backup
  • Opt-in multi-perspective parallel inference via PARALLEL_PROMPTS (see the Configuration Reference)

Model support varies by provider. Picking the OpenAI-compatible provider does not mean every endpoint or model handles every media type. And the server never swaps in a different model or provider on its own.

Prerequisites

  • Node.js 18.0.0 or later
  • An API key for your provider:
    • Gemini: GOOGLE_API_KEY
    • OpenAI-compatible: OPENAI_COMPATIBLE_API_KEY

Install

bash
git clone https://github.com/yourusername/mcp-video-recognition.git
cd mcp-video-recognition
npm install
npm run build

Quickstart

Add the server to your MCP client config and point it at the built dist/index.js:

json
{
  "mcpServers": {
    "video-recognition": {
      "command": "node",
      "args": ["/path/to/mcp-video-recognition/dist/index.js"],
      "env": {
        "GOOGLE_API_KEY": "your_google_api_key"
      }
    }
  }
}

On Windows, use forward slashes or doubled backslashes (\\) in the path. Save the file and reconnect your MCP client. Environment variables must be present in the MCP client's env configuration; the server process does not automatically inherit values merely because a .env file exists beside it.

For OpenRouter or another OpenAI-compatible endpoint, set RECOGNITION_PROVIDER=openai-compatible and fill in its variables. Configuration has a ready-made example.

Standalone Client

The repository includes a client that builds the project, spawns the server over stdio, performs MCP initialization, and lists the tools. It loads .env from the repository root when that file exists; already-set process environment variables take precedence.

bash
# Connect and list tools
npm run client

# Connect and call a tool
npm run client -- --tool image_recognition --args '{"filepath":"C:/media/example.png"}'

Use --help for server-path, working-directory, env-file, and timeout options:

bash
npm run client -- --help

A tool error exits with status 2 and prints the complete MCP error result. Connection or configuration failures exit with status 1 and include the spawned server's stderr diagnostics.

With FLUJO:

  1. Click Add Server.
  2. Paste the GitHub URL.
  3. Click Parse, Clone, Install, Build and Save.

Configuration

The server reads environment variables. These are the ones you'll touch most:

VariableDefaultPurpose
RECOGNITION_PROVIDERgeminigemini or openai-compatible
GOOGLE_API_KEYnoneGemini API key
GEMINI_MODELgemini-3.5-flashGemini model to use
OPENAI_COMPATIBLE_API_KEYnoneOpenAI-compatible API key
OPENAI_COMPATIBLE_BASE_URLnoneEndpoint base URL
OPENAI_COMPATIBLE_MODELnoneModel to use
ALLOWED_MEDIA_ROOTSnoneMedia directories for the OpenAI-compatible provider and Gemini backup
TRANSPORT_TYPEstdiostdio or streamable-http; sse is a legacy alias
MCP_HOST127.0.0.1Bind address for Streamable HTTP
PORT3000Bind port for Streamable HTTP
LOG_LEVELinfoDiagnostic threshold; all logs go to stderr

A bad value stops startup. Nothing gets fixed silently.

The Configuration Reference has the full variable list, validation rules, an OpenRouter example, and the supported media types. For Gemini model fallback and the final backup, read the Provider Recovery Reference.

Tools

You get three MCP tools. Each takes a local filepath, an optional prompt (default Describe this content), and an optional modelname override.

  • image_recognition - describe an image
  • audio_recognition - transcribe or describe audio
  • video_recognition - describe a video

Example:

json
{
  "name": "video_recognition",
  "arguments": {
    "filepath": "/path/to/video.mp4",
    "prompt": "Describe what happens in this video"
  }
}

Security

  • HTTPS is required by default. Plain HTTP only works for a local endpoint you explicitly enable.
  • The OpenAI-compatible provider and the Gemini backup read media only from directories listed in ALLOWED_MEDIA_ROOTS. Containment is recursive, so specifying a parent folder (e.g. C:\Projects or ${workspaceFolder}) covers all repositories, subfolders, and media files inside it.
  • Keys stay in the process environment. Don't commit real keys.

The Security Reference covers endpoint rules, resource limits, and incident response.

MCP Inspector and Streamable HTTP

For stdio Inspector use, build first and make sure the API key is in Inspector's server environment. In PowerShell:

powershell
$env:GOOGLE_API_KEY = "your_google_api_key"
npm run debug

For HTTP, start the server separately:

powershell
$env:GOOGLE_API_KEY = "your_google_api_key"
$env:TRANSPORT_TYPE = "streamable-http"
npm start

Then select Streamable HTTP in Inspector and connect to http://127.0.0.1:3000/mcp. Do not select legacy SSE: the backwards-compatible TRANSPORT_TYPE=sse spelling still starts a Streamable HTTP endpoint.

Listing tools only proves the MCP handshake succeeded. It does not contact the recognition provider or read a media file. A later call can still fail because the key, model, network, or filepath is invalid. The path must identify a file visible to the spawned server process; paths from a different container or host will not work.

Development

bash
# Build, connect through the standalone client, and list tools
GOOGLE_API_KEY=your_api_key npm run client

# Build and run the provider foundation tests
npm run verify:provider-foundation

Project Structure

  • src/index.ts: entry point and provider construction
  • src/server.ts: MCP server and transport
  • src/tools/: the three recognition tools
  • src/services/: Gemini and OpenAI-compatible providers
  • src/types/: shared types
  • src/utils/: helpers

License

MIT

Installatie

TypingMind
{
  "mcpServers": {
    "mcp-video-recognition": {
      "command": "node",
      "args": [
        "/path/to/mcp-video-recognition/dist/index.js"
      ]
    }
  }
}

Gebruik MCP Video Recognition Server MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra MCP Video Recognition Server is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg MCP Video Recognition Server toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van MCP Video Recognition Server.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "mcp-video-recognition": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-video-recognition"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van MCP Video Recognition Server in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van MCP Video Recognition Server in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je MCP Video Recognition Server gebruiken om me hiermee te helpen?
MCP Video Recognition Server
Zeker. Ik heb het gelezen.
Dit vond ik met MCP Video Recognition Server.

Veelgestelde vragen

Waarvoor wordt de MCP-server MCP Video Recognition Server gebruikt?

MCP Video Recognition Server is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik MCP Video Recognition Server MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je MCP Video Recognition Server gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom MCP Video Recognition Server MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als MCP Video Recognition Server verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik MCP Video Recognition Server MCP met TypingMind?

MCP Video Recognition Server werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt MCP Video Recognition Server MCP in TypingMind?

MCP Video Recognition Server biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om MCP Video Recognition Server MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als MCP Video Recognition Server authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇