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.

コメント

「データと分析」の他のコンテンツ