LiquidSoapMCP
Provides AI assistants with version-accurate Liquidsoap 2.4.0 documentation, examples, and script validation to generate correct Liquidsoap code and avoid hallucinations.
README
<!-- SEO META TAGS --> <meta name="description" content="Liquidsoap MCP Server: AI-powered, version-accurate Liquidsoap 2.4.0 documentation and code generation for Claude, ChatGPT, Cursor, and other MCP clients."> <meta name="keywords" content="Liquidsoap, LiquidSoapMCP, MCP Server, AI streaming, web radio, Icecast, HLS, Claude, ChatGPT, LLM, Model Context Protocol, streaming automation, radio automation, .liq scripts, audio pipelines"> <meta property="og:title" content="LiquidSoap MCP Server"> <meta property="og:description" content="Give your AI assistant accurate Liquidsoap 2.4.0 documentation, examples, and script validation using the Model Context Protocol."> <meta property="og:type" content="software"> <meta property="og:image" content="https://raw.githubusercontent.com/splinesreticulating/LiquidSoapMCP/main/assets/og-image.png"> <meta name="twitter:card" content="summary_large_image"> <!-- END SEO TAGS -->
LiquidSoap MCP Server
Version-accurate Liquidsoap scripting using the official 2.4.0 docs.
LLMs get Liquidsoap wrong a lot. Mixing 1.x docs, outdated blog posts, and half-remembered API examples.
This MCP server fixes that.
It gives your AI assistant (Claude, ChatGPT, Cursor, Windsurf, etc.) real Liquidsoap 2.4.0 documentation, examples, and API references, making it finally possible to:
- Understand
.liqscripts - Generate correct 2.4.0 code
- Fix errors and deprecated usage
- Explore operators, functions, transitions, and patterns
- Build web radio pipelines with confidence
No hallucinations. No version drift. No mystery errors.
Why this exists
Liquidsoap is incredibly powerful, but:
- Documentation varies heavily between versions
- 1.x and 2.x syntax differs in subtle ways
- LLMs blend outdated examples into their answers
- Even the official docs are spread across sections, pages, and changelogs
This MCP server gives your AI one job:
Stick to Liquidsoap 2.4.0 exactly.
It exposes a clean, structured API around the official docs so your assistant becomes a reliable Liquidsoap expert.
Features
Version-Pinned Documentation (2.4.0)
- Full language reference
- Core API functions & operators
- Protocols (Icecast, HLS, HTTP, SRT, etc.)
- Encoder/decoder options
- Runtime settings
Smart Search
- Search functions/operators by name or keyword
- Search through examples, patterns, and cookbook items
- Search 2.4.0 changelog & migration notes
Script Assistance
- Detect deprecated functions (e.g.
null(),insert_metadata) - Warn about 1.x syntax
- Highlight common design pitfalls
Example Library
Ready-to-use snippets:
- Crossfading
- Fallback chains
- Harbor live input
- HLS output
- Cron scheduling (
cron.add,cron.parse) - Metadata rewriting
- LUFS normalization
- Blank detection
- Multi-output pipelines
Fast & Local
- Docs cached and indexed for instant responses
- No web requests needed once running
Demo (example)
Ask:
- “Explain what this Liquidsoap script does.”
- “Add a fallback before the HLS output.”
- “Show the docs for
crossfade.” - “Fix deprecated functions in this script.”
- “Rewrite this using Liquidsoap 2.4.0-style
null.”
Your AI responds using only the pinned 2.4.0 docs.
Installation
Prerequisites
- Node.js ≥ 18
- Any MCP-compatible client
Install via npm (recommended)
npm install -g liquidsoap-mcp-server
Or run from source
git clone https://github.com/splinesreticulating/LiquidSoapMCP.git
cd LiquidSoapMCP
npm install
npm run build
Usage
Claude Desktop Example
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"liquidsoap": {
"command": "npx",
"args": ["-y", "liquidsoap-mcp-server"]
}
}
}
From source:
{
"mcpServers": {
"liquidsoap": {
"command": "node",
"args": ["/absolute/path/to/LiquidSoapMCP/build/index.js"]
}
}
}
Docker:
{
"mcpServers": {
"liquidsoap": {
"command": "docker",
"args": ["run", "-i", "--rm", "liquidsoap-mcp-server"]
}
}
}
Build the image:
docker build -t liquidsoap-mcp-server .
Supported Tools
Core Tools
get_versionlist_sectionsget_documentation(section)search_functions(query)get_changelogget_examples(topic)validate_script_syntax(script)
Documentation Sections
languagereferenceprotocolssettingsencoding_formatsffmpegquickstartcookbook
Roadmap
- [ ] Liquidsoap script graph visualization
- [ ] Integrate
liquidsoap --checkfor full type validation - [ ] Multi-version switching (2.2.x, 2.3.x, etc.)
- [ ] Fuzzy search & semantic function lookup
- [ ] “Explain this error log” tool
- [ ] Pattern/snippet library
Contributing
PRs welcome. Especially:
- More examples
- Better search
- Doc parsing improvements
- Additional validation rules
- MCP integration templates
Resources
- https://www.liquidsoap.info/doc-2.4.0/
- https://modelcontextprotocol.io/
- https://github.com/modelcontextprotocol/typescript-sdk
Acknowledgments
Built for the Liquidsoap community, and for the DJs, webradio operators, self-hosters, and audio nerds who want Liquidsoap to be easier, safer, and more fun with AI assistance.
Want to support the project?
Please star the repo!
It helps others discover it and tells me this niche was worth carving out.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
