Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HISE MCP ServerHow do I use the Engine.getPlayHead method?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HISE MCP Server
A Model Context Protocol (MCP) server for querying HISE documentation, including UI component properties, Scripting API methods, module parameter IDs, and a best-practice code snippet database.
Requirements
Node.js 18+ (Required - not compatible with older versions)
npm or yarn
Features
Exact Query Tools: Look up specific UI component properties, Scripting API methods, and module parameters with precise matching
Code Snippet Database: Browse and retrieve 100-150 code examples organized by metadata (category, tags, difficulty)
Best Practice Guide: Code snippets serve as a reference for AI agents implementing HISE solutions
Fast Lookups: Indexed data structures for O(1) exact queries
Type-Safe: Full TypeScript implementation
Available Tools
Exact Query Tools
query_ui_property- Query UI component propertiesInput:
componentType,propertyNameReturns: Property details including type, default value, description, and possible values
query_scripting_api- Query Scripting API methodsInput:
namespace,methodNameReturns: Method signature, parameters, return type, description, and example usage
query_module_parameter- Query module parameter IDsInput:
moduleType,parameterIdReturns: Parameter details including min/max values, step size, default value, and description
Code Snippet Tools
list_snippets- List all available code snippets with metadataInput: none
Returns: Array of snippet summaries (id, title, description, category, tags, difficulty)
Use this first to browse and discover relevant snippets
get_snippet- Get full details and code for a specific snippetInput:
id(snippet ID fromlist_snippets)Returns: Complete snippet with code, related APIs, and components
Listing Tools
list_ui_components- List all available UI component typeslist_scripting_namespaces- List all available Scripting API namespaceslist_module_types- List all available module types
Installation
Check Node.js Version
First, verify your Node.js version:
If you have Node.js < 18, you must upgrade. Use one of these methods:
Option 1: Using nvm (recommended on macOS/Linux):
Option 2: Using nvm-windows (recommended on Windows):
Download nvm-windows from: https://github.com/coreybutler/nvm-windows/releases
Install it, then run:
Option 3: Direct download: Download the LTS version from: https://nodejs.org/
Setup
Clone or download this repository
Install dependencies:
Build the project and configure opencode (recommended):
This will:
Compile TypeScript to JavaScript
Automatically find and update your opencode config file
Add the HISE MCP server entry with the correct absolute path
Or manually build only:
Set up environment variables:
On Windows (Command Prompt):
On Windows (PowerShell):
Usage
Running the Server
The server will start and listen for MCP connections via stdio.
Using with Claude Desktop
Add the HISE MCP server configuration to your Claude Desktop config file.
Finding the Config File
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json (usually C:\Users\<username>\AppData\Roaming\Claude\)
Configuration
Add the following to your claude_desktop_config.json:
Important: Replace the paths with your actual installation path. Use absolute paths (not relative).
Restart Claude Desktop
After adding the configuration, completely quit and restart Claude Desktop to load the MCP server.
Verification
Once connected, you can verify the server is working by asking Claude:
Using with Opencode
The easiest way to configure Opencode is to use the automated script:
This will:
Build the TypeScript project
Find your opencode config file automatically
Add or update the HISE MCP server entry with the correct absolute path
Create the config directory if it doesn't exist
After running, restart Opencode to load the MCP server.
Manual Configuration
If you prefer to configure manually, add the following to your opencode.json:
Config location:
macOS/Linux:
~/.local/share/opencode/opencode.jsonWindows:
%USERPROFILE%\.config\opencode\opencode.json
Important notes:
Use
$schemaat the top for validationThe
commandmust be an array with each argument as a separate elementReplace
/path/to/hise_mcp_server/dist/index.jswith your actual installation pathUse forward slashes on Windows or double backslashes (
\\)Set
enabled: trueto activate the serverAfter
git pull, runnpm run buildto rebuild TypeScript
Using from Opencode
Once configured, you can use HISE MCP server tools directly in Opencode:
Browse code snippets:
Can you list all available HISE code snippets?Query specific data:
What are the properties of a Knob component?Get full code examples:
Show me the full code for handling MIDI note eventsReferencing by server name:
Use the hise MCP server to find information about Synth API methods
Relative vs Absolute Paths
Opencode: Can use relative paths (
["node", "./dist/index.js"]) if running fromhise_mcpdirectoryClaude Desktop: Requires absolute paths (
D:\development\projekte\hise_mcp\dist\index.js)
Example Queries
Query a UI property:
Query a Scripting API method:
Query a module parameter:
List all code snippets:
Get a specific code snippet:
List available UI components:
Data Format
The server expects a JSON file with the following structure (see data/hise-data.json for a complete example):
Data Generation
The HISE data file is expected to be auto-generated from official HISE documentation. You would typically:
Scrape/parse the HISE documentation
Extract UI component properties, API methods, and module parameters
Collect and curate code examples
Format according to the JSON schema above
Save to
data/hise-data.json
Architecture
src/types.ts- TypeScript type definitions for all data structuressrc/data-loader.ts- Data loading, indexing, and retrieval logicsrc/index.ts- MCP server implementation with tool definitions
Data Access Pattern
For code snippets, use a two-step process:
Call
list_snippets()to browse available snippets with metadataCall
get_snippet(id)to retrieve full code for specific snippets
This keeps responses lightweight and allows AI agents to select only relevant examples.
Development
Development mode (with auto-rebuild):
TypeScript compilation:
Updating after git pull
After pulling changes from the repository:
This will rebuild TypeScript and update the opencode config with the new code. Then restart Opencode.
Troubleshooting
Server fails to start
Ensure all dependencies are installed (
npm install)Verify the data file path is correct
Check the JSON data file is valid JSON format
Exact queries returning no results
Verify exact spelling (case-insensitive but exact match otherwise)
Use
list_*tools to discover available valuesCheck that your data JSON contains the requested items
Code snippets not found
Call
list_snippets()to see all available snippet IDsVerify the snippet ID is correct (use exact ID from list results)
Check that your data JSON contains the snippet
License
MIT
Contributing
Contributions are welcome! Please ensure any code examples added follow HISE best practices and are well-documented.