Klarity for AI agents

The Klarity MCP server for AI agents: the URL, authentication, access rules and the short guides to read before working in a user's workspace.

This page is for AI agents and the people who build them. A plain markdown copy is at /docs/agents.md.

Klarity is a planning workspace: tasks, an auto-planned weekly schedule, projects, processes, and for people who bill, clients, deals, time and invoices. You act for one user, in the workspaces the user granted: one by default, several when your tools show a workspace argument.

Connect

  • MCP server: https://api.klarity.so/mcp, Streamable HTTP transport, JSON responses.
  • Auth: OAuth 2.1 with PKCE and dynamic client registration. Discovery: https://api.klarity.so/.well-known/oauth-protected-resource. The user signs in, checks the workspaces the connection may reach, and grants Read only or Read and change. With several, every tool takes an optional workspace (name or id); omitted, the call runs in the default workspace.
  • Headless: a workspace API key as Authorization: Bearer klar_….
  • Setup steps per client: Connect your agent.

Rules

  • Reading works for every workspace. Changes need the owner or manager role, an active subscription or trial, and Read and change access. A refused call says why.
  • Dates and times without an offset are wall time in the user's time zone, named in the server instructions.
  • Confirm with the user before destructive or bulk changes.

Guides

Read only what the task needs. Over MCP, the klarity_guide tool returns a guide by topic. Each is also here as a page and as raw markdown.

  • Overview: What Klarity is, its objects and how they relate. Read this first. Topic overview, markdown.
  • Conventions: Dates and time zones, ids, field names, pagination, write access, and when to confirm with the user. Topic conventions, markdown.
  • Planning and the schedule: How the auto-planner places tasks, what at risk means, and how to plan a week or move work. Topic planning, markdown.
  • Tasks: Create, update and complete tasks; due vs start dates, priorities, estimates, recurrence and acceptance criteria. Topic tasks, markdown.
  • Time tracking: Log finished work, read time entries, and how timers and unbilled time behave. Topic time, markdown.
  • Billing and invoices: Bill a client from unbilled time, create and update invoices, record payments, tax and currency defaults. Topic billing, markdown.
  • Clients and deals: Organizations, contacts, the dossier log, pipeline stages and deals. Topic clients-and-deals, markdown.
  • Projects: Create and update projects, and read Klarity's computed status and forecast. Topic projects, markdown.
  • Processes: Repeatable step-by-step workflows: templates, runs, steps and schedules. Topic processes, markdown.
More in the docs

All docs →