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 |
Metadata
Release files for trgr-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trgr_mcp-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trgr_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / trgr_mcp-0.1.0.tar.gz
| Download URL | trgr_mcp-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07ff77e82acb466396955d11ec943115bece7020cf538e9f974567489c1fd3bc
|
|
BLAKE2b-256 checksum How to use checksums |
8973207406c965bf01fb5b64e57915aed92956d872a5eadd1f3a52edeb5f1cfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / trgr_mcp-0.1.0-py3-none-any.whl
| Download URL | trgr_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0efe056fcc3299705bbaeea50c423c65fc30d1a0489365ee182140a353096563
|
|
BLAKE2b-256 checksum How to use checksums |
efa1e9b804930287a781dcb41c14360a1dfabc171b29c335a09292cdac1403d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|