Skip to main content

gst-mcp

PyPI version License: MIT

MCP server for GStreamer introspection and pipeline development. Helps LLMs understand GStreamer elements, caps, and pipeline construction.

Installation

# Using uvx (no install needed)
uvx gst-mcp

# Or install globally
uv tool install gst-mcp

# Or with pip
pip install gst-mcp

From source

git clone https://github.com/wizenink/gst-mcp
cd gst-mcp
uv sync

System Requirements

  • Python 3.13+
  • GStreamer 1.0 with development files
  • PyGObject (GStreamer Python bindings)

On Arch Linux:

sudo pacman -S gstreamer gst-plugins-base gst-plugins-good python-gobject

On Ubuntu/Debian:

sudo apt install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good python3-gi

Usage with Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "gstreamer": {
      "command": "uvx",
      "args": ["gst-mcp"]
    }
  }
}

Or if installed from source:

{
  "mcpServers": {
    "gstreamer": {
      "command": "uv",
      "args": ["--directory", "/path/to/gst-mcp", "run", "gst-mcp"]
    }
  }
}

Available Tools

Registry Introspection

  • list_elements - List elements by category (source, sink, decoder, encoder, muxer, demuxer, filter, parser)
  • get_element_info - Get detailed element info (properties, pads, caps templates, signals)
  • list_plugins - List all installed GStreamer plugins
  • get_plugin_info - Get plugin details and its elements
  • search_elements - Search elements by name, description, or caps

Caps & Negotiation

  • parse_caps - Parse caps string to structured info
  • check_caps_compatible - Check if two caps can intersect
  • check_elements_can_link - Check if elements can link based on pad caps
  • suggest_converter - Suggest converter elements for incompatible elements

Pipeline Tools

  • validate_pipeline - Validate pipeline syntax with error suggestions
  • run_pipeline - Execute pipeline (sync with timeout or async)
  • get_pipeline_status - Get status of running pipeline
  • stop_pipeline - Stop a running pipeline
  • list_running_pipelines - List all running pipelines
  • get_pipeline_graph - Generate DOT graph of pipeline

Documentation & Examples

  • get_examples - Pipeline examples by category (playback, transcoding, streaming, capture, effects, testing, analysis)
  • fetch_online_docs - Fetch element documentation from GStreamer website

Example Queries

Ask Claude:

  • "What elements can decode H.264 video?"
  • "Can I link videotestsrc directly to x264enc?"
  • "How do I create a pipeline to transcode MP4 to WebM?"
  • "What properties does the compositor element have?"
  • "Show me examples of RTMP streaming pipelines"

License

MIT

Metadata

Release files for gst-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gst-mcp 0.2.0
File Size Uploaded Provenance
gst_mcp-0.2.0.tar.gz 18.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gst-mcp 0.2.0
File Interpreter ABI Platform
gst_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.7 kB

Release files / gst_mcp-0.2.0.tar.gz

Download URL gst_mcp-0.2.0.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
022ff1be66f86b86701ab2e8ee5290d10157a56a52124ea8a1ddc87cc1ae374f
BLAKE2b-256 checksum
How to use checksums
213735b7a8ce3dc1c4e7b38a878268594057cf7fa88332243f034e561aecf0e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 1, 2026.

Transparency log

Release files / gst_mcp-0.2.0-py3-none-any.whl

Download URL gst_mcp-0.2.0-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b98d43f00bbc6579a5eb553c4342c8f4cca26172966dde2590f7f13ebbb0ff48
BLAKE2b-256 checksum
How to use checksums
2abe0a2625714be7e76650a80d774561cbaf02f75e59e3260cad7df4ac2169fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 1, 2026.

Transparency log

Security for gst-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gst_mcp-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page