gst-mcp

gst-mcp

MCP server for GStreamer introspection and pipeline development. Enables LLMs to understand GStreamer elements, caps, and construct pipelines through natural language queries.

Category
访问服务器

README

gst-mcp

PyPI version License: MIT

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

Installation

From PyPI (recommended)

# 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选