HISE MCP Server

AI access to HISE documentation and interactive development tools

README.md

HISE MCP Server

An MCP server providing AI assistants with access to HISE documentation and optionally a live connection to your HISE instance for interactive development.

Quick Start

Option 1: Remote Server (Documentation Only)

Connect to the hosted server - no installation required.

URL: https://docs.hise.dev/mcp

Requirements: Free HISE Store account for authorization token (TBD)

Available features:

  • Query UI properties, Scripting API, and module parameters
  • Browse code snippets and best practices
  • Search across all HISE documentation
  • Access development workflow guides

Option 2: Local Server (Full Features)

Clone and run locally to unlock HISE runtime tools for interactive development.

Requirements: Node.js 18+

Setup:

git clone https://github.com/christoph-hart/hise_mcp_server
cd hise_mcp_server
npm install
npm run build

Then enable REST Server in HISE: Tools > Enable REST Server

Additional features:

  • Read/write scripts in real-time
  • Compile and see errors immediately
  • Capture UI screenshots
  • Manipulate components programmatically
  • AI-assisted UI layout workflows

MCP Client Configuration

Opencode

Config location:

  • macOS/Linux: ~/.config/opencode/opencode.json
  • Windows: %USERPROFILE%\.config\opencode\opencode.json

Remote server:

{
  "mcp": {
    "hise": {
      "type": "remote",
      "url": "https://docs.hise.dev/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer abc1234..."
      }
    }
  }
}

Local server:

{
  "mcp": {
    "hise": {
      "type": "local",
      "command": ["node", "/path/to/hise_mcp_server/dist/index.js"],
      "enabled": true
    }
  }
}

Tip: Run npm run build:configure to automatically configure Opencode with the correct paths.

Claude Desktop

Config location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Remote server:

{
  "mcpServers": {
    "hise": {
      "url": "https://docs.hise.dev/mcp",
      "headers": {
        "Authorization": "Bearer abc1234..."
      }
    }
  }
}

Local server:

{
  "mcpServers": {
    "hise": {
      "command": "node",
      "args": ["/path/to/hise_mcp_server/dist/index.js"]
    }
  }
}

Available Tools

Documentation Tools (Remote & Local)

Tool Description
search_hise Search across all documentation
query_scripting_api Look up API methods
query_ui_property Look up UI component properties
query_module_parameter Look up module parameters
list_snippets / get_snippet Browse code examples
list_resources / get_resource Access workflow guides
server_status Check server status and available features

Runtime Tools (Local Only)

Requires HISE running with REST Server enabled.

Tool Description
hise_runtime_status Get HISE project info
hise_runtime_get_script Read script content
hise_runtime_set_script Create new/small scripts (<30 lines)
hise_runtime_fix_script_line Fix a single line (for compile errors)
hise_runtime_patch_script Apply unified diff patch (multi-line changes)
hise_runtime_recompile Recompile without changing script
hise_runtime_screenshot Capture UI screenshots
hise_runtime_list_components List UI components
hise_runtime_get_component_properties Get component properties
hise_runtime_set_component_properties Set component properties
hise_runtime_get_component_value Get component runtime value
hise_runtime_set_component_value Set component value
hise_runtime_get_selected_components Get Interface Designer selection

Troubleshooting

Remote server returns 401 Unauthorized

  • Verify your HISE Store token is valid
  • Check the Authorization header format: Bearer <token>

Runtime tools return connection error

  • Ensure HISE is running
  • Enable REST Server: Tools > Enable REST Server
  • Default port is 1900 (configurable via HISE_API_URL environment variable)

Tools not appearing in your AI assistant

  • Restart your MCP client after configuration changes
  • Verify the config file path and JSON syntax
  • For local server: ensure you ran npm run build

Development

After pulling updates:

git pull
npm run build

Tools 7

search_hiseSearch across all documentation
query_scripting_apiLook up API methods
query_ui_propertyLook up UI component properties
query_module_parameterLook up module parameters
hise_runtime_set_scriptCreate new or small scripts under 30 lines
hise_runtime_screenshotCapture UI screenshots
hise_runtime_set_component_propertiesSet component properties

Environment Variables

HISE_API_URLConfigures the port for the HISE REST server (default 1900)

Try it

Search the HISE documentation for how to use the Scripting API for a gain slider.
What are the available properties for a HISE button component?
Fix the compile error in my current script using the runtime tools.
Capture a screenshot of the current HISE interface design.
Set the value of the main volume slider to 0.5.

Frequently Asked Questions

What are the key features of HISE MCP Server?

Searchable database of HISE documentation and code snippets. Real-time script reading and writing. Interactive UI component manipulation and property management. Automated UI screenshot capture. Direct integration with HISE REST server for live development.

What can I use HISE MCP Server for?

Rapidly looking up HISE API methods while writing scripts. Automating UI layout adjustments in HISE via AI. Debugging compile errors by letting the AI fix script lines. Generating code snippets for HISE modules directly in the IDE. Documenting UI designs by capturing automated screenshots.

How do I install HISE MCP Server?

Install HISE MCP Server by running: git clone https://github.com/christoph-hart/hise_mcp_server && cd hise_mcp_server && npm install && npm run build

What MCP clients work with HISE MCP Server?

HISE MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep HISE MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare