MCP.so
登录

Pure Data MCP Server

@nikmaniatis

关于 Pure Data MCP Server

A Model Context Protocol (MCP) server for Pure Data, an open-source visual programming language and patchable environment for real-time computer music.

基本信息

分类

数据与分析

运行时

python

传输方式

stdio

发布者

nikmaniatis

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Pure Data MCP Server": {
      "command": "uv",
      "args": [
        "--directory",
        "PATH_TO_PD_MCP_SERVER",
        "run",
        "main.py"
      ],
      "env": {
        "PD_OSC_HOST": "127.0.0.1",
        "PD_OSC_PORT": "5000",
        "PD_FEEDBACK_PORT": "5001"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Pure Data MCP Server?

Pure Data MCP Server integrates Claude AI with Pure Data through the Model Context Protocol (MCP). It uses OSC communication to let Claude dynamically create, modify, and control Pure Data patches using natural language.

How to use Pure Data MCP Server?

Clone the repository, install the uv package manager (see README), and configure Claude Desktop by adding a server entry in claude_desktop_config.json with the command uv and environment variables PD_OSC_HOST, PD_OSC_PORT, PD_FEEDBACK_PORT. Ensure Pure Data is running with the required dynamic patch (absolute_final_solution.pd) open.

Key features of Pure Data MCP Server

  • Dynamic creation of any Pure Data object
  • Connection management for building signal flows
  • Remote DSP start/stop control
  • Real-time parameter modification
  • Global index-based object tracking
  • Robust error detection and logging

Use cases of Pure Data MCP Server

  • Creating and modifying Pure Data patches through natural language conversation
  • Building complex audio signal flows without manual patching
  • Remotely controlling audio processing parameters in real time
  • Automating patch creation and testing workflows

FAQ from Pure Data MCP Server

What are the prerequisites?

Python 3.7+, Pure Data (vanilla) 0.51+, the uv package manager, and Python packages python-osc, fastmcp, and jsonschema.

Why does object creation fail?

Ensure Pure Data is running and the dynamic patch (absolute_final_solution.pd) is open. Check that port 5000 is not already in use.

What if object tracking gets confused?

Restart both the MCP server and Pure Data to reset the global ID system.

Why is the example patch not working?

The provided example patch.pd is known to be broken; use the absolute_final_solution.pd patch instead.

What transport protocol is used?

OSC via localhost on port 5000 (sending) and port 5001 (feedback). No authentication is required.

评论

数据与分析 分类下的更多 MCP 服务器