Connect an AI assistant (MCP)

TimeTriggers runs a Model Context Protocol server. Connect an AI assistant to it and use TimeTriggers in plain words: "call this webhook every weekday at 9 Paris time", "remind my API in 3 days", "why did last night's invoice sync fail?", "retry the ones that timed out".

  • URL: https://api.timetriggers.io/mcp
  • Transport: Streamable HTTP
  • Authentication: sign in with your TimeTriggers account (OAuth), or your API key as Authorization: Bearer YOUR_API_KEY (or ttr-api-keyheader). Either way the assistant works on one project only.

Set up your client

Give your client the URL and nothing else. It discovers the sign-in flow by itself: your browser opens TimeTriggers, you sign in with an email code (a first sign-in creates your account and a project on the Free plan), and you approve the app on a consent page.

Claude (claude.ai, desktop and mobile): in Settings › Connectors, choose Add custom connector and paste https://api.timetriggers.io/mcp.

Claude Code

claude mcp add --transport http timetriggers https://api.timetriggers.io/mcp

Then run /mcp in Claude Code and choose Authenticate.

Cursor, VS Code and other clients with a JSON configuration

{
"mcpServers": {
"timetriggers": { "url": "https://api.timetriggers.io/mcp" }
}
}

The key name varies by client (mcpServers, servers…); see your client's documentation.

The consent page shows where access will be sent (for example claude.ai, or localhost for an app running on your computer). Any app can call itself "Claude", so only approve a request you just started yourself.

An access token lasts one hour. Clients refresh it on their own for 30 days, after which you sign in again. To revoke access, remove the connector from your client.

API key

For clients without OAuth, or for automation, use an API key. Create one for the assistant in the dashboard, so you can delete it without affecting your other integrations.

claude mcp add --transport http timetriggers https://api.timetriggers.io/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
{
"mcpServers": {
"timetriggers": {
"url": "https://api.timetriggers.io/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}

Clients that only start local servers (stdio) can reach it through mcp-remote, with or without the --header arguments:

{
"mcpServers": {
"timetriggers": {
"command": "npx",
"args": [
"mcp-remote", "https://api.timetriggers.io/mcp",
"--header", "Authorization: Bearer YOUR_API_KEY"
]
}
}
}

Tools

ToolWhat it doesChanges anything
schedule_triggerSchedules an HTTP request once (2030-01-01T09:00:00Z, now | add 2h) or on a cron schedule (cron(0 9 * * 1-5, Europe/Paris)), or edits a pending one, like /schedule. Uses one unit of quota.Yes: calls your target later
list_triggersLists triggers with their latest outcome. Filters: status, title, custom key, tag.No
get_triggerOne trigger's request and all its attempts.No
list_executionsThe request log across triggers. Filters: trigger, custom key, status, HTTP status (404, 5xx…), dead letters only.No
get_executionOne attempt with the response headers and body your target sent.No
replay_triggerSends a completed trigger's request again, now. See Replay a trigger.Yes: calls your target
cancel_triggerCancels a trigger or a recurring trigger, by ID or custom key, like /cancel.Yes
get_quotaThe project's plan and this month's quota: used and remaining.No
list_tag_policiesThe project's tag policies.No
set_tag_policyCreates or replaces a tag's policy: throughput, concurrency, timeout, retries. Like POST /tag-policies.Yes
list_domainsThe project's target domains: in use, verified, and the plan's domain limit. Like GET /domains.No
verify_domainStarts or checks the verification of a domain you own, which lifts its rate limit. Like POST /domains/verify.No (checks your DNS or website)

Tools that change something are marked as non-read-only, so clients that ask before running such tools ask you first. The server also tells the assistant to confirm with you before scheduling, replaying, cancelling or changing a policy, unless you asked for exactly that.

schedule_trigger takes the request as arguments (url, method, headers, body) plus scheduledAt, title, customKey, tags, triggerId (to edit) and runMissed, with the same meaning as the ttr- headers. ttr-* and hop-by-hop headers in headers are dropped, and header names are lowercased. The method defaults to POST, scheduledAt to now.

What the assistant sees. The read tools return your triggers' URLs, request bodies and your targets' responses. Header values whose name suggests a credential (Authorization, Cookie, Set-Cookie, names containing token, secret, password, api-key or signature) are replaced with [redacted]. Other secrets, for example in a URL or a body, are sent as they are. The REST endpoints return everything unredacted.

Response bodies come from the servers you call. get_execution marks them as data, so the assistant doesn't take text inside them for instructions, but an assistant can still be misled by what a server sends back.

Good to know

  • Request bodies are cut at 4,000 characters in get_trigger. Response bodies are stored up to 10 KB; see Response bodies.
  • The server keeps no session: every request carries the token or key, and nothing is pushed to the client. Clients that open a server-to-client stream (GET /mcp) get 405, which the protocol allows.
  • schedule_trigger uses quota like /schedule. The other tools don't use quota.
  • With OAuth, the assistant works on the project your account sees in the dashboard.
  • For OAuth client developers: /mcp answers 401 with WWW-Authenticate: Bearer resource_metadata="https://api.timetriggers.io/.well-known/oauth-protected-resource/mcp". The authorization server is https://timetriggers.io/api/auth (metadata at https://timetriggers.io/.well-known/oauth-authorization-server/api/auth), with dynamic client registration, PKCE (S256) and refresh tokens. Request the triggers scope (add offline_access for a refresh token) and resource=https://api.timetriggers.io/mcp: access tokens are JWTs bound to that resource.

TimeTriggers — Schedule HTTP requests at any time.