Skip to main content

MCP server for Trgr — send notifications to your macOS menu bar from any AI agent

Project description

trgr-mcp

An MCP server that lets AI agents — Claude Code, Claude Desktop, Cursor, and others — send notifications directly to your Trgr macOS menu bar app.

Quickstart (recommended)

Open the Trgr menu bar app → gear icon → Connect to Claude Code → Copy MCP Config JSON.

Paste the copied block into your config. Your token and port are pre-filled. Done.


Manual setup

Claude Desktop / Claude Code

Add to claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "trgr": {
      "command": "uvx",
      "args": ["trgr-mcp"],
      "env": {
        "TRGR_TOKEN": "your-trgr-token-here"
      }
    }
  }
}

Find your token: click the Trgr icon in your menu bar → gear → Copy API Token.

pip

pip install trgr-mcp
TRGR_TOKEN="your-token" trgr-mcp

Available tools

Tool Description
send_notification Send a notification to the Trgr app

send_notification parameters:

Parameter Type Default Description
title string required Short headline
body string "" Supporting detail
channel string "agent" Grouping label (e.g. "claude-code", "build")
priority string "normal" "low", "normal", or "urgent" — urgent fires a native macOS popup
url string "" Optional URL, opened when the user clicks the notification

Environment variables

Variable Required Default Description
TRGR_TOKEN Yes Your Trgr API token
TRGR_HOST No 127.0.0.1 Trgr host
TRGR_PORT No 9773 Trgr port

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trgr_mcp-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trgr_mcp-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file trgr_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: trgr_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trgr_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 07ff77e82acb466396955d11ec943115bece7020cf538e9f974567489c1fd3bc
MD5 f786f2678b1f28284b74b28b75098fa3
BLAKE2b-256 8973207406c965bf01fb5b64e57915aed92956d872a5eadd1f3a52edeb5f1cfb

See more details on using hashes here.

File details

Details for the file trgr_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: trgr_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trgr_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0efe056fcc3299705bbaeea50c423c65fc30d1a0489365ee182140a353096563
MD5 9f5ece8629ecaeece28655e4a7504721
BLAKE2b-256 efa1e9b804930287a781dcb41c14360a1dfabc171b29c335a09292cdac1403d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page