AI agents

Connect Claude Code, Codex, Cursor and other MCP agents to TMGR.

Connect Claude Code, Codex, Cursor and other MCP-capable agents to TMGR. Two MCP servers cover two jobs: working with your tasks, and reaching you when an agent needs attention.

AI agents

  • tmgr: Work with tasks and time. Token: device token
  • tmgr-notify: Notifications and alarms on your phone. Token: notify token (tmgrn_…)

Need an agent to act inside one workspace as a named persona? Create a persona token in Settings → Personas → Connect an agent.

Claude Code plugin

The quickest way to use TMGR from Claude Code is the official plugin (tmgr-dev/agent-plugin, MIT). It adds the cloud MCP server and skills that teach the agent to take tasks, report its work, create tasks, and use Decisions and pages.

sh
/plugin marketplace add tmgr-dev/agent-plugin
/plugin install tmgr@tmgr

Claude Code asks for your smart device token (Settings → Smart Devices) and keeps it in the OS keychain. Decisions tools need the local tmgr mcp from the command line. For Codex and Cursor, see AGENTS.md in the plugin repository. To connect by hand instead, follow the steps below.

1. Get a token

Open Settings → Agent alerts and press Create token. The token starts with tmgrn_ and is shown only once, so copy it right away.

2. Connect your agent

Pick your client below and replace the placeholder with your token. You need Node 22+, and the TMGR mobile app for pushes and alarms.

Claude Code

sh
claude mcp add -s user tmgr-notify \
  -e 'TMGR_NOTIFY_TOKEN=<your token>' \
  -- npx -y @tmgr/notify mcp

Codex

toml
[mcp_servers.tmgr-notify]
command = "npx"
args = ["-y", "@tmgr/notify", "mcp"]
tool_timeout_sec = 660

[mcp_servers.tmgr-notify.env]
TMGR_NOTIFY_TOKEN = "<your token>"

Cursor & others

json
{
  "mcpServers": {
    "tmgr-notify": {
      "command": "npx",
      "args": [
        "-y",
        "@tmgr/notify",
        "mcp"
      ],
      "env": {
        "TMGR_NOTIFY_TOKEN": "<your token>"
      }
    }
  }
}

Task MCP (tmgr)

A remote HTTP MCP server to work with tasks, statuses, comments, pages, routines and time tracking, and to report agent work. All its tools and tokens are in MCP server. Generate a device token in Settings → Smart Devices and send it in the X-Smart-Device-Token header.

Claude Code

sh
claude mcp add --transport http tmgr https://api.tmgr.dev/mcp \
  --header "X-Smart-Device-Token: <your device token>"

mcp.json

json
{
  "mcpServers": {
    "tmgr": {
      "type": "http",
      "url": "https://api.tmgr.dev/mcp",
      "headers": {
        "X-Smart-Device-Token": "<your device token>"
      }
    }
  }
}

This is not an OAuth connector, so claude.ai custom connectors that require OAuth are not supported.

Alarms

The alarm tool rings in the iOS app first, then calls your phone if it is not acknowledged (press 1 to acknowledge). To make it reliable:

  • Set and verify an alarm phone in Settings → Agent alerts.
  • Add the TMGR caller number to your contacts or Favorites.
  • Enable Repeated Calls in iOS settings.
  • Allow alarms for the TMGR app.

Troubleshooting

  • No push arrives: check that ~/.config/tmgr-notify/env exists and is readable. Hooks always exit 0 and print nothing.
  • Run claude mcp list to check that the server is connected.
  • MCP servers do not go into settings.json; use claude mcp add.
  • Codex ignores notify in a project-local .codex/config.toml; put it in ~/.codex/config.toml.
  • Requests are limited to 20 per minute per token.

Build a plugin with your agent

Ask your agent to make a TMGR desktop plugin. Point it at the plugin guide or /llms.txt: it covers the manifest, permissions and the whole write, test and try loop.