Skip to main content
Glama

pounce 🦊

An MCP server for Targetprocess: lets AI assistants read and manage your cards through the Targetprocess REST API.

Version 1.0.1. See CHANGELOG.md.

Why pounce

  • Full coverage. If Targetprocess exposes an operation, pounce can perform it. Generic tools are driven by your instance's own API metadata, so custom entity types and future Targetprocess versions are covered automatically.

  • Tools that fit how teams work. Workflow tools accept names instead of ids ("move #36400 to Coded", "assign Foxxo as Developer") and apply the team's rules: effort is booked per role, default assignees are cleared on creation, and side effects on parent cards are reported.

  • Honest results. Every list is fully paged, every error carries Targetprocess's own message, and every write is read back to confirm it stuck.

  • Simple permissions. Tools are grouped by tier, so an MCP client needs one rule per tier.

Related MCP server: Tonle OpenProject MCP Server

Requirements

  • Node.js 22.12 or newer (npx comes with it)

  • A Targetprocess access token: in Targetprocess, open your profile → Access Tokens → create one

Nothing to download or build: your MCP client starts pounce with npx, which fetches @redfoxxo/pounce from npm on first use. @1 keeps you on 1.x releases.

Configuration

pounce reads its settings from environment variables, which your MCP client passes to it:

Variable

Required

Purpose

TP_BASE_URL

yes

Your instance, e.g. https://yourcompany.tpondemand.com (no /api/...)

TP_TOKEN

yes

Your access token. Never logged

TP_DEFAULT_PROJECT_ID

no

Project for new cards that have no parent to inherit one from

TP_DEFAULT_TEAM_ID

no

Team for new cards when none is given

Keep the token out of config files: export it in your shell profile (export TP_TOKEN=...) and let the client pass it through, as the examples below do.

opencode

Add the server and the four permission rules to opencode.json (global: ~/.config/opencode/opencode.json):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pounce": {
      "type": "local",
      "command": ["npx", "-y", "@redfoxxo/pounce@1"],
      "enabled": true,
      "environment": {
        "TP_BASE_URL": "https://yourcompany.tpondemand.com",
        "TP_TOKEN": "{env:TP_TOKEN}"
      }
    }
  },
  "permission": {
    "pounce_read_*": "allow",
    "pounce_write_*": "ask",
    "pounce_delete_*": "ask",
    "pounce_admin_*": "deny"
  }
}

opencode prefixes MCP tools with the server's key, so the key must be pounce for these rules to match (read_card becomes pounce_read_card). Restart opencode after changing the file; opencode mcp list shows whether it connected.

Claude Code

Register the server once for all your projects. ${TP_TOKEN} is read from your environment when the server starts, so the token is not stored in the config:

claude mcp add-json pounce --scope user '{
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "@redfoxxo/pounce@1"],
  "env": {
    "TP_BASE_URL": "https://yourcompany.tpondemand.com",
    "TP_TOKEN": "${TP_TOKEN}"
  }
}'

Then add the four permission rules to ~/.claude/settings.json:

{
  "permissions": {
    "allow": ["mcp__pounce__read_*"],
    "ask": ["mcp__pounce__write_*", "mcp__pounce__delete_*"],
    "deny": ["mcp__pounce__admin_*"]
  }
}

Claude Code names MCP tools mcp__<server>__<tool>, so the server name must be pounce for these rules to match. Check the connection with claude mcp get pounce, or /mcp inside a session.

Other MCP clients

Any client that starts local (stdio) servers works. Most accept an mcpServers block like this one (Claude Desktop, Cursor, ...):

{
  "mcpServers": {
    "pounce": {
      "command": "npx",
      "args": ["-y", "@redfoxxo/pounce@1"],
      "env": {
        "TP_BASE_URL": "https://yourcompany.tpondemand.com",
        "TP_TOKEN": "your-access-token"
      }
    }
  }
}

Then map the four tool-name prefixes below to the client's permission system.

Permission tiers

Every tool name starts with its tier, so one rule per tier covers all tools, including ones added in later versions:

Prefix

What it does

Suggested rule

read_

Reads only

allow

write_

Creates and updates cards, comments, time, relations, ...

ask

delete_

Deletes

ask

admin_

Changes configuration (projects, teams, users, processes, workflows, ...); needs an administrator token

deny

Tools

58 tools. Workflow tools are the ones to use day to day. Generic tools are the escape hatch that reaches every resource and operation your instance reports.

read (26)

  • Workflow: read_card, read_search, read_my_work, read_states, read_people, read_teams, read_roles, read_projects, read_releases, read_iterations, read_custom_field_options, read_comments, read_relations, read_times, read_attachments, read_test_plan

  • Generic: read_meta, read_get, read_query, read_collection, read_v2_query, read_history, read_context, read_conversions, read_deleted, read_storage

write (20)

  • Workflow: write_create_card, write_update_card, write_set_state, write_assign, write_unassign, write_set_role_effort, write_set_custom_fields, write_team, write_comment, write_log_time, write_relate, write_follow, write_test_cases, write_test_run

  • Generic: write_create, write_update, write_bulk, write_collection_add, write_storage, write_attachment

delete (6): delete_card, delete_relation, delete_entity, delete_bulk, delete_collection_remove, delete_storage

admin (6): admin_create, admin_update, admin_delete, admin_collection_add, admin_collection_remove, admin_undelete

Rules the workflow tools enforce

  • Effort belongs to a role. write_set_role_effort writes role effort rows; the card total is computed by Targetprocess and is never written directly.

  • Changing a task's role effort makes Targetprocess recalculate its user story; the story's before/after values are reported.

  • Cards created with write_create_card lose the assignments Targetprocess adds by default, including ones it adds a moment later, and get exactly the people you asked for. What was removed is reported. On existing cards nobody is removed unless you ask (exclusive).

  • State changes and new children report the parent card's state before and after.

  • New cards inherit the parent's project. If no project can be resolved, nothing is sent.

  • Names are resolved, never guessed: an ambiguous name returns every candidate with its id.

  • Time is logged where your process keeps it: standard Time entries, or, on instances that track time in a custom TimeRecord type (hours and date fields), a time record linked to the person and the card.

  • Descriptions and comments can be written as Markdown (format: "markdown"), HTML or plain text, and are read back as Markdown either way.

  • Every write is read back, and any value that did not persist is listed under notPersisted. If a multi-step write fails partway, the error says what was already done.

Known limitations

  • Downloading attachments is not supported. With an access token, Targetprocess returns an HTML page instead of the file.

  • Automation rules, validation rules, mashups and CSV import have no REST management API and are out of scope.

Development

Building from source, running the tests and releasing are described in DEVELOPMENT.md.

License

MIT

Available Tools

58 tools
admin_collection_addA
Destructive

Add items to a collection of a configuration/administration entity (e.g. Team TeamMembers). Administration resources only (Project, Team, User, Process, Workflow, EntityState, Role, CustomField, ...). Requires an administrator token.

Inputs: id (required), items (required), resource (required), collection (required).

admin_collection_removeA
Destructive

Remove items from a collection of a configuration/administration entity. Administration resources only (Project, Team, User, Process, Workflow, EntityState, Role, CustomField, ...). Requires an administrator token.

Inputs: id (required), childIds (required), resource (required), collection (required).

admin_createA
Destructive

Create a configuration/administration entity. Administration resources only (Project, Team, User, Process, Workflow, EntityState, Role, CustomField, ...). Requires an administrator token.

Inputs: fields (required), resource (required).

admin_deleteA
Destructive

Delete a configuration/administration entity. Administration resources only (Project, Team, User, Process, Workflow, EntityState, Role, CustomField, ...). Requires an administrator token.

Inputs: id (required), resource (required).

admin_undeleteA
Destructive

Restore deleted entities by id and entity type (e.g. UserStory, Project, User). Administrator token required. Comments, milestones and programs cannot be undeleted.

Inputs: items (required).

admin_updateA
Destructive

Update a configuration/administration entity. Administration resources only (Project, Team, User, Process, Workflow, EntityState, Role, CustomField, ...). Requires an administrator token.

Inputs: id (required), fields (required), resource (required).

delete_bulkA
Destructive

Delete up to 500 entities of one resource by id (layer 1). Targetprocess bulk delete works by id only.

Inputs: ids (required), resource (required).

delete_cardA
Destructive

Delete a card by id alone (its type is resolved). A card with child cards (a story's tasks and bugs, a feature's stories, an epic's features, a test plan's test cases) is only deleted with withChildren: true, since Targetprocess may delete them with it. Reports what was deleted and the parent card's state and efforts before/after.

Inputs: id (required), withChildren.

delete_collection_removeA
Destructive

Remove items from a removable collection of an entity by child id (layer 1), e.g. unlink test cases from a test plan. To unassign a person prefer write_unassign.

Inputs: id (required), childIds (required), resource (required), collection (required).

delete_entityB
Destructive

Delete one entity of any resource that supports delete (layer 1). Reads it first and reports what was deleted.

Inputs: id (required), resource (required).

delete_relationA
Destructive

Delete the relation between two cards, in either direction. If they have several relations, pass relation (type name) to pick one.

Inputs: id (required), to (required), relation.

delete_storageA
Destructive

Delete one storage entry (only its owner or an administrator can).

Inputs: key (required), group (required).

read_attachmentsA
Read-only

Attachments of a card: name, size, type, owner, date and URL. Downloading needs Basic or cookie auth; with an access token Targetprocess returns an HTML error page instead of the file.

Inputs: id (required).

read_cardA
Read-only

Read any card (user story, task, bug, feature, epic, test plan, ...) by id: type, name, state, project, parent chain, teams with team states, assignments (who is assigned in which role), role efforts, effort totals, release/iteration, custom fields, tags, counts, and the description as plain text.

Inputs: id (required).

read_collectionA
Read-only

GET an inner collection of an entity, e.g. UserStories/{id}/Tasks or Bugs/{id}/Comments (layer 1), fully paged. See read_meta for collection names.

Inputs: id (required), resource (required), collection (required), limit, +6 more.

read_commentsA
Read-only

Comments on a card, oldest first, as plain text, with author and reply parent. When capped, the most recent comments are kept.

Inputs: id (required), limit.

read_contextA
Read-only

Targetprocess Context for entity ids, or for projects and teams: processes and their practices (e.g. IsStoryEffortEqualsSumTasksEffort), terms, custom field definitions, selected projects/teams, logged user, version. Without arguments: the global context.

Inputs: ids, acid, teamIds, projectIds.

read_conversionsB
Read-only

Type conversions of a card (e.g. a bug converted to a user story): the id it has now if it was converted, and the ids it was converted from.

Inputs: id (required).

read_custom_field_optionsB
Read-only

Custom fields of a card's type (or of an entity type in a project) with their type and, for dropdowns, the allowed values. Pass field to see one field.

Inputs: id, type, field, project.

read_deletedA
Read-only

Deleted projects or users (v2 includeDeleted), with their delete date. Restoring them needs admin_undelete and an administrator token.

Inputs: kind (required), limit.

read_getA
Read-only

GET one entity of any resource by id (layer 1). Inner collections in include return up to 1000 items. Prefer read_card for cards.

Inputs: id (required), resource (required), append, exclude, +1 more.

read_historyA
Read-only

Change history of an entity, oldest first (when capped, the most recent entries are kept). Simple history (default) records state, effort, release and iteration changes; full: true returns every change with the changed fields and their new values. resource is resolved from the id for cards; pass it for other entities (e.g. Comment).

Inputs: id (required), full, limit, resource.

read_iterationsA
Read-only

Team iterations (sprints) for a team, or project iterations for a project; newest first. currentOnly for the running ones. Without team or project: current team iterations of every team.

Inputs: team, limit, project, currentOnly.

read_metaA
Read-only

Describe the Targetprocess resource catalog read from this instance. Without a resource: every resource with its operations. With a resource: its fields (settable/required), references and collections (addable/removable). Use it before read_query/write_create.

Inputs: resource.

read_my_workA
Read-only

Cards assigned to the current user (the token owner), open ones by default, with counts per state.

Inputs: type, limit, state, includeClosed.

read_peopleA
Read-only

Find people by name, login or email (every word must match), fully paged over all users. Without a query, lists everyone active. Use the returned ids when a name is ambiguous.

Inputs: limit, query, includeInactive.

read_projectsA
Read-only

List projects (active by default) with abbreviation and process, optionally filtered by name.

Inputs: query, includeInactive.

read_queryA
Read-only

Query a collection of any resource with where/include/orderBy (layer 1), fully paged. Returns {count, truncated, items}; default limit 500, max 5000. Use include to keep results small.

Inputs: resource (required), limit, where, append, +4 more.

read_relationsB
Read-only

Relations of a card in both directions (dependency, blocker, relation, link, duplicate), with the related card.

Inputs: id (required).

read_releasesA
Read-only

Releases, newest first, optionally for one project; currentOnly for releases in progress.

Inputs: limit, project, currentOnly.

read_rolesA
Read-only

List roles (Developer, Product Owner, ...). hasEffort tells whether a role can carry effort.

Inputs: no named parameters.

read_statesA
Read-only

States available to a card (from its own project's process), or to an entity type in a project. Team sub-workflow states are flagged isTeamWorkflow; for a card, its current state and team states are included.

Inputs: id, type, project.

read_storageA
Read-only

RESTful storage, where views, boards and settings live. No group: list groups. Group: its storages (select/where in storage syntax, e.g. select={key,publicData.name} where=(scope == "Public")). Group + key: one storage with publicData and userData.

Inputs: key, group, limit, where, +1 more.

read_teamsA
Read-only

List teams (active by default), optionally filtered by name.

Inputs: query, includeInactive.

read_test_planB
Read-only

A test plan with its test cases and their steps (in run order), child test plans, and recent test plan runs.

Inputs: id (required), runs.

read_timesA
Read-only

Time logged on a card, or by a person ("me" for yourself), optionally within dates (YYYY-MM-DD). Returns entries and the total spent. Reads Time entries where the card's process tracks time, and TimeRecord entries where the instance tracks time that way (a story's records include those of its tasks). By person alone, both kinds are returned.

Inputs: id, to, from, user, +1 more.

read_v2_queryA
Read-only

Targetprocess REST v2 query (read-only): select with projections and nested collections, where with ==, !=, and, or, aggregations via result, board filter DSL via filter. Entity is singular (userStory, bug, feature). v2 omits null fields: absence means null. Filters use v2 syntax, e.g. where=(entityState.isFinal==false and project.id==2), select={id,name,tasks.count as tasks}.

Inputs: entity (required), limit, where, filter, +4 more.

write_assignA
Destructive

Assign a person to a card in a role (names or ids; "me" for yourself). Adds to existing assignments; with exclusive: true, also removes everyone else in that role (only when explicitly asked). Reports what was removed and reads the assignments back.

Inputs: id (required), role (required), user (required), exclusive.

write_attachmentA
Destructive

Upload files to a card (UploadFile.ashx). Each file is given as base64 content with a name; pounce never reads local files itself, so the client decides what may be uploaded. Attachments are read back to confirm they arrived.

Inputs: id (required), files (required).

write_bulkA
Destructive

Create or update up to 500 entities of one resource in one call (layer 1). Items with "Id" update, items without create. Every item is validated first; nothing is sent if any item is invalid.

Inputs: items (required), resource (required).

write_collection_addA
Destructive

Add items to an addable collection of an entity (layer 1). Collection posts APPEND to what is there; nothing is replaced. For assignments, teams and role efforts prefer write_assign, write_team and write_set_role_effort.

Inputs: id (required), items (required), resource (required), collection (required).

write_commentA
Destructive

Add a comment to a card. Pass format markdown for Markdown; otherwise plain text lines become paragraphs and HTML is sent as-is. replyTo answers another comment.

Inputs: id (required), text (required), format, private, +1 more.

write_createA
Destructive

Create an entity of any resource that supports create (layer 1), validated against the catalog before sending. Nested children may be included, e.g. {"Name":"Story","Project":{"Id":2},"Tasks":{"Items":[{"Name":"T1"}]}}. Never include Id. Custom fields go in "CustomFields":[{"Name","Value"}]. Prefer write_create_card for cards: it applies the team rules.

Inputs: fields (required), resource (required).

write_create_cardA
Destructive

Create any card type (UserStory, Task, Bug, Feature, Epic, TestPlan, Request, ...) with parent, name, description, state, team, assignees, role efforts, tags and custom fields, applying the team rules: the project is inherited from the parent (task ← story, story ← feature, feature ← epic, bug ← its card, test case ← test plan) and the call fails before posting if none resolves; assignments Targetprocess adds by default are removed and reported, then exactly the requested people are assigned; effort is written per role; the parent's state and role efforts before/after are reported. Description: pass format markdown for Markdown; HTML is sent as-is, plain text lines become paragraphs.

Inputs: name (required), type (required), tags, state, +12 more.

write_followA
Destructive

Follow (or with unfollow: true, stop following) a card, for yourself or another person.

Inputs: id (required), user, unfollow.

write_log_timeA
Destructive

Log time spent on a card for a person (default: you). date is YYYY-MM-DD (default: today in the server's time zone). Where the card's process tracks time, this is a Time entry and the role defaults to the person's only role on the card (pass role if they have none or several). Where the process has no Time Tracking practice but the instance tracks time in a TimeRecord type, this creates a time record linked to the person and the card (and a task's story); records have no role or remaining time, and Targetprocess names them itself.

Inputs: id (required), spent (required), date, role, +3 more.

write_relateA
Destructive

Relate two cards: relation Dependency, Blocker, Relation (default), Link or Duplicate (or any type on the instance). outbound (default): id → to (id is the master); inbound: to → id. An existing identical relation is left alone.

Inputs: id (required), to (required), relation, direction.

write_set_custom_fieldsA
Destructive

Set custom fields on a card by name, e.g. {"BackEnd":"Done","FrontEnd":"To Do"}. Dropdown values are validated against the field's options (see read_custom_field_options) before anything is sent; null clears a field. Values are read back.

Inputs: id (required), fields (required).

write_set_role_effortA
Destructive

Set effort for one or more roles on a card. Effort always belongs to a role: this writes the RoleEffort rows, never the card total, which Targetprocess computes from them. A role is required. Task role efforts ROLL UP into the parent user story, overwriting the story's value for that role; the parent's before/after values are reported rather than assuming the story estimate was kept.

Inputs: id (required), efforts (required).

write_set_stateA
Destructive

Move a card to a state by name or id, resolved against the card's own project workflow. With team, sets that team's state on the card (its team sub-workflow, or the project workflow when the team has none). The state is read back, and the parent card's state before/after is reported: moving a task out of its initial state can advance its user story.

Inputs: id (required), state (required), team.

write_storageA
Destructive

Create or update a storage entry. MERGE semantics: posted publicData/userData keys are added or overwritten, other keys are kept, a null value deletes that key. A missing group or key is created. Scope and publicData can be changed only by the owner or an administrator.

Inputs: group (required), key, scope, userData, +1 more.

write_teamA
Destructive

Add teams to or remove teams from a card (names or ids). Adding appends; removing deletes only the named team assignment.

Inputs: id (required), add, remove.

write_test_casesB
Destructive

Create test cases with ordered steps under a test plan. The project is inherited from the test plan. Each case is read back.

Inputs: cases (required), testPlan (required).

write_test_runA
Destructive

Record a test run of a test plan: creates a test plan run (Targetprocess adds a "Not run" test case run per case), then sets each given test case's result (Passed, Failed, Blocked, OnHold, NotRun) with an optional comment.

Inputs: testPlan (required), name, results.

write_unassignA
Destructive

Remove one exact assignment (person + role) from a card. If the person holds several roles on the card, the role is required.

Inputs: id (required), user (required), role.

write_updateA
Destructive

Update fields of an existing entity (layer 1), validated against the catalog before sending. The response is read back and any requested value that did not persist is reported. Writing a card Effort here bypasses role efforts; use write_set_role_effort instead.

Inputs: id (required), fields (required), resource (required).

write_update_cardA
Destructive

Update a card: name, description, tags (tags replaces the whole list; addTags/removeTags edit it), release, iteration, team iteration (null clears), parent, or other settable fields. Description: pass format markdown for Markdown. Changes are read back; removed tags are reported. For a test case, parent ADDS it to that test plan (existing plans are kept). For state, people, effort, teams and custom fields use the dedicated write_* tools.

Inputs: id (required), name, tags, fields, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 58 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, with detailed descriptions that disambiguate card-specific operations from generic ones (e.g., read_card vs read_get, write_create_card vs write_create). Some potential confusion exists between read_query and read_v2_query, and between write_update_card and write_update, but descriptions explicitly guide selection.

    Naming Consistency4/5

    All tool names follow a consistent prefix_verb_noun snake_case pattern (read_*, write_*, delete_*, admin_*), making the set predictable. Minor deviations like write_team, write_follow, and write_relate use verbs instead of nouns, but the overall convention is strong.

    Tool Count1/5

    With 58 tools, the server exceeds the 50+ threshold defined as an extreme mismatch. While tools are organized by operation type and cover a comprehensive API, the sheer number overwhelms agents and raises misselection risk. Generic CRUD and admin tools could be consolidated.

    Completeness4/5

    The tool surface covers the bulk of Targetprocess card workflows, including create/read/update/delete for cards, relations, custom fields, comments, attachments, and test runs. Notable gaps include no write/delete for releases and iterations, no comment deletion, and no attachment removal, but these are minor relative to the breadth covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides tools for interacting with Targetprocess, a project management and agile planning platform, enabling AI assistants to search, create, and update project entities with proper validation.
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with OpenProject's API v3 for comprehensive project management operations including work packages, projects, time tracking, users, and all other OpenProject features through natural language.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Targetprocess for search, create, update, and query of entities like User Stories and Bugs, with support for complex filters and data model discovery.
      MIT