Skip to content

IPC & Plugin Tools

Access Tauri's Inter-Process Communication (IPC) layer directly through the MCP Bridge plugin. These tools provide deep integration with your Tauri backend, window management, and event system.

tauri_ipc_execute_command

Execute any Tauri IPC command directly.

Parameters

NameTypeRequiredDescription
commandstringYesIPC command name to execute
argsanyNoCommand arguments

Example

javascript
// Call a custom Tauri command
{
  "tool": "tauri_ipc_execute_command",
  "command": "greet",
  "args": {
    "name": "World"
  }
}

Response

Returns the result of the IPC command execution.

tauri_ipc_monitor

Start or stop IPC event monitoring for debugging and analysis.

Parameters

NameTypeRequiredDescription
actionstringYesAction: 'start' or 'stop'

Example

javascript
// Start monitoring IPC events
{
  "tool": "tauri_ipc_monitor",
  "action": "start"
}

// Stop monitoring
{
  "tool": "tauri_ipc_monitor",
  "action": "stop"
}

tauri_ipc_get_captured

Retrieve captured IPC traffic (commands and events) from the monitor.

Parameters

NameTypeRequiredDescription
filterstringNoFilter events by command name

Example

javascript
// Get all captured IPC traffic
{
  "tool": "tauri_ipc_get_captured"
}

// Get traffic matching a filter
{
  "tool": "tauri_ipc_get_captured",
  "filter": "greet"
}

Response

Returns an array of captured IPC traffic with timestamps, command/event names, arguments, and responses.

tauri_ipc_emit_event

Emit custom events to the Tauri event system for testing event handlers.

Parameters

NameTypeRequiredDescription
eventNamestringYesEvent name to emit
payloadanyNoEvent payload data

Example

javascript
// Emit a custom event
{
  "tool": "tauri_ipc_emit_event",
  "eventName": "user-action",
  "payload": {
    "action": "button-clicked"
  }
}

tauri_ipc_get_backend_state

Get comprehensive backend application state and metadata.

Parameters

None.

Example

javascript
{
  "tool": "tauri_ipc_get_backend_state"
}

Response

Returns detailed backend state:

json
{
  "app": {
    "name": "My Tauri App",
    "identifier": "com.example.myapp",
    "version": "1.0.0"
  },
  "tauri": {
    "version": "2.9.3"
  },
  "environment": {
    "debug": true,
    "os": "macos",
    "arch": "aarch64",
    "family": "unix"
  },
  "windows": [
    {
      "label": "main",
      "title": "My App",
      "focused": true,
      "visible": true
    }
  ],
  "window_count": 1,
  "timestamp": 1732654123456
}

This is an unofficial community project. Not affiliated with, endorsed by, or associated with the Tauri project or CrabNebula Ltd.