The MCP server.
One remote endpoint, https://trackinpublic.app/api/mcp, with eight tools on your account: three read, five write. Connect by URL with an OAuth sign-in, or send a personal key as a header from Claude Code, Claude Desktop, Cursor, Gemini CLI, the Grok CLI or the xAI API.
Connection
| URL | https://trackinpublic.app/api/mcp |
|---|---|
| Transport | Streamable HTTP, stateless, JSON responses (POST only) |
| Auth | OAuth 2.1 (PKCE S256, dynamic client registration, scopes read and write) or Authorization: Bearer tip_live_... from the dashboard. Pro plan |
| OAuth metadata | oauth-protected-resource, oauth-authorization-server |
| Discovery | server card, server.json, also resources/list and prompts/list (3 prompts, no resources) |
| Scope | The account that owns the key, nothing else |
The eight tools
| Tool | Access | Arguments | What it does |
|---|---|---|---|
get_me | read | none | Read-only. Returns the signed-in user's display name, handle, public page URL, timezone, plan and today's date in that timezone. |
list_habits | read | none | Read-only. Lists every habit with its id, name, visibility, current streak, best streak, total check-ins and whether it is already checked today. Call it first to get the exact habit names that check_in needs. |
get_today | read | none | Read-only. Returns today's list in the user's timezone: habits and one-off tasks with what is done, the streak of each habit, whether the user committed in public this morning, and the recap hour. |
create_habit | write | name string, isPublic? boolean | Write. Creates a new daily habit, public by default (that is the product: streaks kept in public). Names are unique per account, case-insensitive, 60 characters at most. Fails with a clear message when the plan's habit limit is reached. |
check_in | write | habit string, done? boolean | Write. Marks a habit done for TODAY in the user's timezone. Past days can never be written (no backfilling: that is the rule that keeps a public streak honest). Pass done:false to undo today's check-in. Safe to repeat. |
add_task | write | title string, isPublic? boolean | Write. Adds a one-off task to TODAY's list (20 a day at most; tasks only exist for the day they are added). Public by default: it shows on the day page and in the recap. |
complete_task | write | task string, done? boolean | Write. Marks one of today's tasks as done (done:false to undo). Pass the task id or its exact title; call get_today first to see them. Safe to repeat. |
commit_today | write, public | none | Write, visible to others. Commits to today's list in public: the day page goes live and, only if the user turned auto-posting on, @trackinpublic posts the list on their networks and tags them. The evening recap follows at the user's recap time. Call it only when the user asks to commit or publish. Safe to repeat. |
Arguments marked ? are optional. habit and task take an id or the exact name, case-insensitive.
Add it to a client
- Claude Code and Claude Desktop
- Grok CLI and the xAI API
- ChatGPT goes through the REST API instead: custom GPT guide
Call it by hand
Useful to check a key, or from a script that speaks JSON-RPC:
curl -X POST https://trackinpublic.app/api/mcp \
-H "Authorization: Bearer $TIP_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_today","arguments":{}}}'Questions
Which transport does it use?
Streamable HTTP, stateless: every request is a JSON-RPC POST and gets a JSON answer. There is no SSE stream and no session to keep. Protocol versions 2024-11-05, 2025-03-26 and 2025-06-18 are accepted.
How does it authenticate?
Two ways, both as Authorization: Bearer. OAuth 2.1: clients discover the endpoints from /.well-known/oauth-protected-resource, register themselves (RFC 7591), send the user to a consent screen on trackinpublic.app with PKCE (S256) and get a one-hour access token plus a refresh token, scoped read and/or write. Or a personal key tip_live_... from the dashboard (all scopes), which also stays valid on the REST API.
Is it the same data as the app?
Yes. The tools call the same code as the app and the REST API, with the same rules: today only, public by default, and nothing outside your account.