OSC MCP Server

OSC MCP Server

MCP server for controlling Behringer X-Air digital mixers via OSC, with symbolic naming and dB-to-float conversion.

Category
访问服务器

README

OSC MCP Server

MCP Server for controlling a Behringer X-Air XR18 digital mixer via Open Sound Control (OSC) protocol.

Features

  • 18 input channels with fader, mute, EQ (4 bands), and bus sends
  • 6 buses (monitor/aux) with fader and mute
  • Main LR output control
  • 4 FX slots with send level and mute
  • Symbolic naming — refer to channels and buses by name (e.g. "Kick", "Drummer") instead of numbers
  • dB-to-float conversion — work in dB, the server handles the XR18's non-linear fader scale
  • Persistent connection — the server remembers the last mixer IP across sessions
  • Raw OSC escape hatch for any unsupported command

Prerequisites

  • Python >= 3.11
  • uv package manager
  • A Behringer XR18 (or other X-Air mixer) on your local network

Installation

git clone https://github.com/darkwings/OSC_MCP.git
cd OSC_MCP
uv sync

Running the Server

# Run via stdio (used by MCP clients)
uv run osc-mcp

# Or use the MCP inspector for interactive testing
uv run mcp dev src/osc_mcp/server.py

Adding to an MCP Client

Claude Desktop

The easiest way is to use the built-in install command:

uv run mcp install src/osc_mcp/server.py --name "OSC Mixer"

Alternatively, open Claude Desktop and go to Settings > Developer > Edit Config, then add:

{
  "mcpServers": {
    "osc-mcp": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/OSC_MCP", "osc-mcp"]
    }
  }
}

Restart Claude Desktop after saving.

Claude Code

claude mcp add osc-mcp -- uv run --directory /absolute/path/to/OSC_MCP osc-mcp

Or manually add to .mcp.json or ~/.claude/mcp.json:

{
  "mcpServers": {
    "osc-mcp": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/OSC_MCP", "osc-mcp"]
    }
  }
}

Cursor

Go to Settings > MCP Servers > Add Server and use:

  • Type: stdio
  • Command: uv run --directory /absolute/path/to/OSC_MCP osc-mcp

Generic MCP Client

Any MCP-compatible client can connect using the stdio transport:

uv run --directory /absolute/path/to/OSC_MCP osc-mcp

Replace /absolute/path/to/OSC_MCP with the actual path where you cloned the repository.

Usage

Once the server is running in your MCP client:

  1. Connect: connect_mixer("192.168.1.1") — the IP is saved for future sessions
  2. Name your channels: assign_channel_name(1, "Kick"), assign_bus_name(2, "Drummer")
  3. Control: set_channel_fader("Kick", -5), set_channel_send_to_bus("Kick", "Drummer", -10)

On subsequent sessions, the server automatically reconnects to the last known mixer IP. If the mixer is unreachable (e.g. different network), the agent is prompted to ask for the new IP.

Available Tools

Tool Description
connect_mixer Connect to mixer at IP:port
assign_channel_name Name a channel (1-18)
assign_bus_name Name a bus (1-6)
list_names Show all name assignments
set_channel_fader Set channel level in dB
set_channel_mute Mute/unmute a channel
get_channel_fader Query current channel level
set_bus_fader Set bus level in dB
set_bus_mute Mute/unmute a bus
set_channel_send_to_bus Set channel→bus send level
get_channel_send_to_bus Query channel→bus send level
set_main_fader Set main LR level
set_main_mute Mute/unmute main LR
set_channel_eq Set EQ band parameters
set_channel_eq_on Enable/disable channel EQ
set_fx_send_fader Set FX send level
set_fx_send_mute Mute/unmute FX send
get_mixer_info Query mixer info
send_raw_osc Send any raw OSC message

Running Tests

uv run pytest

License

Apache License 2.0

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选