MCP.so
Sign In

Pure Data MCP Server

@nikmaniatis

About 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.

Basic information

Category

Data & Analytics

Runtime

python

Transports

stdio

Publisher

nikmaniatis

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "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"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Data & Analytics MCP servers