Skip to main content

orkestrr-mcp

An MCP server that lets an AI agent (e.g. Claude Code) create, reuse, and manage the Orkestrr project-management hierarchy — Bundles, Goals, and Tasks — through the existing Orkestrr REST API.

It is a standalone process that talks to Orkestrr over HTTP, so once registered at user scope it works from any project/repo you open, against local or production Orkestrr.

What it exposes

Hierarchy tools (read + write):

Area Tools
Projects list_projects, get_project, list_project_members
Bundles list_bundles, get_bundle, create_bundle, update_bundle (incl. status, kind & archive), publish_bundle_summary
Goals list_goals, get_goal, create_goal, update_goal (incl. status)
Tasks list_tasks, get_task, create_task, update_task (incl. status & assignment)

Task details:

Area Tools
Status set_task_status
Estimation list_estimation_values, set_task_estimation
Labels list_labels, create_label, add_task_labels, remove_task_labels

A bundle's kind says whether its work can ever be finished: project (the default, and the only kind counted towards a project's completion), continuous (perpetual planned work — infrastructure, platform) and operational (perpetual reactive work — bugs, incidents, support). list_bundles takes a comma-separated kind to fetch everything perpetual at once.

The list tools return compact summaries so an agent can search and chain cheaply. Every summary carries the plan (start_date, end_date, days_overdue). The get_* tools return the body:

  • get_project: description, planned and actual dates, per-status counts.
  • get_bundle: description (the spec), planned and actual dates, owner, spec sign-offs, every live goal with its dates, and the latest published summary.
  • get_goal: description, planned and actual dates, owner, acceptance criteria.
  • get_task: description, dates, people, acceptance criteria, action items, comments, dependencies and linked PRs.

Read the item before working it: its description is where the agreed spec lives.

publish_bundle_summary publishes a bundle's executive summary, the report shown on the bundle and on the project's Status view. The server stamps the period, author and time; the tool sends the writer's local date so an evening report in the Americas is not dated a day ahead of the UTC server.

Status changes propagate up the hierarchy automatically (Task → Goal → Bundle → Project), handled by the Orkestrr backend. add_task_labels reads the task's current labels and sends the union (the API replaces the label set on update), so existing labels are preserved.

Backend quirks worked around (candidates for a future backend fix)

  • POST /labels/ does not return the new label's id — create_label resolves it by re-querying labels by name.
  • A task's estimation_label is null in list/update payloads (only the nested estimation object on the detail payload carries the label) — set_task_estimation re-fetches the detail so it can confirm the value.

Authentication

You sign in once, interactively, in the browser with your EVOHEIM SSO (Authentik):

okr login     # opens the browser (OAuth device flow); approve the code
okr status    # shows who you're logged in as + token validity
okr logout    # clears the stored session

Several accounts at once (profiles)

One profile = one stored session, so a second Orkestrr account costs no logout/login round trip:

okr --profile moxie login     # signs in and stores the session separately
okr --profile moxie status
okr status                    # the default profile, still signed in

The flag just sets ORKESTRR_PROFILE, which is also what the MCP registration reads — give each registered server its own profile and both accounts work in parallel:

claude mcp add --scope user orkestrr-moxie \
  --env ORKESTRR_BASE_URL=https://api.orkestrr.com \
  --env ORKESTRR_PROFILE=moxie \
  -- okr mcp

A profile's session lives in ~/.config/orkestrr-mcp/<profile>/tokens.json.

Switching organization within one account

When a single account belongs to several organizations, the org is a property of the account, not of the session — switch it instead of signing in again:

okr org list              # '*' marks the selected one
okr org use "Moxie Health"   # name or id

The selection is account-wide: the web app follows it too.

okr login uses the OAuth 2.0 Device Authorization Flow against the public orkestrr-cli Authentik provider. The issued JWT carries your real identity, so tasks and status changes stay attributed to you. Tokens are stored in ~/.config/orkestrr-mcp/tokens.json (mode 0600) and auto-refresh — the MCP server never needs an interactive prompt. No secrets go into the MCP registration.

The browser is sent to whichever approval URL the identity provider names in its device-code response, so the flow follows the server rather than a URL built here.

If a tool ever fails with "Not logged in" or "Session expired", just run okr login again. Upgrading from 0.3.0 may ask for one such re-login: the CLI now talks to auth.orkestrr.com instead of auth.evoheim.com.

Configuration

Variable Example Notes
ORKESTRR_BASE_URL (none — required) API root. https://api.orkestrr.com in production, http://localhost:9000 for local. /api is appended when absent.
ORKESTRR_MCP_HOME ~/.config/orkestrr-mcp Optional. Override the directory where the session is stored.
ORKESTRR_PROFILE moxie Optional. Keep a separate session per account, under <home>/<profile>/. Same as okr --profile.
ORKESTRR_AUTH_URL https://auth.orkestrr.com Optional. The Authentik that issues and approves the CLI's tokens.

Install

From PyPI (recommended — no repo checkout needed):

uv tool install orkestrr-mcp        # or: pipx install orkestrr-mcp
# installs the `okr` command on your PATH; upgrade with `uv tool upgrade orkestrr-mcp`

From source (for development on the server itself):

git clone git@github.com:cafadev/orkestrr.git
uv tool install --editable ./orkestrr/orkestrr-mcp

Register with Claude Code (user scope = available in every project)

No credentials in the registration — the server command is okr mcp, and it uses your okr login session.

# Local Orkestrr
claude mcp add --scope user orkestrr-local \
  --env ORKESTRR_BASE_URL=http://localhost:9000 \
  -- okr mcp

# Production Orkestrr
claude mcp add --scope user orkestrr \
  --env ORKESTRR_BASE_URL=https://api.orkestrr.com \
  -- okr mcp

ORKESTRR_BASE_URL is the API root; /api is appended when the URL does not already end in it, so the production host resolves to https://api.orkestrr.com/api.

Then run okr login once (it works for both environments — same Authentik). Restart Claude Code and run /mcp to confirm the tools are listed.

Develop

uv sync          # install deps + this package (editable)
uv run pytest    # run the test suite

Publishing to PyPI (maintainers)

Publishing is automated by GitHub Actions (.github/workflows/orkestrr-mcp-publish.yml) using PyPI Trusted Publishing (OIDC) — no API token is stored anywhere.

One-time setup on PyPI (do this before the first release): on https://pypi.org/manage/account/publishing/ add a pending trusted publisher:

Field Value
PyPI Project Name orkestrr-mcp
Owner cafadev
Repository name orkestrr
Workflow name orkestrr-mcp-publish.yml
Environment (leave blank)

Each release:

  1. Bump version in pyproject.toml (PyPI never lets you re-upload the same version) and merge it.
  2. Create a GitHub Release whose tag starts with orkestrr-mcp-v (e.g. orkestrr-mcp-v0.1.0). The tag prefix is what triggers the workflow (and keeps it monorepo-safe).

The workflow builds the sdist + wheel and publishes them. Teammates then uv tool install orkestrr-mcp.

Manual fallback (if Actions is unavailable) — needs an API token from Account settings → API tokens:

rm -rf dist && uv build
uvx twine check dist/*
UV_PUBLISH_TOKEN=pypi-XXXX uv publish

Out of scope (for now)

Acceptance criteria, action items, comments, blockers, and estimation-scale configuration (creating/editing the scale itself — only assigning existing values is supported). A dedicated API-key / OAuth2 machine-to-machine auth layer is also deferred — token auth covers current needs.

Metadata

Release files for orkestrr-mcp 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orkestrr-mcp 0.6.0
File Size Uploaded Provenance Actions
orkestrr_mcp-0.6.0.tar.gz 90.0 kB With provenance Details for orkestrr_mcp-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orkestrr-mcp 0.6.0
File Interpreter ABI Platform Actions
orkestrr_mcp-0.6.0-py3-none-any.whl Python 3 none any Details for orkestrr_mcp-0.6.0-py3-none-any.whl

Total release size: 117.4 kB

Release files / orkestrr_mcp-0.6.0.tar.gz

Download URL orkestrr_mcp-0.6.0.tar.gz
Size 90.0 kB
Tags Source
SHA-256 checksum
How to use checksums
652f4cf59e50d498999a9a9388ee18092336d17c411c04775e919b5d0d83a31c
BLAKE2b-256 checksum
How to use checksums
ee6fa6324f498652a2103652237b345031a21b937075bf08b34f22341fa01fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / orkestrr_mcp-0.6.0-py3-none-any.whl

Download URL orkestrr_mcp-0.6.0-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c484b89ce281f9d63bdc6ee55afbb3893dd2699e0c9f452a5d08aedd6ba3fbc
BLAKE2b-256 checksum
How to use checksums
6850d9b5b325bc0aff6decb27b13041cc6ffdba78b612f230202932c354c0503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for orkestrr-mcp 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for orkestrr_mcp-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page