Tasker MCP logo

Tasker MCP

by dceluis

Tasker MCP is an integration that allows you to control Tasker tasks from other applications using a server. This integration provides a way to securely access and execute Tasker tasks remotely.

View on GitHub

Last updated: N/A

What is Tasker MCP?

Tasker MCP is a server that acts as a bridge between Tasker and other applications, enabling remote execution of Tasker tasks. It uses a defined API and secure key authentication to allow external applications to trigger and interact with Tasker profiles.

How to use Tasker MCP?

  1. Import the Tasker profile into your Tasker app and generate an API key.
  2. Select and run the appropriate CLI server binary for your device's architecture, providing the path to the tool descriptions and the Tasker API key.
  3. Connect your MCP-enabled application by pointing it to the running server, configuring the command and arguments for the server execution.

Key features of Tasker MCP

  • Remote Tasker Control

  • Secure API Key Authentication

  • CLI Server

  • SSE and stdio Transport Modes

  • Custom Task Integration

Use cases of Tasker MCP

  • Controlling Tasker from desktop applications

  • Integrating Tasker with smart home systems

  • Triggering Tasker tasks from web services

  • Automating tasks based on external application events

FAQ from Tasker MCP

How do I generate an API key?

Run the MCP generate_api_key task after importing the Tasker profile.

What transport modes are supported?

The server supports SSE (Server-Sent Events) and stdio (standard input/output) transport modes.

How do I update the MCP profile with additional tasks?

Add a comment to the task settings, configure tool arguments using task variables, copy the MCP#parse_args action, and export the project to generate updated tool descriptions.

What are the command-line flags for the CLI server?

The CLI server accepts flags such as --tools, --host, --port, --mode, --tasker-host, --tasker-port, and --tasker-api-key.

How do I build the CLI server myself?

Install Go and use the go build command to compile the CLI server for your target architecture.