Trigv MCP server for AI agent alerts

Let Cursor, Claude Code, VS Code, and other MCP clients send Trigv push notifications from agent workflows. The official MCP server exposes a send_event tool backed by the same Trigv event API.

Best uses

Agent completion alerts

Notify yourself when a long-running coding agent finishes a task, test run, or investigation.

Human approval

Send a push when an agent needs review, credentials, a deploy decision, or manual context.

Workflow failures

Route failed commands, broken builds, and blocked automation steps to a Trigv channel.

Install the MCP server

npm install @trigv/mcp

You can also run it directly from an MCP client with npx -y @trigv/mcp.

Configure your MCP client

Create a Trigv workspace API key, then pass it to the MCP server as TRIGV_API_KEY.

Code
{
	"mcpServers": {
		"trigv": {
			"command": "npx",
			"args": ["-y", "@trigv/mcp"],
			"env": {
				"TRIGV_API_KEY": "trgv_your_api_key_here"
			}
		}
	}
}

Tool: send_event

FieldUse it for
channelRoute agent alerts to general, deploys, ai, or another Trigv channel.
titleShort notification headline shown on the device.
descriptionOptional context from the agent, command, workflow, or failure.
levelUse success, warning, or error for quick scanning.
event_typeStable event name such as agent.task.completed.
idempotency_keyDeduplicate retries from the same agent task.

Example event

Code
{
	"channel": "ai",
	"title": "Agent task complete",
	"description": "Tests passed and the branch is ready for review.",
	"level": "success",
	"event_type": "agent.task.completed",
	"idempotency_key": "agent-task-42"
}

Troubleshooting

IssueFix
Missing API keySet TRIGV_API_KEY in the MCP client config.
Tool call succeeds but no push arrivesConfirm your device is subscribed to the selected Trigv channel.
Channel not foundUse an existing channel slug or create the channel in Trigv first.