PTD — Plan Track Done
● Activeio.github.danimoya/ptd
Hybrid human+AI work tracker: tasks with human minutes vs agent tokens and cost.
Connect this server
One click to install, or copy the config below. Suits: Cursor · HTTP clients.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"ptd": {
"url": "https://ptd.foor.tech/mcp",
"headers": {
"Authorization": "<your Authorization>"
}
}
}
}claude mcp add --transport http ptd https://ptd.foor.tech/mcp --header 'Authorization: <your Authorization>'code --add-mcp '{"name":"ptd","type":"http","url":"https://ptd.foor.tech/mcp","headers":{"Authorization":"<your Authorization>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 5, 2026Looks healthy: PTD — Plan Track Done is maintained, open source, hosted endpoint, API key required for tool calls.
- Maintained
- Active
- Last commit 5 days ago (Nov 29, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.danimoya/ptd in the official MCP registry, version 0.1.1.
- Source
- Open source, Apache-2.0
- Public repository under the Apache-2.0 licence, 1 stars, 0 forks.
- Runs
- Hosted by the publisher
- Your client talks to ptd.foor.tech: prompts and tool arguments leave your machine for that host.
- Credentials
- API key required for tool calls
- The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 5, 2026), but it declares a required credential (Authorization): the public handshake lists the tools, but calling one needs it.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 5 days ago.
- Open licence+15/15
Apache-2.0 on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
1 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-danimoya-ptd?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-danimoya-ptd/report-badge.svg" alt="PTD — Plan Track Done — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
Live check
checked Dec 5, 2026, 12:08 UTCStatus history & uptime →The endpoint answered the MCP handshake as "PTD — Plan Track Done" and listed 161 tools. Answering since Nov 30, 2026.
Context cost ≈ 37k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 161 tools.
Tools (161)
account.securityWhether two-factor authentication is on for your account, how many recovery codes are left, which providers are linked, and whether this organization requires 2FA. What the Org → Security tab reads.
ai.connect4 paramsStore this organization's own Anthropic or OpenAI key, sealed with AES-256-GCM, and use it for every AI call instead of the deployment's. The provider bills you directly and PTD meters nothing. The key is never returned by any action — `ai.status` shows the provider, the model and the last four characters. Connecting again replaces the stored key. Admin only, and recorded in the audit log.
Show parametersHide parameters
providerstringrequiredWhich provider the key belongs to.apiKeystringrequiredThe provider API key. Stored sealed; never echoed back.modelstringOverride the provider's default model for this organization.baseUrlstringPoint at a gateway or proxy instead of the provider's own host.
ai.disconnectForget this organization's stored provider key. AI then falls back to the deployment's own key where one is configured — on the hosted instance that means Team and Business calls start being metered at cost plus 20% again. Admin only, and recorded in the audit log.
ai.statusWhether AI is available to this organization and whose key would answer: its own (connected with ai.connect, billed by the provider) or this deployment's (billed on at cost plus 20% on Team and Business). Never returns a key — only the provider, the model and the last four characters. The only AI action that works unconfigured.
ai.usage1 paramTokens and estimated dollars this organization has spent on AI suggestions, from the ai_usage ledger: one row per provider call, so the numbers survive a restart and are the same on every app replica. Totals for the window (30 days by default, up to 365) with breakdowns by day, by member, by model and by action. Costs are estimates from a static price table; `meterCents` is what those calls would be billed on for at cost plus 20% when PTD's key answered them. `thisProcess` is the last 500 calls this server process happened to make — the same ledger seen through a keyhole, useful right after a batch run.
Show parametersHide parameters
daysintegerHow many days back to count, 1–365 (default 30).
app.create5 paramsRegister an app the organization owns. `key` is the short slug used in tables and filters and must be unique within the organization.
Show parametersHide parameters
keystringrequiredShort lowercase slug, e.g. `web` or `core-api`.namestringrequiredHuman-readable name.urlsarrayLive http(s) URLs for the app.repostringRepository reference, e.g. `github:acme/web`.stackarrayTechnologies, e.g. ["Rust","Postgres"].
app.get1 paramOne app with its URLs, repo, stack, streams and computed task counters.
Show parametersHide parameters
appIdintegerrequiredApp id, from app.list.
app.list1 paramEvery app (product / service / codebase) the organization tracks, each with its open-task count, critical count, highest open priority and the streams touching it.
Show parametersHide parameters
includeArchivedbooleanInclude archived apps (default false).
app.stats1 paramOpen tasks, critical tasks (priority ≥ 75), highest open priority and the streams touching one app.
Show parametersHide parameters
appIdintegerrequiredApp id, from app.list.
app.update6 paramsChange an app's name, URLs, repo, stack or archived flag. Omitted fields are left alone. The key is immutable — it is what external references point at.
Show parametersHide parameters
appIdintegerrequiredApp id, from app.list.namestringNew display name.urlsarrayReplacement list of http(s) URLs for this app.repoSource repository, or null to clear it.stackarrayReplacement list of stack labels.archivedbooleanArchive hides the app from app.list and the KPI count without deleting its history.
audit.export3 paramsEvery audit row in the range as one CSV document (RFC 4180, UTF-8), oldest first, so it can be filed, diffed or handed to an auditor. No paging: the whole range comes back in `csv`. Narrow it with from/to on a busy organization.
Show parametersHide parameters
fromstringISO 8601 lower bound, inclusive.tostringISO 8601 upper bound, inclusive.kindstringOne kind, e.g. "member.role_changed". A trailing dot is a prefix: "token." matches every token event.
audit.list5 paramsWho did what in this organization, newest first: sign-ins and failed sign-ins, 2FA turned on or off, providers linked, roles changed, members removed, tokens minted and revoked, agents registered, integrations connected and disconnected, billing opened, the security policy changed, data exported. Filterable by date range and kind, paged up to 200 rows. Returns the kinds this organization has actually produced, for building a filter.
Show parametersHide parameters
fromstringISO 8601 lower bound, inclusive.tostringISO 8601 upper bound, inclusive.kindstringOne kind, e.g. "member.role_changed". A trailing dot is a prefix: "token." matches every token event.limitintegerRows to return (default 50, max 200).offsetintegerHow many rows to skip (default 0).
billing.change_plan2 paramsMove an existing subscription to another plan or billing interval in place — Team↔Business, monthly↔annual — rather than starting a second Checkout. Stripe prorates the difference onto the next invoice (`create_prorations`), the subscription keeps its identity and any discount, and the seat quantity is set from the current human count. An organization with no subscription yet is sent to billing.checkout instead. Owner only.
Show parametersHide parameters
planstringrequiredWhich plan to buy: team ($15/org/month) or business ($49/org/month).intervalstringmonth, or year for two months free (Team $150, Business $490). Defaults to month.
billing.checkout2 paramsCreate a Stripe Checkout Session for a plan and interval and return its URL for the browser to follow. The session carries the flat plan price, the seat price when Business is already past 50 humans, and both usage meters; promotion codes (FOUNDING) are accepted there. Owner only.
Show parametersHide parameters
planstringrequiredWhich plan to buy: team ($15/org/month) or business ($49/org/month).intervalstringmonth, or year for two months free (Team $150, Business $490). Defaults to month.
billing.contractors2 paramsEvery billable member with their rate, how many minutes of the named month are approved, pending or unsubmitted, and whether an invoice has already been issued for that month. One read for the billing overview, so the UI does not have to preview each contractor in turn.
Show parametersHide parameters
monthintegerCalendar month, 1–12.yearintegerCalendar year.
billing.portalCreate a Stripe Customer Portal session — card, invoices, cancellation — and return its URL. Owner only; requires an existing Stripe customer.
billing.statusEverything the Billing tab draws: the plan and interval, the price list, the seat limits and what is in use (humans, agents, total, billable overage), the metered add-ons so far this period (certified invoices, AI cents), the live subscription state, and the founding-member code while one is on offer. On a self-hosted deployment it answers { hosted: false } and nothing else — there is no billing to report.
billing.sync1 paramRe-read the subscription from Stripe and apply it to the organization — plan from the base price, interval, item ids and the period. The Checkout success redirect calls this so the plan is correct even before the webhook lands; safe to call at any time. Owner only.
Show parametersHide parameters
sessionIdstringCheckout Session id from the success redirect (session_id), if available.
blocked_tasksCards waiting on at least one dependency that is neither complete nor already finished — the work that cannot legitimately start yet.
budget.check1 paramWhere a stream stands against its monthly agent budget: `{ streamId, name, mode, budgetUsd, spentUsd, remainingUsd, burnPct, overBudget, enforced, blocked, periodStart }`. Omit streamId and you get `{ streams: [...], blocked: [...], totals }` for every live lane instead. `blocked: true` means an agent credential will be refused this lane's work by `next_task` — the check an autonomous worker should make before it starts, so it can pick a different lane rather than discover the refusal as an empty queue. Spend is month-to-date and prefers the verified cost of each session over the self-reported one.
Show parametersHide parameters
streamIdintegerOne stream, or omit for every live stream.
critical_pathThe longest dependency chain in the organization weighted by estimated duration (totalDays/tasks), plus a full critical-path-method schedule in perTask: earliest/latest start and finish for every card, its float in days, and whether it has none left. Float is the slack a card has before it drags the whole plan; zero float is the critical path the Plan surface outlines in red.
customer.create4 paramsAdd a customer to the organization.
Show parametersHide parameters
namestringrequiredCustomer name.weeklyGoalHoursHours a week this customer is meant to get.billingAddressPostal address for invoices.billingEmailWhere invoices are sent.
customer.delete1 paramRemove a customer. Time entries and streams that pointed at it keep their history but lose the reference.
Show parametersHide parameters
customerIdintegerrequiredThe customer to remove.
customer.goals1 paramEvery customer's weekly goal against what the organization actually logged for them this week, with the human/agent split and a per-stream breakdown. A session bills to the customer of the stream it sits in (falling back to the session's own customer when it has no stream). Monday-first weeks.
Show parametersHide parameters
weekOfstringAny instant inside the week to report on. Defaults to this week. as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
customer.listCustomers in the organization, for attributing and billing time.
customer.update5 paramsChange a customer's name, weekly goal or billing details.
Show parametersHide parameters
customerIdintegerrequiredThe customer to edit.namestringCustomer name.weeklyGoalHoursHours a week this customer is meant to get.billingAddressPostal address for invoices.billingEmailWhere invoices are sent.
digest.preview1 paramRender the last seven days of the hybrid summary as an email — subject, HTML and plain text — without sending it. The body is the same computed narrative, the same figures and the same per-stream agent spend the Overview → Hybrid tab shows. No scheduler: fetch it on your own cadence.
Show parametersHide parameters
daysintegerWindow length in days, counting back from today (default 7).
field.archive2 paramsRetire a field without losing what cards already recorded in it: the values stay in the database but stop being offered, returned or writable. Pass archived: false to bring it back.
Show parametersHide parameters
fieldIdintegerrequiredCustom field id, from field.list.archivedbooleanDefault true
field.create4 paramsDefine an extra field on every card in the organization. The key every wire shape uses (`custom: { severity: "high" }`) is derived from the name once and then fixed, so renaming the field keeps existing payloads working.
Show parametersHide parameters
namestringrequiredLabel shown on the card, e.g. "Customer severity"kindstringrequiredWhat the field holdsoptionsarrayChoices for a select or multiselect field; rejected for every other kindpositionintegerOrder in the card's Fields section, ascending
field.list1 paramEvery custom field defined for the organization, in display order, with its key, kind and options.
Show parametersHide parameters
includeArchivedbooleanInclude archived fields (default false)
field.update5 paramsRename a field, reorder it, change a select's options or (un)archive it. `kind` is immutable — the values already on cards were validated against it. An option still used by a card cannot be removed.
Show parametersHide parameters
fieldIdintegerrequiredCustom field id, from field.list.namestringNew field name.optionsarrayChoices for a select or multiselect field; rejected for every other kindpositionintegerDisplay order, ascending.archivedbooleanArchive hides the field without deleting stored values.
github.disconnectForget the installation and every mapping. Cards keep their externalKey and history, and the App itself stays installed on GitHub until someone removes it there — this only stops PTD acting on it.
github.list_mappingsEvery stream ↔ repository mapping in this organization, with its direction and the outcome of its last sync.
github.map_stream3 paramsBind one stream to one repository. `in` imports issues as tasks, `out` opens and closes issues from tasks, `both` does each. A stream maps to at most one repository, so mapping it again replaces the previous mapping. Inbound writes run as you, with your role.
Show parametersHide parameters
streamIdintegerrequiredStream to bindrepostringrequired"owner/name", or a github.com URLdirectionstringboth = mirror each way, in = GitHub → PTD only, out = PTD → GitHub only
github.statusWhether this server has a GitHub App configured, whether this organization has installed it, which account it was installed on, and every stream ↔ repository mapping with its last sync. Never returns a token — installation tokens are minted per hour and never stored.
github.sync_now1 paramPull every open issue of the mapped repository and upsert it as a task keyed on `gh:owner/name#N` — labels become tags, a milestone due date becomes the card's due date, and an assignee whose GitHub profile shows an email that matches a member is assigned. Idempotent: run it twice and nothing changes the second time. Closed issues are left out; a close arrives by webhook.
Show parametersHide parameters
streamIdintegerrequiredThe mapped stream to sync
github.unmap_stream1 paramStop syncing one stream. Existing cards keep their `gh:owner/name#N` externalKey and their history; nothing is deleted on either side, and mapping the stream again picks the same cards back up.
Show parametersHide parameters
streamIdintegerrequiredStream id to stop syncing.
hybrid.summary3 paramsThe human/agent split for the whole organization over one window: `series` (worked minutes per day or week, split human vs agent, with the agent's tokens and dollars), `byStream` (the same split per stream, plus each stream's agent budget, burn percentage and whether it is over), `byApp` (split by the app the worked task belongs to), `topAgents` (minutes, tokens, dollars and tasks closed per agent seat), `perCompletedTask` (median and mean agent minutes/tokens/dollars for the tasks completed in the window, counted over each task's whole life so work done before the window still counts), `totals`, and `narrative` — one computed paragraph stating the split, where the money went and whether the budget held. Defaults to the last 30 days bucketed by day. Breaks and still-running sessions are excluded: a break is not work and an open session has no duration to report.
Show parametersHide parameters
fromstringStart of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringEnd of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).groupBystringBucket size for `series`. Weeks start on Monday, in the caller's local time.
ical.url1 paramThe .ics subscription URL for this organization's scheduled cards. Calendar apps cannot send an Authorization header, so the credential is in the path: treat the URL as a secret, and revoke the 'ical' token in Org → Tokens to kill the feed. scope 'me' (default) shows the cards assigned to you; scope 'org' shows every scheduled card and needs the manager role.
Show parametersHide parameters
scopestring'me' = your cards; 'org' = every scheduled card (manager+).
identity.listThe Google, GitHub or Microsoft accounts linked to your PTD account, with the address each one reported. Also reports which providers this deployment has configured at all, so a client can offer the ones that exist and no others.
identity.unlink2 paramsDetach one linked provider from your account. Unlinking the last one needs `confirm: true`: an account that was created *through* a provider has a random password nobody knows, so dropping its only identity means going through “Forgot password” before you can sign in again.
Show parametersHide parameters
identityIdintegerrequiredIdentity id, from identity.list.confirmbooleanRequired when this is the only linked provider.
import.commit6 paramsWrite the rows. Tasks are matched on externalKey and updated rather than duplicated, so re-running the same file is idempotent; streams (and customers, for time sheets) are created by name when missing; every task write leaves a task_events row with via=import. Pass dryRun: true to get import.preview's answer instead.
Show parametersHide parameters
sourcestringWhere the file came from. "auto" detects it from the header row. One of: jira, trello, asana, linear, notion, generic, toggl, clockify, harvest.csvstringrequiredThe CSV file's text, header row included. Up to 5 MB.mappingobjectOverrides for the detected column mapping: {"<column name>": "<PTD field>"}. Use "-" to drop a column.streamIdintegerFile every row under this stream, whatever the source says.defaultStreamNamestringStream for rows with no stream of their own; created if it does not exist.dryRunbooleantrue behaves exactly like import.preview and writes nothing.
import.historyThe last 20 imports committed in this organization, newest first, from the import_runs table — every replica's runs, and they survive a restart. Plus the all-time count of task rows written by an import (task_events with via=import and an import: note).
import.preview5 paramsDry run. Detects which tool the CSV came from, shows the column → PTD field mapping it will use, normalises the first rows, and counts what a commit would create, update or skip. Writes nothing. Run this first: it is the same code path as import.commit, so what it reports is what will happen.
Show parametersHide parameters
sourcestringWhere the file came from. "auto" detects it from the header row. One of: jira, trello, asana, linear, notion, generic, toggl, clockify, harvest.csvstringrequiredThe CSV file's text, header row included. Up to 5 MB.mappingobjectOverrides for the detected column mapping: {"<column name>": "<PTD field>"}. Use "-" to drop a column.streamIdintegerFile every row under this stream, whatever the source says.defaultStreamNamestringStream for rows with no stream of their own; created if it does not exist.
insights.patterns4 paramsThe shape of a window: minutes by hour of day and by weekday (human vs agent in both), a 7×24 heat matrix for the heat strip, break count and frequency, the longest unbroken stretch of work, and the peak hour and weekday. Defaults to the trailing 30 days.
Show parametersHide parameters
fromstringStart of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringEnd of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).streamIdsarrayRestrict the report to these streams. Omit for every stream.userIdWhose ledger to report on. Manager and above only; "all" reports the whole organization. Defaults to the caller.
insights.summary4 paramsThree to six sentences reading the window back: how much was logged and over how many sessions, what the agents logged and what their API cost came to, when the work clusters, the longest unbroken stretch, and how breaks were taken. Every figure is computed from the ledger — there is no language model in this path, and the same window always produces the same words.
Show parametersHide parameters
fromstringStart of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringEnd of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).streamIdsarrayRestrict the report to these streams. Omit for every stream.userIdWhose ledger to report on. Manager and above only; "all" reports the whole organization. Defaults to the caller.
invitation.resend1 paramMail an outstanding invitation again and push its expiry out another seven days. The token is unchanged, so a link from the first letter still works. Returns `acceptUrl` and a `delivery` verdict: `{sent:true}`, or `{sent:false, reason:"smtp_not_configured"}` on a deployment with no SMTP — in which case paste `acceptUrl` to the invitee yourself. An invitation that has already been accepted cannot be resent.
Show parametersHide parameters
invitationIdintegerrequiredInvitation id, from GET /api/orgs/current/invitations.
invoice.contractor_generate4 paramsCommit the month: freeze every billed entry into a signed snapshot, lock those entries against further edits, and hand back the invoice's verification URL and PDF. The snapshot records each entry's times and a hash of its immutable columns; the whole record is hashed and signed with the deployment's Ed25519 key, so anyone holding the document can confirm at the verification URL that PTD issued it and that the hours behind it have not moved since. Refuses a month with nothing to bill, and refuses entries an earlier invoice already claimed.
Show parametersHide parameters
userIdintegerrequiredThe external member being invoiced.monthintegerrequiredCalendar month, 1–12.yearintegerrequiredCalendar year.onlyApprovedbooleanBill only entries a manager approved. Defaults to the member's own `requireApproval` setting, so a gated member is never invoiced for unapproved hours by accide
invoice.contractor_list2 paramsEvery certified contractor invoice, newest period first, with the member it was rendered for, the amount, whether it has been voided, and its verification URL and PDF. A member sees only their own.
Show parametersHide parameters
userIdintegerOnly this member's invoices.limitintegerMaximum rows (default 100).
invoice.contractor_preview4 paramsThe invoice an external member's month would produce: one line per day × stream × task with its minutes, whether a human or an agent produced them, the rate and the amount, plus the totals and how many minutes are being left out because they are unapproved. Nothing is written. The member may read their own; anyone else's needs manager or above.
Show parametersHide parameters
userIdintegerrequiredThe external member being invoiced.monthintegerrequiredCalendar month, 1–12.yearintegerrequiredCalendar year.onlyApprovedbooleanBill only entries a manager approved. Defaults to the member's own `requireApproval` setting, so a gated member is never invoiced for unapproved hours by accide
invoice.generate3 paramsIssue the invoice: freeze the month's entries into a signed snapshot, lock them against further edits, and hand back the document's verification URL and PDF. The snapshot records each entry's times and a hash of its immutable columns; the record is hashed and signed with the deployment's Ed25519 key, so the customer — or their accountant — can confirm at the verification URL that this deployment issued the document and that the hours behind it have not moved since. Because the rows are now locked, re-issuing a month means voiding the first invoice with `invoice.void` rather than generating a second on top of it.
Show parametersHide parameters
customerIdintegerrequiredThe customer to bill.monthintegerrequiredCalendar month, 1–12.yearintegerrequiredCalendar year.
invoice.list2 paramsEvery customer invoice recorded for the organization, newest period first, with the customer it was rendered to, who issued it, the total in minutes and money, whether it has been voided, and the URLs of its PDF and its public verification page. Contractor invoices have their own list — `invoice.contractor_list` — because a member may read their own.
Show parametersHide parameters
customerIdintegerOnly this customer's invoices.limitintegerMaximum rows (default 100).
invoice.preview3 paramsThe line items a customer's month would bill: one line per stream × task with its session count, human minutes, agent minutes, agent tokens, agent API cost, the hourly rate that applies and the amount, plus the totals and the agent spend as a pass-through figure. Nothing is written — this is the document a manager reads before committing to it. A stream's own hourly rate overrides the customer's; where neither is recorded the line states hours with no money attached.
Show parametersHide parameters
customerIdintegerrequiredThe customer to bill.monthintegerrequiredCalendar month, 1–12.yearintegerrequiredCalendar year.
invoice.recipients1 paramThe invoice's recipient allowlist, masked: one row per named address with when it was added, whether PTD added it at issue (the contractor, a customer's billing address) or somebody shared it, how many access codes it has asked for and how many opened the details. Addresses are stored as a salted hash, so what comes back is `a••••a@example.com` and never the address. Manager and above, or the contractor the invoice is about.
Show parametersHide parameters
invoiceIdintegerrequiredThe certified invoice.
invoice.share3 paramsName the people who may read an invoice, and write to them. Each address is added to the invoice's recipient allowlist and sent the verification link with a note that a six-digit code will be emailed to that address when they ask for the details on the page. The link itself proves the document is genuine and shows nothing else, so forwarding it discloses nothing. Addresses are stored only as a salted hash and a mask — sharing the same address again re-sends the letter rather than adding it twice, and there is no way to read an address back out. Manager and above, or the contractor the invoice is about.
Show parametersHide parameters
invoiceIdintegerrequiredThe certified invoice to share.emailsarrayrequiredThe addresses to name as recipients. Each is sent the link and told a code will be emailed to that address on request.messagestringA line of your own to include in the letter.
invoice.unshare2 paramsTake an address off an invoice's allowlist. Any code already sent to it is destroyed with it, so access that a letter in an inbox could still open is actually revoked. Because addresses are stored hashed, the address has to be typed in full; answers whether it was on the list. Manager and above, or the contractor the invoice is about.
Show parametersHide parameters
invoiceIdintegerrequiredThe certified invoice.emailstringrequiredThe address to remove, in full.
invoice.void2 paramsWithdraw an invoice of either kind: it is stamped voided, and the entries it froze are unlocked so they can be corrected and invoiced again. The snapshot, hash and signature are deliberately left in place — a copy of the PDF is still out there, and it must go on verifying, as voided. Admin and above; the reason is recorded in the organization's audit trail.
Show parametersHide parameters
invoiceIdintegerrequiredThe invoice to withdraw.reasonstringrequiredWhy it is being withdrawn.
member.billing1 paramA member's billing settings, or every member's when you name nobody. A member may always read their own; reading someone else's requires manager or above. The row says whether they are external, at what rate and in what currency, the issuer details their invoice prints, and whether their hours need approving.
Show parametersHide parameters
userIdintegerWhose settings to read. Omit for every member in the organization (manager and above), or for your own.
member.set_billing8 paramsMark a member as external (billable) and record what invoicing them needs: an hourly rate and currency, the legal name and address to print as the issuer, a tax id, and whether their hours must be approved by a manager before they can be invoiced. Turning `billable` off leaves the recorded rate and details alone, so switching a contractor back on does not mean re-typing them. Admin and above: a rate is money, and nobody sets their own.
Show parametersHide parameters
userIdintegerrequiredThe member to configure.billablebooleanrequiredTrue for an external member PTD should invoice; false for salaried staff and agent seats.hourlyRateWhat an hour of their time bills at. Omit (or null) to invoice hours with no money attached.currencystringISO 4217 currency of this member's rate, e.g. USD or EUR.billingNameLegal or trading name to print as the invoice's issuer. Defaults to their display name.billingAddressPostal address printed under the issuer's name.taxIdVAT / tax registration number printed on the invoice.requireApprovalbooleanWhen true, their entries start as `pending` and only approved entries can be invoiced.
next_task3 paramsThe single highest-priority task still worth starting (status backlog or triaged), plus `why` — the urgency/impact/effort arithmetic behind its score. By default it only offers work nobody has claimed or work already assigned to you, which makes it safe to poll in an autonomous loop. When the caller is an **agent** credential, streams whose `budgetMode` is `enforce` and whose month-to-date agent spend has reached their `agentBudgetUsd` are skipped, and the skipped lanes come back in `skippedStreams` so the agent can say why it went elsewhere. A human caller is never budget-limited.
Show parametersHide parameters
streamIdRestrict to one stream, or null / "none" for work filed against no stream.appIdRestrict to one app, or null / "none" for work filed against no app.assigneeOverride the default filter: "me", null / "none" (unassigned only), "any" (ignore assignment), or a user id.
oauth.clientsEvery MCP client that has registered against this deployment's OAuth server (Claude.ai and ChatGPT connectors register themselves), with how many grants your organization has approved for each. Registration alone grants nothing — only a member's consent does.
oauth.my_grantsThe MCP connectors you personally authorized for this organization, newest first, with the scope recorded at consent time, when each was last used and whether it is still live. Revoke one with oauth.revoke_grant.
oauth.revoke_client1 paramCuts an MCP client off from your organization: every grant this organization approved for it is revoked, access tokens included. The registration itself is deleted too when no other organization still has a live grant on it.
Show parametersHide parameters
clientIdstringrequiredclient_id, from oauth.clients.
oauth.revoke_grant1 paramWithdraws one of your own connector authorizations: its refresh token and its live access token both stop working immediately.
Show parametersHide parameters
grantIdintegerrequiredgrantId, from oauth.my_grants.
org.delete1 paramDeletes the organization and everything that hangs off it — streams, apps, tasks, task history, time entries, invoices, tokens, integrations, invitations, the audit log. Irreversible, and there is no copy: take `org.export` first. The exact organization name must be repeated in `confirmName`. A hosted organization with a live subscription is refused until the subscription is cancelled, so nobody deletes their way into being billed for nothing. Human members keep their accounts and their other organizations; an agent seat that existed only here is removed with it.
Show parametersHide parameters
confirmNamestringrequiredThe organization's name, exactly as it is spelled.
org.exportMints a single-use download link for a ZIP of the whole organization: organization.json, members.csv, streams.csv, apps.csv, tasks.csv, task_events.csv, time_entries.csv, invoices.json and audit_events.csv, with a README naming each file. The link is good for five minutes, works exactly once, and needs no Authorization header — so it can be handed to a browser, `curl -O`, or anything else that follows a URL. The archive itself is built when the link is fetched, so it is never stale.
org.membersMembers of the organization with role and whether each is an agent seat.
org.securityWhat this organization requires of its members: today, whether two-factor authentication is mandatory, and who last changed that.
org.set_security1 paramTurn the two-factor requirement on or off. With it on, every human member without 2FA is refused on org-scoped calls with `403 totp_required` and pointed at the setup page — their own account surface (/api/auth/**) keeps working, so they can enrol and carry on. Agent seats are exempt: their credential is a revocable token, not a phone. You cannot switch it on unless your own account already has 2FA, which is what stops an admin locking themselves out.
Show parametersHide parameters
requireTotpbooleanrequiredtrue = members must have TOTP enabled.
report.compare6 paramsThe same roll-up for two windows side by side, with the difference and the percent change for total minutes, human minutes, agent minutes, agent tokens, agent cost, sessions, active days and break minutes. Each metric also carries a trend: an arrow, a direction, and whether that direction is the good one (for cost, tokens and breaks, down is good).
Show parametersHide parameters
currentobjectrequiredThe period being judged.previousobjectrequiredWhat to judge it against.groupBystringBucket size. Weeks start on Monday; months are calendar months, both in the caller's local time.streamIdsarrayRestrict the report to these streams. Omit for every stream.includeBreaksbooleanCount break minutes into each bucket's `breakMinutes`. Breaks never count as work either way.userIdWhose ledger to report on. Manager and above only; "all" reports the whole organization. Defaults to the caller.
report.range6 paramsRecorded work between two instants, grouped by day, week or month. Every bucket splits human minutes from agent minutes and carries the agent's tokens and API cost, and each bucket is further split per stream. Breaks and still-running sessions never count as work. A member reports on their own ledger; manager and above may pass another member's userId, or "all".
Show parametersHide parameters
fromstringrequiredStart of the range (inclusive, by when a session opened) as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringrequiredEnd of the range (inclusive, by when a session opened) as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).groupBystringBucket size. Weeks start on Monday; months are calendar months, both in the caller's local time.streamIdsarrayRestrict the report to these streams. Omit for every stream.includeBreaksbooleanCount break minutes into each bucket's `breakMinutes`. Breaks never count as work either way.userIdWhose ledger to report on. Manager and above only; "all" reports the whole organization. Defaults to the caller.
report.search9 paramsCase-insensitive search across entry notes and the titles of the tasks entries point at, newest first, with the total number of matches and their total minutes. Filter by window, stream, task or a minimum session length. `%` and `_` in the query are matched literally.
Show parametersHide parameters
querystringrequiredText to look for in a note or a task title.fromstringOnly sessions that started at or after this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringOnly sessions that started at or before this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).streamIdintegerOnly sessions in this stream.taskIdintegerOnly sessions against this task.minMinutesintegerDrop sessions shorter than this.limitintegerMatches per page (default 25).offsetintegerHow many matches to skip (default 0).userIdWhose ledger to report on. Manager and above only; "all" reports the whole organization. Defaults to the caller.
slack.check_budgetsRun the agent-budget sweep immediately and post an alert for every stream whose agent spend has passed its budget. The same sweep runs on its own, throttled, as task events arrive; this bypasses the per-stream cooldown.
slack.disconnectRemove the workspace install: the sealed bot token is destroyed, notifications stop and slash commands from that workspace stop resolving. Members' link records are left alone, so a re-install picks up where it left off.
slack.link_codeA six-character one-time code, valid for ten minutes, that binds a Slack account to the calling PTD user. Run `/ptd link <code>` in Slack to spend it. Minting a new code invalidates the caller's previous one.
slack.set_channel1 paramChoose the channel completions, cascade shifts and agent-budget alerts are posted to. Invite the PTD bot to the channel first — Slack refuses to post into a channel the app is not in. Assignment notifications are DMs and do not use it.
Show parametersHide parameters
channelIdstringrequiredSlack conversation id, e.g. C0123456789 (Slack → channel → About → copy channel ID).
slack.statusWhether this server has a Slack app configured, whether this organization has connected a workspace, which channel notifications go to, and whether the caller's own Slack account is linked. Never returns the bot token.
slack.testPost "PTD connected" into the configured channel with the stored bot token, so the install, the token and the channel are all proven at once.
slack.unlinkForget every Slack identity bound to the calling PTD user. Their slash commands stop working until they link again.
KPI roll-up for the whole organization: task counts by status, counts by priority band (critical 75-100, high 50-74, medium 25-49, low 0-24), overdue work, app and stream inventory, human vs agent seats, agent minutes/tokens/dollars (all-time and last 7 days), and the 20 most recent task events made by agents.
stream.attach_app2 paramsAllow cards in this lane to be filed against the given app. Idempotent.
Show parametersHide parameters
streamIdintegerrequiredStream id, from stream.list.appIdintegerrequiredApp id, from app.list.
stream.create3 paramsOpen a new swim-lane. Optionally attach the apps whose work will be filed under it; a card may only point at an app its stream owns.
Show parametersHide parameters
namestringrequiredLane name.colorLane colour, e.g. #8a3324 or an hsl tripleappIdsarrayApps to attach immediately
stream.detach_app2 paramsStop filing this lane's cards against the app. Any card in the lane still pointing at it has its appId cleared.
Show parametersHide parameters
streamIdintegerrequiredStream id, from stream.list.appIdintegerrequiredApp id, from app.list.
stream.list1 paramEvery work stream (swim-lane) in the organization with its colour, position, attached apps, agent budget and card counts. Cards with no stream are reported separately as `unstreamed`.
Show parametersHide parameters
includeArchivedbooleanInclude archived streams (default true)
stream.move_tasks2 paramsMove all cards from one lane to another — this is also how you merge two lanes. Pass null on either side to mean 'the cards with no stream'. A card whose app is not attached to the target lane has its appId cleared and that is reported back.
Show parametersHide parameters
fromStreamIdrequiredSource lane, or null for unstreamed cardstoStreamIdrequiredTarget lane, or null to unfile the cards
stream.rename2 paramsRename a swim-lane. Writes one stream_renamed history row per card in the lane so a card's own history explains the new label.
Show parametersHide parameters
streamIdintegerrequiredStream id, from stream.list.namestringrequiredNew lane name.
stream.set_budget3 paramsThe monthly ceiling on agent spend in one stream, and what happens when it is reached. `alert` (the default) is the behaviour PTD has always had: the Overview bar turns red and the digest says so, but nothing stops. `enforce` makes it a wall — once month-to-date agent spend in that lane reaches the budget, `next_task` stops offering the lane's cards to agent credentials, a `budget.exhausted` webhook fires (once per stream per day), and `budget.check` answers `blocked: true`. Humans are never blocked. Spend counts the verified cost of a session where one exists and the agent's self-reported cost otherwise, so under-reporting cannot buy extra runway. Pass agentBudgetUsd: null to remove the ceiling; enforce mode with no ceiling enforces nothing.
Show parametersHide parameters
streamIdintegerrequiredStream id, from stream.list.agentBudgetUsdMonthly ceiling in USD, or null to remove it.budgetModestringalert = warn only (default). enforce = refuse agent work once spent.
stream.systemic1 paramStreams whose work crosses several apps at once — the cross-cutting concerns worth fixing at the platform level rather than app by app.
Show parametersHide parameters
minAppsintegerMinimum number of apps a stream must touch (default 2).
stream.totals2 paramsOrganization-wide time per stream, split human vs agent, with the agent tokens and dollars each stream consumed in the window. `overBudget` is true when the stream has an agentBudgetUsd and agent cost in the window has passed it.
Show parametersHide parameters
fromstringCount only sessions that started at or after this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringCount only sessions that started at or before this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
stream.update6 paramsChange a lane's colour, archive state, board position or monthly agent budget in USD.
Show parametersHide parameters
streamIdintegerrequiredStream id, from stream.list.colorLane colour, or null to clear it.archivedbooleanArchive hides the lane without deleting its cards.positionintegerLane order on the board, ascendingagentBudgetUsdSpend ceiling for agent work in this lanecustomerIdCustomer this lane is billed to (null to unbill)
task.attachment_delete1 paramDetach a file from its card. The uploader may always delete it; manager and above may delete anyone's. The stored bytes are removed once no other card in the organization references the same content.
Show parametersHide parameters
attachmentIdintegerrequiredAttachment id, from task.attachment_list
task.attachment_list1 paramFiles attached to one card: filename, MIME type, size in bytes, sha256, who uploaded it, and the URL to download it from (`/api/plan/attachments/:id`). Upload with `PUT /api/plan/tasks/:id/attachments?filename=…`.
Show parametersHide parameters
taskIdintegerrequiredTask id
task.comment_add2 paramsAdd a comment to any card in the organization. The body is markdown-lite — **bold**, _italic_, `code` and links — stored as written and sanitised when it is rendered. Writes one `updated` history row noted "commented" and fires a `task.commented` webhook.
Show parametersHide parameters
taskIdintegerrequiredTask idbodystringrequiredMarkdown-lite text. Bold, italic, inline code, autolinked URLs and [text](url) links are rendered; everything else shows as written
task.comment_delete1 paramRemove a comment. Its author may always delete it; manager and above may delete anyone's.
Show parametersHide parameters
commentIdintegerrequiredComment id, from task.comment_list
task.comment_list1 paramEvery comment on one card, oldest first, with each author's display name and whether they are an agent.
Show parametersHide parameters
taskIdintegerrequiredTask id
task.complete2 paramsStrike a card off the active board. A member may only complete a card assigned to themselves; manager and above may complete any card in the organization.
Show parametersHide parameters
taskIdintegerrequiredTask idnotestringWhy / what shipped — stored on the history row
task.create15 paramsDraft a new card. Without a startDate it goes to the backlog; with one it is scheduled as in-progress and its dependents cascade forward. priorityScore is derived from urgency×impact/effort.
Show parametersHide parameters
titlestringrequiredCard title.descriptionstringHTML from the card editor, or plain textstreamIdintegerSwim-lane the card belongs toappIdintegerProduct/app the work lands in — must be attached to streamId when both are givenexternalKeystringStable id from the source system; unique per organizationestimatedDurationintegerWorking length in days — the width of the Gantt barstartDatestringSet it and the card lands on the timeline as in-progress; omit it and the card stays in the backlogdueDateHard deadline pin, independent of the durationdependenciesarrayTask ids that must finish firstassignedTointegerOrg member (human or agent) who owns the cardurgencyintegerUrgency on a 0–10 scaleimpactintegerImpact on a 0–10 scaleeffortintegerEffort on a 0–10 scaletagsarrayLabels on the card.statusstringOverrides the startDate-derived default
task.custom_values1 paramThe `custom` bag for many cards at once, as `{ "<taskId>": { key: value } }`. What a table with custom-field columns needs — `task.get` per row would be one request per card. Omit taskIds for every card in the organization.
Show parametersHide parameters
taskIdsarrayCards to read (default: all cards in the organization)
task.delete1 paramRemove a card for good. Any card that depended on it has the reference stripped from its dependency list, so the graph stays consistent. Prefer task.complete for finished work — this is not reversible.
Show parametersHide parameters
taskIdintegerrequiredTask id
task.find_or_create3 paramsIdempotent entry point for integrations and agents: returns the card whose externalKey matches inside this organization, or creates it in the backlog. Call it twice with the same externalKey and you get the same card back.
Show parametersHide parameters
titlestringrequiredUsed only when the card has to be createdexternalKeystringrequiredStable id from the source system, e.g. JIRA-1234 or a GitHub issue URLstreamIdintegerStream to file a newly created card under
task.get1 paramA single card with its stream, app, assignee, expanded dependencies, the cards that depend on it, and whether it is currently blocked.
Show parametersHide parameters
taskIdintegerrequiredTask id
task.history2 paramsAppend-only audit log for one card: who changed what, when, and through which surface (web, mcp, slack, api, import). Most recent first.
Show parametersHide parameters
taskIdintegerrequiredTask idlimitintegerMax rows (default 50)
task.list5 paramsTasks in the organization, newest-priority first. Filter by status, stream, app or assignee. Completed cards are excluded unless includeCompleted is true.
Show parametersHide parameters
statusstringExact status filterstreamIdStream id, or null for cards with no streamappIdApp id, or null for cards with no appassignedToAssignee user id, or null for unassigned cardsincludeCompletedbooleanInclude completed cards (default false)
task.recur_list1 paramEvery recurrence in the organization with its rule, a human reading of it, when it next fires and when it last did. Soonest first.
Show parametersHide parameters
includeInactivebooleanInclude cleared recurrences (default false)
task.recur_set2 paramsTurn a card into a template that clones itself into a new backlog card on a schedule, or pass rule: null to stop it. Grammar: `daily`, `weekdays`, `weekly:mon,wed`, `monthly:15`, `every:3d`, `every:2w`, each optionally with `at:09:00`. Times are UTC. The clone copies title, description, stream, app, assignee, estimate, tags, priority inputs and custom values, and takes the external key `<templateKey>-<yyyymmdd>`.
Show parametersHide parameters
taskIdintegerrequiredTask idrulerequiredA rule such as `weekly:mon,wed at:09:00`, or null to clear the recurrence
task.schedule3 paramsPut a card on the timeline at a start date (optionally setting its duration), promote it out of the backlog, and cascade its dependents forward.
Show parametersHide parameters
taskIdintegerrequiredTask idstartDatestringrequiredISO 8601 date, e.g. 2026-03-01 or 2026-03-01T00:00:00ZestimatedDurationintegerDays — sets the bar width at the same time
task.set_assignee2 paramsGive a card to an org member — human or agent — or pass userId: null to unassign. The target must hold a membership in this organization; call org.members for valid ids.
Show parametersHide parameters
taskIdintegerrequiredTask iduserIdrequiredMember user id, or null to unassign
task.set_custom2 paramsWrite custom field values on one card, keyed by field key. Each value is validated against its field's kind (number, date, select, multiselect, checkbox, url, text); null clears one. A member may only write to a card assigned to them; manager and above may write to any card.
Show parametersHide parameters
taskIdintegerrequiredTask idvaluesobjectrequired`{ fieldKey: value }`. A select takes one of its options, a multiselect an array of them, a checkbox true/false, a date an ISO day; null clears the value
task.set_dependencies2 paramsReplace a card's dependency list. Every id must be a task in this organization, cycles are rejected, and dependents cascade forward afterwards.
Show parametersHide parameters
taskIdintegerrequiredTask iddependenciesarrayrequiredComplete replacement list — pass [] to clear
task.set_priority6 paramsRe-score a card. Passing manualScore pins priorityScore and flips prioritySource to 'manual'; otherwise the score is recomputed as urgency×impact/effort (clamped 0–100) with prioritySource 'formula'.
Show parametersHide parameters
taskIdintegerrequiredTask idurgencyintegerUrgency on a 0–10 scaleimpactintegerImpact on a 0–10 scaleeffortintegerEffort on a 0–10 scalemanualScoreOverride the formula; null drops an existing overridenotestringWhy this priority — stored on the card as priorityNote
task.suggest_priority3 paramsAsk the configured model for urgency, impact and effort on one card, with a short rationale and a confidence. The model sees the card (title, description, stream, app, dates, dependencies, assignee kind, status, tags, current score) and this organization's score distribution, so its numbers mean the same thing as the rest of the backlog. Read-only by default: it returns the proposal, the score PTD's formula derives from it, the delta against the current score and what the call cost. Pass apply:true to write it (prioritySource becomes 'ai', the rationale becomes the card's priorityNote, and one priority_changed event is recorded). A card whose score a human set by hand (prioritySource 'manual') is never written over unless you also pass overrideManual:true.
Show parametersHide parameters
taskIdintegerrequiredTask idapplybooleanWrite the suggestion onto the card (default false — just propose).overrideManualbooleanAllow apply to overwrite a score a human set by hand. Ignored without apply.
task.suggest_priority_batch5 paramsRe-score up to 25 open cards in one go, optionally narrowed to one stream or app, highest-scored first. Runs a few calls at a time rather than all at once, so a big batch does not trip the provider's rate limit. Cards a human scored by hand are skipped without spending a call unless overrideManual is set. Returns one row per card — proposal, derived score, delta, whether it was written — plus the total tokens and dollars the run cost. One card failing is a row in the report, not the end of the batch.
Show parametersHide parameters
streamIdintegerOnly cards in this stream.appIdintegerOnly cards filed against this app.limitintegerHow many cards to score, 1–25 (default 10).applybooleanWrite every suggestion (default false — dry run).overrideManualbooleanInclude cards scored by hand, and allow apply to overwrite them.
task.totals4 paramsTime booked against tasks, split by who did the work: human minutes on one side, agent minutes with their tokens and API cost on the other. Breaks and still-running entries are excluded. Always returns an array — a named taskId returns exactly one row, zeroed when nothing has been logged yet.
Show parametersHide parameters
taskIdintegerOne task. Returns a single-element array.streamIdintegerEvery task in this stream.fromstringCount only sessions that started at or after this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringCount only sessions that started at or before this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
task.unschedule1 paramTake a card off the timeline and back into the backlog. Its due date, if any, is kept — only the start date is cleared.
Show parametersHide parameters
taskIdintegerrequiredTask id
task.update17 paramsPatch any subset of a card's fields. Cascades every dependent forward when startDate, estimatedDuration, dueDate or dependencies change; rejects dependency cycles; keeps a manual/ai priority score unless you go through task.set_priority.
Show parametersHide parameters
taskIdintegerrequiredTask idtitlestringNew title.descriptionstring | nullReplacement body, HTML or plain text, or null to clear it.statusstringWorkflow status.streamIdnull detaches the card from its streamappIdMust be attached to the card's stream; null clears itexternalKeyStable id from the source system, or null to clear it.estimatedDurationWorking length in days, or null to clear it.startDatenull unschedules the card back to the backlogdueDateISO 8601 date, e.g. 2026-03-01 or 2026-03-01T00:00:00ZdependenciesarrayReplaces the list; cycles are rejectedassignedToMember who owns the card, or null to unassign.urgencyintegerUrgency on a 0–10 scaleimpactintegerImpact on a 0–10 scaleeffortintegerEffort on a 0–10 scaletagsarrayReplacement list of labels.completedbooleantrue marks the card complete.
tasks_by_assigneeRoster view: every member of the organization — humans and agents alike — with the cards they currently own, plus the unassigned pile.
tasks.query14 paramsFilter, sort and page the backlog server-side. Returns { items, total } so a caller can page without re-counting. Completed and wontfix tasks are hidden unless includeCompleted is true or an explicit status list asks for them. For streamId, appId and assignedTo, omitting the key means "no filter" while null (or the string "none") means "filed against nothing" — the same convention the Plan surface's task.list uses.
Show parametersHide parameters
searchstringCase-insensitive substring of the title or description.streamIdStream id, or null / "none" for tasks filed against no stream.appIdApp id, or null / "none" for tasks filed against no app — which is where cards land when a stream is detached from an app.statusarrayExplicit status whitelist; overrides includeCompleted.assignedToUser id, "me" for the caller, or null / "none" for unassigned tasks.priorityMinintegerLowest priorityScore to include (0-100).priorityMaxintegerHighest priorityScore to include (0-100).effortMaxintegerOnly tasks costing at most this much effort (0-10).tagsarrayMatch tasks carrying ANY of these tags.includeCompletedbooleanInclude completed and wontfix tasks (default false).sortstringpriority (default), due, updated or title.orderstringSort direction; defaults to desc for priority/updated, asc for due/title.limitintegerPage size, max 200 (default 25).offsetintegerRows to skip (default 0).
teams.connect2 paramsStore the secret Teams showed when the Outgoing Webhook was created. That secret is the whole credential: it verifies every `Authorization: HMAC …` header AND identifies this organization, since an Outgoing Webhook delivery carries nothing else worth trusting. It is sealed at rest and never shown again.
Show parametersHide parameters
secretstringrequiredThe base64 secret Teams displayed once, when the Outgoing Webhook was createdteamNamestringWhich Teams team this is, for the Org UI
teams.disconnectDestroy the stored secret: `@PTD …` commands from that team stop being recognised. Members keep their link records, so re-connecting a new Outgoing Webhook picks up where it left off. Delete the webhook in Teams too, or it will keep posting to a URL that now refuses it.
teams.link_codeA six-character one-time code, valid for ten minutes, that binds a Teams account to the calling PTD user. Send `@PTD link <code>` in the team to spend it. Minting a new code invalidates the caller's previous one.
teams.statusWhether this organization has connected a Teams Outgoing Webhook, which team it is, and whether the caller's own Teams account is linked. Never returns the webhook secret — it is sealed with AES-256-GCM at rest.
teams.unlinkForget every Teams identity bound to the calling PTD user. Their commands stop working until they link again.
telegram.disconnect1 paramTurn the bot off for this organization: link codes stop being minted and DMs stop. Members keep their link records, and the bot itself keeps serving any other organization on this server — so the webhook is left registered unless `deleteWebhook` is asked for explicitly.
Show parametersHide parameters
deleteWebhookbooleanAlso unregister the webhook with Telegram. This affects EVERY organization on this server.
telegram.link_codeA six-character one-time code, valid for ten minutes, that binds a Telegram account to the calling PTD user. Send `/link <code>` to the bot to spend it. Minting a new code invalidates the caller's previous one.
telegram.register_webhookPoint the bot at this deployment with `setWebhook`, and switch Telegram on for this organization. The URL carries a secret derived from PTD_SECRET_KEY and the bot token, so it is unguessable and rotates with either of them. One bot serves every organization on this server: registering it again from another organization is harmless and simply re-points the same bot here.
telegram.statusWhether this server has a bot token, whether this organization has switched the bot on, the bot's @username, and whether the caller's own Telegram account is linked. Never returns the bot token or the webhook secret.
telegram.unlinkForget every Telegram identity bound to the calling PTD user. Their commands stop working until they link again.
telegram.webhook_infoWhat Telegram itself thinks the webhook is: the URL it delivers to, how many updates are queued, and the last delivery error it saw. The fastest way to tell a wrong PTD_BASE_URL from a firewall.
telemetry.pingPost the four-field payload once, immediately, instead of waiting for the weekly timer. Refused with `telemetry-disabled` while the toggle is off — there is no path in PTD that pings without an explicit opt-in. Returns the exact payload that was sent and the receiver's status code; a network failure is reported, not thrown.
telemetry.set3 paramsTurn the weekly install ping and the update check on or off, independently. The ping posts four fields to the shared receiver, which hashes (client IP, installation id) under a weekly-rotating salt and keeps only the hash; the update check is a bare GET against the public releases feed and sends nothing at all. Either call also records that the question has been answered, which retires the first-run prompt. `PTD_TELEMETRY=0` or `=1` in the environment outranks the stored ping toggle.
Show parametersHide parameters
telemetryEnabledbooleantrue = post the weekly ping. Off by default.updateChecksEnabledbooleantrue = GET the public releases feed. Off by default. Sends no payload.dismissedbooleanAnswer the question without changing either toggle — what dismissing the first-run prompt does.
telemetry.statusWhether this installation submits the weekly anonymous install ping and whether it checks for updates — both off unless someone turned them on — together with the exact four-field JSON that would be sent, the six ready-to-paste offline submission formats for an egress-restricted host, and the receiver's retention policy. Reading this sends nothing.
template.create6 paramsSave a recurring entry — a stream, a customer, a note and an icon — so it can be started with one tap.
Show parametersHide parameters
namestringrequiredWhat it is called on the tile.iconstringIcon slug (coffee, lunch, gym, commute, walk, call, read, rest, game, errand, outside, smoke, travel, think, partner, kids, other).notesstringNote copied onto every entry started from this template.streamIdintegerStream the template attaches to.customerIdintegerCustomer the template attaches to. Defaults to the stream's customer.isBreakbooleanMakes it a break tile rather than a work stencil.
template.delete1 paramRemove one of the caller's own templates. Entries already started from it are untouched.
Show parametersHide parameters
templateIdintegerrequiredThe template to remove.
template.listThe caller's own saved entry templates — one-tap starts for recurring work and the break tiles.
time_entry.approve4 paramsSign off entries so they can be invoiced. Name the entries, or a member and a window to approve the lot. Who approved and when are written from your credential, not from the request. Entries already frozen into an invoice are refused rather than silently skipped, because approving them would change nothing.
Show parametersHide parameters
entryIdsarrayThe entries to act on. Use this or userId + from + to.userIdintegerAct on this member's entries in the window instead of naming ids.fromstringStart of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringEnd of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
time_entry.attest5 paramsRecord what a finished agent session *actually* consumed, as measured by something other than the agent's own arithmetic. Writes verifiedTokens / verifiedCostUsd / verifiedSource / verifiedAt; the agent's self-reported tokensUsed and apiCostUsd are left untouched, so `usage.summary` can put the claim and the evidence side by side. `source` says who measured it: `claude_code_hook` (the Stop hook summed the session transcript), `ci` (a build reported the runner's usage), `provider` (reconciled against the provider's billing). `costUsd` is optional — omit it and, when `evidence` names a `model`, PTD prices the tokens itself from its own table (cache reads at 0.1× and cache writes at 1.25× the input rate); with neither, the tokens are verified and the cost is left unset rather than stored as zero. Members may attest their own entries, manager and above anyone's. Only agent-sourced, already-closed entries can be attested, and re-attesting replaces the previous figure (so a hook that fires twice is harmless) while the task history keeps both.
Show parametersHide parameters
entryIdintegerrequiredThe finished agent entry to attest — the `entry.id` time_entry.stop returned.tokensintegerrequiredTotal tokens the session consumed, counting input, output and cache traffic.costUsdnumberUSD cost, if the attester knows it. Omitted, PTD derives it from evidence.model.sourcestringrequiredWho measured this: claude_code_hook, ci or provider.evidenceobjectFree-form proof. Keys PTD reads: `model` (to price the tokens), `inputTokens`/`outputTokens`/`cacheReadTokens`/`cacheCreationTokens` (or their snake_case spelli
time_entry.currentThe caller's open entry with the minutes elapsed so far, or null when the clock is at rest.
time_entry.delete1 paramRemove an entry from the ledger for good. Own entries for a member; any entry in the organization for manager and above. An entry frozen into a certified invoice cannot be struck — void the invoice first, which releases it.
Show parametersHide parameters
entryIdintegerrequiredThe entry to strike.
time_entry.list6 paramsLedger lines, newest first, with the stream / task / customer they point at and their source. A member sees their own; manager and above may pass another member's userId, or the string "all" for the whole organization.
Show parametersHide parameters
fromstringOnly entries that started at or after this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringOnly entries that started at or before this instant as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).taskIdintegerOnly entries attributed to this taskstreamIdintegerOnly entries attributed to this streamuserIdWhose entries to read. Manager and above only; "all" reads every member's.limitintegerMaximum lines to return (default 200).
time_entry.log_past9 paramsInsert an already-finished entry with explicit checkIn and checkOut — how an agent records work it did before it got round to reporting. checkOut must be after checkIn and the span at most 24 hours. Tokens and cost are stored only if the calling credential is an agent's.
Show parametersHide parameters
checkInstringrequiredWhen the session started as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).checkOutstringrequiredWhen the session ended as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).taskIdintegerTask to attribute the work to. Its stream (and that stream's customer) are adopted when you do not name them.streamIdintegerStream (swim-lane) to attribute the work to.customerIdintegerCustomer to bill the work to. Defaults to the stream's customer.notesstringFree-text note shown on the ledger line.tokensUsedintegerModel tokens this session consumed. Stored only when the entry's source is 'agent' — ignored, and reported back in `ignored`, for human sessions.apiCostUsdnumberAPI cost of this session in USD. Stored only when the entry's source is 'agent'.isBreakbooleanRecord it as a break rather than work.
time_entry.pending2 paramsEvery entry in the organization waiting for a manager's signature, oldest first, with who logged it and how long it ran. A member sees only their own. This is the queue behind the approval chips on the ledger.
Show parametersHide parameters
userIdintegerOnly this member's pending entries.limitintegerMaximum rows (default 200).
time_entry.reject2 paramsSend entries back with a reason: they become `rejected` and stop counting towards an invoice until the member corrects and resubmits them. The reason is recorded in the organization's audit trail rather than overwriting the member's own note on the line.
Show parametersHide parameters
entryIdsarrayrequiredThe entries to send back.reasonstringrequiredWhy they are being rejected. The member sees it in the audit trail.
time_entry.start5 paramsOpen a time entry now, attributed to the caller. Refuses to open a second session while one is running — stop it first, or pass isBreak:true, which cuts the running session and opens the break in its place. Whether the entry reads as human or agent work is decided by the credential you called with, not by any argument.
Show parametersHide parameters
taskIdintegerTask to attribute the work to. Its stream (and that stream's customer) are adopted when you do not name them.streamIdintegerStream (swim-lane) to attribute the work to.customerIdintegerCustomer to bill the work to. Defaults to the stream's customer.notesstringFree-text note shown on the ledger line.isBreakbooleanLog a break (recess) instead of work. A break also cuts any running work session.
time_entry.stop3 paramsClose the caller's open entry. An agent may report the tokens and API cost the session consumed; on a human session those two fields are dropped and named in `ignored`, because cost and tokens only mean something for agent work.
Show parametersHide parameters
tokensUsedintegerModel tokens this session consumed. Stored only when the entry's source is 'agent' — ignored, and reported back in `ignored`, for human sessions.apiCostUsdnumberAPI cost of this session in USD. Stored only when the entry's source is 'agent'.notesstringReplaces the entry's note, e.g. what the session actually achieved.
time_entry.submit2 paramsHand a window of your own finished entries to a manager for approval: every closed, non-break entry of yours in the range that is not already approved or invoiced moves to `pending`. This is what an external contractor does at the end of a month; entries that are already approved are left alone, and rejected ones go back to pending so a corrected line can be looked at again.
Show parametersHide parameters
fromstringrequiredStart of the window to submit as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringrequiredEnd of the window to submit as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
time_entry.switch_break2 paramsClose whatever is running and open a break in one step — the behaviour of a break tile in the UI. Name a saved break template with templateId, or pass a free-text label.
Show parametersHide parameters
templateIdintegerOne of your own entry templates; its note and attachments are copied onto the break.labelstringFree-text note for the break when you have no template. Required when you pass no templateId.
time_entry.update7 paramsFix the times, attachments or note of an entry. Members may correct their own lines; manager and above may correct anyone's in the organization. Attribution is deliberately not editable: entry_source, agentLabel, tokensUsed and apiCostUsd cannot be changed after the fact, so the human-vs-agent record cannot be rewritten. An entry already frozen into a certified invoice is refused outright — void the invoice first.
Show parametersHide parameters
entryIdintegerrequiredThe entry to correct.checkInstringNew start as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).checkOutstringNew end (pass to close a running entry retroactively) as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).taskIdintegerTask to attribute the work to. Its stream (and that stream's customer) are adopted when you do not name them.streamIdintegerStream (swim-lane) to attribute the work to.customerIdintegerCustomer to bill the work to. Defaults to the stream's customer.notesstringFree-text note shown on the ledger line.
today_summaryThe caller's day so far: worked minutes by stream and by source, break minutes, and whatever is still running.
upcoming_due1 paramOpen cards whose due date — or computed end (startDate + duration) — falls within the next N days. Defaults to a week. Overdue cards are included and flagged.
Show parametersHide parameters
daysintegerHorizon in days (default 7)
usage.connect_provider3 paramsStore an organization-level admin key so PTD can read the provider's own usage and cost reports and compare them with the ledger. Anthropic wants an Admin API key (`sk-ant-admin…`, Console → Settings → Admin keys); OpenAI wants an admin key with the usage scope. The key is sealed with AES-256-GCM (PTD_SECRET_KEY) and is never returned by any action — `keyHint` is its last four characters. Admin only, and deliberately so: reconciliation is only evidence because the agents being measured cannot reach the credential doing the measuring. `baseUrl` exists for a proxy or a local stub; leave it unset for the real provider.
Show parametersHide parameters
providerstringrequiredWhich provider's billing to read: anthropic or openai.adminApiKeystringrequiredThe admin key. Stored sealed; never echoed back.baseUrlstringOverride the provider host (proxy or test stub). Default api.anthropic.com / api.openai.com.
usage.disconnect_provider1 paramForget the stored admin key for one provider. Past reconciliations are kept — they are evidence — but no new one can be run until a key is connected again.
Show parametersHide parameters
providerstringrequiredWhich provider's billing to read: anthropic or openai.
usage.price6 paramsWhat PTD thinks a set of token counts costs, using the same table `time_entry.attest` prices an attestation with. Exists so a hook or a CI job can report a dollar figure on `time_entry.stop` that matches the one the server will derive on attestation, instead of shipping a second price table inside a shell script. Read-only, no database. An unknown model comes back `priced: false` with a zero cost — never a guess.
Show parametersHide parameters
modelstringrequiredModel id, e.g. claude-opus-5 or gpt-4o-mini.inputTokensintegerUncached input tokens.outputTokensintegerOutput tokens.cacheReadTokensintegerTokens read from cache.cacheCreationTokensintegerTokens written to cache.cacheTtlstringTTL of the cache writes: 5m costs 1.25× input, 1h costs 2×. Default 5m.
usage.providersBoth providers with whether a key is connected, its last four characters, who connected it and when. Never the key itself.
usage.reconcile3 paramsFetch the provider's own usage and cost report for a period and compare it with what the agents booked into the ledger. Stores and returns one `usage_reconciliations` row: `status` is `match` (inside tolerance — 5% of the provider's figure or 10,000 tokens, whichever is larger), `under_reported` (the provider billed for more than the ledger accounts for), `over_reported` (the ledger claims more than the provider billed) or `unavailable` (the provider could not be read). `detail` carries the gap, the tolerance applied, the attestation coverage, the per-model provider breakdown, the per-agent split and a note on how to read the status — the two totals are not commensurable to the token (a provider bill includes keys PTD never sees), so the verdict is a signal to look, not an accusation. Admin only.
Show parametersHide parameters
providerstringrequiredWhich provider's billing to read: anthropic or openai.fromstringrequiredStart of the period as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringrequiredEnd of the period as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
usage.reconciliations2 paramsPast reconciliations, newest first: period, provider, both token totals, both cost totals, the verdict and its detail. Manager and above — it is a read of evidence, not a credential.
Show parametersHide parameters
providerstringWhich provider's billing to read: anthropic or openai.limitintegerRows to return (default 20).
usage.summary2 paramsWhether this organization's agent-cost figures can be trusted, as arithmetic. For a window (default the last 30 days) it returns: `totals` and `byAgent` / `byStream` rows each carrying `reported` (what the agents said), `verified` (what a hook, a build or the provider proved), `delta` (verified − reported, so a positive number means under-reporting), `unverified` (self-reported spend nobody has attested) and `coveragePct` (attested sessions as a share of agent sessions); `discrepancies`, one line per session whose gap exceeds tolerance (5% of the verified figure, or 1000 tokens, whichever is larger), each with a direction; and `narrative`, one computed sentence. Breaks and still-running sessions are excluded — neither has a final usage figure. Manager and above, because it puts every seat's spend on one page.
Show parametersHide parameters
fromstringStart of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).tostringEnd of the window as an ISO-8601 datetime (or YYYY-MM-DD for midnight local).
webhook.create3 paramsSubscribe a URL to task events. Each delivery is a JSON body {event, orgId, taskId, actor, payload, ts} with an `X-PTD-Signature: sha256=<hex HMAC-SHA256 of the raw body>` header. A secret is generated when you omit one and shown exactly once.
Show parametersHide parameters
urlstringrequiredAbsolute http(s) endpoint to POST to.secretstringHMAC key. Generated when omitted; returned once either way.eventsarrayEvent kinds to receive, or ["*"] for all (the default). Task kinds carry a taskId and a {old,new} diff: task.created, task.updated, task.completed, task.assigne
webhook.delete1 paramRemove a webhook subscription. Deliveries stop immediately.
Show parametersHide parameters
idintegerrequiredWebhook id, from webhook.list.
webhook.listOutgoing webhook subscriptions for this organization. Secrets are never returned — only whether one is set.
webhook.test1 paramDeliver a signed `ping` envelope through the real delivery path and report the HTTP status, so you can confirm the endpoint and the signature before relying on it.
Show parametersHide parameters
idintegerrequiredWebhook id, from webhook.list.
Identity, organization and role of the caller, plus whether it authenticated as a human or an agent.
Checked by Serverdex with a plain initialize + tools/list call to ptd.foor.tech/mcp, no credentials, about once a day. A failed check is never a removal.
What this server can touch
Across the fleet →Deletes data · High trust
Can remove, drop or purge records, files or resources — destructive and often irreversible.
task.attachment_deletetask.comment_delete
Review carefully before installing. Classified from the 161 tool names read by our live check — a signal of intent, not a code audit. The tools themselves decide what runs.
On GitHub
read Nov 30, 2026TypeScriptagentsmcpmodel-context-protocolproductivityproject-managementself-hostedtime-tracking
From the README
PTD — Plan Track Done Plan the work in one view, log the work in the other — same task, same source of truth, whether a human or an agent did it. PTD is an open-source work tracker for hybrid human + AI-agent teams. One organization, one shared Task, four surfaces: Every time entry records whether a human or an agent did the work, and agent entries can carry tokens used and API cost — so a PM finally sees what the agents they delegate to actually spend, per task, next to the human hours. Self-host (free, forever) Ships with HeliosDB-Nano as the database, built and configured by docker-compose.yml. The app speaks the Postgres wire protocol and the migrations are plain SQL, so pointing DATABASE_URL at your own Postgres works too — see docs/self-hosting.md. Migrations run automatically on container start. Hosted version: — flat $15/month per organization. Security defaults • App ↔ database: TLS with the X25519MLKEM768 post-quantum hybrid key exchange (HeliosDB-Nano ≥ 4.40 offers it; Node 24's OpenSSL 3.5 negotiates it), server certificate pinned through the shared /tls volume, SCRAM-SHA-256 authentication, database HTTP/MCP listener disabled, database unreachable outside the compose network. • At rest: set DBENCRYPTIONKEY before the first start for AES-256-GCM row encryption in the database; third-party integration secrets are sealed with AES-256-GCM under PTDSECRETKEY.…
Read the full README on GitHub →Remotes
- streamable-http
https://ptd.foor.tech/mcp
Alternatives to PTD — Plan Track Done
All PTD — Plan Track Done alternatives →Best Productivity servers →Compare side by side →The most-starred Productivity servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Front-End Checklist | 74,929 | Oct 2026 | Working |
| Windmill | 18,981 | Dec 2026 | Needs sign-in |
| Agent-Native Plan | 7,803 | Nov 2026 | Needs sign-in |
| Agent-Native Content | 7,803 | Nov 2026 | Needs sign-in |
| Agent-Native Calendar | 7,803 | Nov 2026 | Needs sign-in |
PTD — Plan Track Done: questions people ask
- Is PTD — Plan Track Done a remote or a local MCP server?
- According to its entry in the official MCP registry, PTD — Plan Track Done ships as a hosted endpoint (streamable-http) that your client connects to by URL.
- Does PTD — Plan Track Done need an API key?
- Yes, to call its tools. Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 5, 2026, but it declares a required credential (Authorization): the public handshake lists the tools, but calling one needs the key.
- Is PTD — Plan Track Done safe to use?
- Looks healthy: PTD — Plan Track Done is maintained, open source, hosted endpoint, API key required for tool calls. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: Hosted by the publisher; credentials: API key required for tool calls. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is PTD — Plan Track Done still maintained?
- Active: the repository's last commit 5 days ago. Last push Nov 29, 2026, 1 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 30, 2026.
- What tools does PTD — Plan Track Done expose?
- 161 tools as listed by the server itself during the live check, including account.security, ai.connect, ai.disconnect, ai.status, ai.usage. The full list with parameters is in the Live check section above.
- How do I add PTD — Plan Track Done to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Productivity servers
Browse all Productivity →Cut Review
Production-ready
Frame.io comments and client notes as Final Cut Pro to-do markers, then diff two FCPXML exports.
Datanotes
Production-ready
The engine of your second brain: Markdown notes as database tables, for you and your agents.
Calendar MCP
Well-maintained
Google Calendar for LLM agents: find, create, update, move, delete events; free/busy; scheduling.
Delentia Sovereign AI Operating System
Well-maintained
Advisory MCP tools: policy score, reasoning checklist, compression. To enforce, use delentia-guard.
QTM4J
Some gaps
MCP server for QMetry Test Management for Jira (QTM4J) Open API.
Laver MCP
Well-maintained
Kanban boards, sprints, tickets and a team wiki, with versioned writes for concurrent agents.
Add the badge to your site
Show visitors that PTD — Plan Track Done is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-danimoya-ptd?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="PTD — Plan Track Done — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-danimoya-ptd?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-danimoya-ptd) [](https://serverdex.io/install/vscode/io-github-danimoya-ptd) [](https://serverdex.io/install/claude-code/io-github-danimoya-ptd)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-danimoya-ptd"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-danimoya-ptd"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-danimoya-ptd"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).