Skip to content

1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Nov 12:56
· 34 commits to main since this release
8a1a68a

Tags of tasks and requirement assignments, stricter handling of what calmcp cannot honour
(configuration values, rest_filters keys), and hardening of the HTTP transport and the rich-text
check after a security review.

Added

  • calm_update takes a second resource, task_tags: add tags to and remove tags from a task of
    any type (project task, user story, defect, requirement, sub-task, risk), with
    changes: { add: [...], remove: [...] }. The task's other tags stay; a tag that does not exist
    yet is created. Needs CALM_UPDATE_ENABLED=true and the calm-api.tasks.write scope. See the
    README, "Tags of a task".
  • calm_create takes task_requirement_link: assign an existing project task or user story to
    a requirement of the same project. calmcp reads both first and refuses anything else, a second
    requirement for a task, and a repeat. The README, "Write access", also says how to create a task
    already assigned (the requirement as parentId).
  • Creating a task with a requirement as parentId answers with requirement: { linked: true }.
    Cloud ALM stores that link as a relation and leaves parentId null, so 1.0.0 reported
    parentId under storedDiffersFromSent although the link existed. calmcp now reads the new
    task's relations and says what they show: linked, not linked (with the call that links it), or
    unknown. A sub-task, whose parent Cloud ALM keeps in parentId, is reported as before.
  • calm_resources says how to read the tasks of a requirement and the requirement of a task
    (task_relations, types 0 and 10), with two new recipes.
  • expected_modified_at of calm_update is optional in the tool schema. feature still requires
    it and refuses a call without it; task_tags refuses a call with it.

Behaviour changes

  • calm_list refuses a rest_filters key that the endpoint does not take, naming the accepted
    keys and the right spelling of one that differs only in case. Cloud ALM ignores an unknown key
    and answers with the unfiltered list (objecttype=BusinessService on landscape_objects
    returned every object), so a misspelled filter looked applied. calm_resources lists the
    accepted keys of each resource as restFilters.
  • Configuration is checked at startup. A malformed or out-of-range number (CALM_TIMEOUT_SECONDS=0,
    CALM_MAX_RESPONSE_BYTES=100kb, PORT=99999), a switch that is neither true nor false
    (CALM_WRITE_ENABLED=ture) and an unknown CALM_TRANSPORT now stop calmcp with a message naming
    the variable. Before, a number fell back to its default, a switch read as false and an unknown
    transport started stdio. CALM_TRANSPORT and CALM_HTTP_ALLOW_UNAUTHENTICATED now accept the same
    spellings as the other switches (HTTP, 1, yes). A deployment with such a value stops
    starting after the upgrade; that is intended.
  • With XSUAA bound and no CALM_DCR_SIGNING_SECRET, calmcp logs a warning that client
    registrations are lost when the XSUAA client secret rotates.

Security

  • Rich text is checked in linear time. One calm_create or calm_update call with a < or =
    followed by a long run of spaces took minutes and stalled the server for every caller. The
    summary of an upstream error body is bounded the same way.
  • HTTP transport: the rate limit and the bearer check now come before a request body is parsed, a
    request whose body fails to parse counts towards the rate limit, and a compressed request body
    is refused with 415 instead of being inflated. A caller without a valid token gets 401 where a
    malformed body used to give 400.

Fixes

  • Tenants in eu10-004 can sign in with tenant and region. calmcp requested the token from
    authentication.eu10-004.hana.ondemand.com, which does not exist; it now uses the region without
    its data-centre suffix (authentication.eu10). CALM_AUTH_REGION overrides the token host region.
  • BTP destination: after Cloud ALM refused a token (401), for example after the client secret was
    rotated, calmcp kept getting the refused token from the Cloud SDK's destination cache, which does
    not store an uncached lookup. Every later request was refused once before its retry, and of
    several requests refused at the same time only one was sure to retry with a fresh token. calmcp
    now remembers the refused token, fetches the destination afresh once for all waiting requests,
    and uses the fresh token until it expires.
  • A browser-based MCP client (listed in CALM_CORS_ORIGINS) can call the server after
    initialize: CORS now allows the mcp-protocol-version header.

Install in Claude Desktop with calmcp-1.1.0.mcpb below. The full history is in CHANGELOG.md.