GPAC Test Suite MCP Server
Provides intelligent access to GPAC multimedia framework's 8,600+ test cases, enabling AI assistants to answer questions about GPAC usage with precise, validated command-line examples. Users can ask natural language questions and get reliable GPAC commands for multimedia processing tasks like DASH streaming, MP4 encryption, and subtitle handling.
README
GPAC Test Suite MCP Server
A Model Context Protocol (MCP) server that provides intelligent access to the GPAC multimedia framework test suite, enabling AI assistants to understand and generate GPAC command examples based on validated test cases.
Overview
This MCP server transforms GPAC's extensive test suite (8,600+ test scripts) into an intelligent assistant that can answer questions about GPAC usage with precise, validated examples. Instead of manually searching through thousands of test files, developers can ask natural language questions and get reliable command-line examples.
Key Features
- Semantic Test Search: Find relevant GPAC tests by keywords and descriptions
- Command Generation: Get exact command lines from validated test cases
- Script Analysis: Access and analyze shell test scripts with context
- No Hallucination: Responses based entirely on real, tested GPAC commands
Quick Start with Claude Code
Prerequisites
- Node.js 18+ and pnpm
- Claude Desktop app
- Basic familiarity with MCP configuration
1. Clone and Build
git clone <repository-url>
cd testsuite-mcp
pnpm install
pnpm run build
2. Configure Claude Desktop
Add this MCP server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"gpac-testsuite": {
"command": "node",
"args": ["/absolute/path/to/testsuite-mcp/dist/index.js"],
"env": {
"XML_TESTS_PATH": "/absolute/path/to/testsuite-mcp/all_tests_desriptions.xml",
"SCRIPTS_DIR": "/absolute/path/to/testsuite-mcp/scripts"
}
}
}
}
Important: Use absolute paths in the configuration.
3. Restart Claude Desktop
Close and reopen Claude Desktop for the configuration to take effect.
4. Test the Integration
In Claude Desktop, ask questions like:
- "Show me how to create DASH streaming with GPAC"
- "How to encrypt MP4 files for streaming?"
- "Give me examples of subtitle handling in GPAC"
Development
Project Structure
├── index.ts # Main MCP server entry point
├── xml-tests.ts # XML test descriptions parser
├── scripts-index.ts # Shell scripts indexer
├── all_tests_desriptions.xml # Structured test metadata
├── scripts/ # GPAC test shell scripts
└── dist/ # Compiled JavaScript output
Available MCP Tools
list_xml_tests- List all available XML test namesget_xml_test- Get complete test details with commandsfind_tests_by_keywords- Search tests by keywordsdry_run_xml_test- Generate bash script for test reproductionread_script- Read specific shell script contentfind_commands_by_goal- Find commands by describing the goal
Build Commands
# Development with hot reload
pnpm run dev
# Build for production
pnpm run build
# Run compiled version
pnpm start
Environment Variables
XML_TESTS_PATH: Path to the XML test descriptions file (default:./all_tests_desriptions.xml)SCRIPTS_DIR: Directory containing shell test scripts (default:./scripts)
Usage Examples
Basic Questions
Question: "How to create DASH streaming?"
Response: The assistant will search through test cases and provide exact commands like:
MP4Box -dash 2000 -frag 1000 -profile live input.mp4 -out manifest.mpd
Advanced Workflows
Question: "Can I convert DASH to HLS with encryption without re-segmentation?"
Response: Based on test dash_fwd_hls_twores, you'll get:
gpac -i input.mpd:forward=segb cecrypt:cfile=encryption_config.xml @ -o output.m3u8
Technical Architecture
Data Sources
- XML Test Descriptions (
all_tests_desriptions.xml): Structured metadata describing test purposes, keywords, and expected outcomes - Shell Scripts (
scripts/directory): Actual executable test scripts with environment setup
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.