PairHarbor MCP server
Runs Android app verification tasks by installing an APK on an attached emulator or device, launching the app, executing a monkey stress pass, and reporting crashes and screenshots.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PairHarbor MCP server show me my task queue and claim the next open one"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PairHarbor MCP server
Your PairHarbor cloud and workspaces as tools inside Claude Code, Claude Desktop, or any MCP client. Authentication is an API token; the server is a thin stdio wrapper over the public v1 API, so the same safety filters, membership gates, and daily write limits apply as for any other client.
Published on npm as pairharbor-mcp.
Nothing runs on PairHarbor itself: the server is a small Node process on
your own machine that calls https://pairharbor.com/api/v1/... with your
token.
Setup
Create a token: pairharbor.com → Settings → Agents → create an agent named after this machine → New token. Copy the
ph_...value once; treat it like a password. A token acts as you, and task history records the agent's name.Register the server with your MCP client. Node 20 or newer is required;
npxfetches the package on first use.Claude Code, one command, with your token in place of
ph_...:claude mcp add --scope user pairharbor -e PAIRHARBOR_TOKEN=ph_... -- npx -y pairharbor-mcp--scope usermakes the server available in every project on the machine; without it, only in the folder the command was run in./mcplists it.To share the setup with a team instead, commit this as
.mcp.jsonin the repository (see step 3 for the token); each person approves the server once when prompted.{ "mcpServers": { "pairharbor": { "command": "npx", "args": ["-y", "pairharbor-mcp"], "env": { "PAIRHARBOR_TOKEN": "ph_..." } } } }Claude Desktop takes the same block in
claude_desktop_config.json.Keep the token out of git. In a shared repo, reference an environment variable instead (
"PAIRHARBOR_TOKEN": "${PAIRHARBOR_TOKEN}") and set it in your shell profile or in the git-ignored.claude/settings.local.json:{ "env": { "PAIRHARBOR_TOKEN": "ph_..." } }
PAIRHARBOR_URL overrides the base URL (for example a local dev server).
Claude Code plugin
The plugin/ folder is the same server as a Claude plugin, with
two skills on top: plan-project (read a project, suggest who covers each
task, file the tasks once you agree) and work-tasks (take a task from
your queue, do it, report back). Claude Code asks for the token when the
plugin is enabled and keeps it in the system's secure storage, so nothing
goes into a config file.
claude plugin marketplace add AminHA1248/pairharbor-mcp
claude plugin install pairharbor@pairharborThe plugin starts the server with npx pinned to an exact version
(plugin/.mcp.json); npm version moves that pin with each release.
Claude Desktop bundle
pairharbor.com/downloads/pairharbor-mcp.mcpb is the same server as an
MCP Bundle: open it with Claude Desktop, paste the token into the install
dialog's "PairHarbor API token" field, done. It is generated at deploy
time by mcp/scripts/build-mcpb.mjs (npm run build:mcpb locally), which
stages server.mjs with its two runtime dependencies, lists the tools for
the install dialog, writes and validates the manifest (spec 0.2), and
packs. The bundle is unsigned.
Working from source
npm install, then PAIRHARBOR_TOKEN=ph_... node server.mjs runs the
server from a checkout. Inside PairHarbor's own repository, where this
folder is mcp/, the checked-in .mcp.json does that
(node mcp/server.mjs), so changes take effect on the next Claude Code
start.
Related MCP server: Taskade MCP Server
Tools
Tool | What it does |
| Which account the token belongs to |
| Read the account's cloud |
| Replace the cloud's skills (and title) |
| Merge skills into the cloud, keeping the rest |
| Drop skills by name |
| Public first ( |
| A company workspace's plan and this month's usage: members, and agent task completions against the allowance |
| A workspace's projects; |
| Post a project into a company workspace; optional terms (teamMin, teamMax, startsOn, endsOn) |
| Post a public project page from a skill list, with an optional brief shown on the page; unlisted unless |
| Set or clear the brief on one of your public project pages |
| Delete a project (poster or admin) |
| Tasks assigned to this account across workspaces (a worker's inbox) |
| A workspace's tasks, by project or status; with |
| One task with its audit trail |
| Create a task under a project, optionally assigned and with a dueOn date (defaults to the project end date). In |
| People only: approve an agent's proposal, optionally overriding the assignee |
| Take an open task, in a company workspace you belong to or on any public project |
| Change status, add a progress or blocked-reason report, reassign or edit |
| Mark done with a report and artifact links |
| Members ranked by coverage of a skill list |
| Long-poll (up to 25s) until a task of yours changes, then the inbox |
Tasks in the Public workspace
Public projects carry tasks too, with workspaceId: "public" and the
project's handle as projectId. The rules differ from a company
workspace because there is no membership: only the project's owner
creates, approves, edits and deletes; anyone with an account can list a
project's open tasks and claim one (at most five unfinished claims on
other people's projects); nobody is assigned by someone else. Reports,
artifacts and history are returned only to the owner and the assignee,
and other accounts appear as owner or member-xxxxxx, never by id.
Agents can complete 50 public tasks a month per project owner (402 with
code: "quota" after that); tasks people complete are not counted. A
start-to-finish run from Claude Desktop is at
https://pairharbor.com/docs#tutorial.
Plan a project from Claude
With the server connected in Claude Code or Claude Desktop, planning is a conversation covered by your subscription, no API key involved:
Plan the project "Mobile Rewrite" in my Acme workspace on PairHarbor.
Read its brief, skills and terms, suggest who covers each task, and show
me the plan. When I say "file them", create the tasks.Claude reads the project (list_workspace_projects), asks the matcher
(suggest_assignees), and files tasks (create_task), one per person
when the project states a team size, each due on the project's end date.
Tasks filed this way are proposals until a member approves them on the
project's Tasks dialog, or live at once when the workspace runs unattended
mode.
The worker: run your tasks on your own machine
pairharbor-worker is a loop that pulls the tasks assigned to you, hands
each to a handler, and reports the result back, all under the agent whose
token it runs with. It starts a task (in progress), runs the handler, then
completes it with the handler's report and artifact links, or marks it
blocked with the reason. Errors block the task rather than losing it.
export PAIRHARBOR_TOKEN=ph_agent_token
npx -p pairharbor-mcp pairharbor-worker --handler echo --once # prove the loop with your inbox
npx -p pairharbor-mcp pairharbor-worker --handler claude-code # poll every 60s, work coding tasks
npx -p pairharbor-mcp pairharbor-worker --handler android-emulator --workspace "Acme" --claimOptions: --workspace <name or id> limits the worker to one workspace;
--claim also takes open, unassigned tasks there that the handler
accepts; --interval <seconds> (default 60), --once, --max <n> per
pass, --dry-run, --workdir <dir>.
Between passes the worker long-polls wait_for_tasks, so new work starts
within about a second of being assigned; the interval is only the safety
net. A workspace admin can also turn on unattended mode (Members,
Automation) so tasks the worker or Claude creates go live without the
proposal step, and register webhooks that receive a signed POST per task
event (header X-PairHarbor-Signature: sha256=<HMAC-SHA256 of the body>).
Built-in handlers:
Handler | What it does | Needs |
| Reports the task back, changes nothing | nothing |
| Runs Claude Code headless in a repo checkout on a branch | Claude Code CLI, |
| Installs the APK on the attached emulator or device, launches the app, runs a monkey stress pass, reports crashes and screenshots | Android platform tools (adb), a running emulator; |
A handler is an ES module: export default { name, accepts(task), run({ task, workdir, log, exec, env }) } returning { report, artifacts?, blocked? }.
Pass its path to --handler to use your own.
Agents and unattended use
An agent is a machine you run, registered under Settings → Agents; its
tokens act as you. list_my_tasks is your inbox, claim_task /
update_task / complete_task the way a script on that machine works
through it, and every change is recorded under the agent's name. Two
rules apply to calls made through a token: a task created that way is a
proposal until a member approves it, and deleting a task needs a signed-in
session. Completing a task adds its skills to the assignee's cloud. The
agent's row in Settings ("Set up") prints the setup for Claude Desktop,
Claude Code and the worker.
A scripted planner (pairharbor-pm-agent, source in examples/) is also
in the package for teams that prefer a cron job; it calls the Anthropic
API with your own key rather than your subscription, so it is not the
recommended path.
There is deliberately no extraction tool: mapping a résumé or a project description costs provider money and stays in the signed-in app. The tools take ready-made skills, which Claude Code is perfectly capable of drafting.
Publishing
This code is developed in PairHarbor's main repository, as its mcp/
folder, and released from there.
github.com/AminHA1248/pairharbor-mcp
is the public copy of that folder: a GitHub Actions job copies the
committed files across on every push that changes them, one commit per run
(node scripts/mirror-public.mjs --push is the same step by hand). Issues
and pull
requests are welcome there; accepted changes are applied in the main
repository and arrive with the next copy.
GitHub Actions publishes to npm when a tag mcp-v<version> is pushed
(.github/workflows/publish-mcp.yml), using npm trusted publishing: no
token is stored anywhere, the job proves its identity to npm with a
short-lived GitHub OIDC token, and the account's 2FA stays enforced. The
same run then lists the version in the official
MCP Registry as
io.github.AminHA1248/pairharbor-mcp. To release:
cd mcp
npm version patch --no-git-tag-version # bumps package.json, say to 0.2.1
git commit -am "mcp 0.2.1"
git tag mcp-v0.2.1
git push origin main --tagsThe workflow refuses a tag whose version differs from package.json.
The registry listing is server.json: name, one-line description (100
characters at most), the npm package and its PAIRHARBOR_TOKEN variable.
The registry stores that metadata only and proves ownership by reading
mcpName from the package on npm, so the two names must stay identical.
npm version copies the new version into server.json and into the
plugin's pinned npx command, raising the plugin's own version with it
(scripts/sync-server-json.mjs), and the workflow checks all three files
before it publishes anything. To change the listing text without a release, edit
server.json on main and start the workflow by hand (Actions, "Publish
pairharbor-mcp", Run workflow): that run skips npm and only updates the
registry.
Every tool declares a title and annotations (readOnlyHint, or
destructiveHint with idempotentHint where it applies). Clients use them
to decide which calls need a confirmation and directories require them, so
give a new tool one of READ, ADD or CHANGE from the top of
server.mjs.
Publishing by hand (npm publish from mcp/, with the browser 2FA
prompt) keeps working as a fallback.
files in package.json whitelists what ships (the server, the PM agent,
this README, the license); the lockfile and node_modules never do. The
Claude Desktop bundle is separate: it rebuilds on every site deploy.
Available Tools
23 toolsadd_skillsAdd skills to my cloudA
Add one or more skills to the account's cloud, keeping everything already there (existing names are updated in place, case-insensitively). Convenience over get + replace.
Inputs: skills (required).
approve_taskApprove a proposed taskA
Approve a proposal (a task created through a token, for example by the PM planner) so it comes into force: claimed by the noted assignee, or open when unassigned. Pass a different assignee to override. Any member of a company workspace can approve; in the Public workspace only the project's owner can, and the task opens for anyone to claim.
Inputs: taskId (required), workspaceId (required), assignee.
claim_taskClaim a taskA
Take an open (unassigned) task for this account. Fails if someone else already has it. Works on any public project's open tasks too (workspaceId "public"); an account holds at most 5 unfinished tasks on other people's public projects.
Inputs: taskId (required), workspaceId (required).
complete_taskComplete a taskA
Mark a task done with a completion report and optional artifact links (pull request, document, build). Only the assignee (or creator/admin) can. On a public task the report is visible to the assignee and the project's owner only.
Inputs: report (required), taskId (required), workspaceId (required), artifacts.
create_taskCreate a taskA
Create a task under a project with its own required skills and, optionally, an assignee. Because this call comes through a token it lands as a PROPOSAL: absent from every inbox until a member approves it (approve_task, or the project's Tasks dialog). Nothing is assigned until then. In the Public workspace (workspaceId "public") projectId is one of YOUR public projects' handles (only the owner defines tasks), and the only assignee you can name is yourself: everyone else claims.
Inputs: title (required), skills (required), projectId (required), workspaceId (required), +3 more.
delete_workspace_projectDelete a workspace projectADestructiveIdempotent
Delete a project from a company workspace. Only the poster or a workspace admin can. Public projects are managed in the app (Projects page or Settings).
Inputs: projectId (required), workspaceId (required).
get_my_cloudGet my cloudARead-only
The account's private skill cloud: title, skills (name, depth 0-1, category, manual flag), estimated years of experience, scoring version, and last update.
Inputs: no named parameters.
get_taskGet a taskBRead-only
One task with its full audit trail (who created, claimed, changed status, reported).
Inputs: taskId (required), workspaceId (required).
get_workspace_usageA workspace's plan and usageARead-only
The company workspace's plan (free, team or pro) and this month's usage against it: members, and how many tasks agents have marked done out of the plan's monthly allowance. Check it before planning a large batch of agent work; at the allowance, agents' completions are refused with 402 until a person completes the task or an admin upgrades under Members, Billing. Tasks people complete never count.
Inputs: workspaceId (required).
list_my_tasksList my tasksARead-only
Tasks assigned to this account (person or agent) across every workspace: the worker's inbox. Each carries its workspace, project, status, required skills, and description.
Inputs: status.
list_workspace_projectsList a workspace's projectsARead-only
Projects in one workspace, each with its required-skill cloud. For the Public workspace (id "public") these are the account's own posted public projects, with their public URL, brief, and whether each is listed in the Harbor; for a company workspace, its private projects (members only).
Inputs: workspaceId (required).
list_workspacesList my workspacesARead-only
The workspaces the account can act in, Public first (kind "public": the open site, your public projects and the public Harbor), then company workspaces (kind "company") with role and member count. Admin rows include the invite token (a credential; handle with care).
Inputs: no named parameters.
list_workspace_tasksList a workspace's tasksARead-only
Tasks in a workspace, optionally for one project or status. Company workspace: all of its tasks. Public workspace (workspaceId "public"): pass projectId = a public project's handle to get that project's tasks (everything if the project is yours, otherwise its open tasks plus the ones you hold); without projectId, the public tasks you created or hold.
Inputs: workspaceId (required), status, projectId.
post_public_projectPost a public projectA
Post a project to the Public workspace from a ready-made skill list: a public page under pairharbor.com/u/ that people can compare their cloud against and message you about. Unlisted by default (only people with the link see it); pass list: true to list it in the Harbor for every signed-in visitor. The brief is shown publicly on the page. Manage or delete it later in the app (Settings, Posted projects).
Inputs: title (required), skills (required), city, list, +8 more.
post_workspace_projectPost a project to a workspaceA
Post a project with a ready-made required-skill list into a COMPANY workspace the account belongs to; private to that workspace's members. Optional terms (teamMin/teamMax, startsOn/endsOn) state how many people and for how long; Build team fills to that size and tasks default their due date to endsOn. For the Public workspace use post_public_project.
Inputs: title (required), skills (required), workspaceId (required), brief, +4 more.
remove_skillsRemove skills from my cloudADestructiveIdempotent
Remove skills from the account's cloud by name (case-insensitive). Everything else stays.
Inputs: names (required).
suggest_assigneesSuggest assigneesARead-only
Who in a company workspace covers a skill list best: people and agents whose clouds are shared with it, ranked by depth-weighted coverage, with what each covers and misses. The primitive for splitting a project between humans and agents.
Inputs: skills (required), workspaceId (required).
update_my_cloudReplace my cloudADestructiveIdempotent
REPLACE the whole skill list of the account's cloud (and optionally its title). Read the cloud first and send the complete list back; anything omitted is removed. Depths re-normalize against the cloud's experience budget, so read the response for the stored result.
Inputs: skills (required), title.
update_public_projectUpdate a public project's briefADestructiveIdempotent
Set the brief (description) shown on one of the account's own public project pages, or clear it with an empty string. The handle comes from list_workspace_projects with workspaceId "public". Editing the brief does not change the required skills.
Inputs: brief (required), handle (required).
update_taskUpdate a taskBDestructive
Change a task's status (in_progress, blocked, ...), add a progress or blocked-reason report, reassign it (assignee = owner id, or null to unassign), or edit its definition.
Inputs: taskId (required), workspaceId (required), dueOn, title, +5 more.
update_workspace_projectUpdate a workspace project's brief and termsADestructiveIdempotent
Set a company workspace project's brief (the full description planners and workers read) and terms (teamMin, teamMax, startsOn, endsOn). Poster or admin only. Omitted term fields clear; omit brief to leave it unchanged.
Inputs: projectId (required), workspaceId (required), brief, endsOn, +3 more.
wait_for_tasksWait for task changesARead-only
Long-poll: holds up to timeoutSeconds (max 25) until a task assigned to this account changes (or, with workspaceId, until an open task appears there), then returns the inbox of claimed tasks. Pass back the returned at as since on the next call. Use this in a worker loop instead of polling on a timer.
Inputs: since, workspaceId, timeoutSeconds.
whoamiWho am IARead-only
The account this PairHarbor token belongs to (owner id, sign-in provider, display name, email, cloud title) and the agent that holds the token (the machine you are running on, as named in Settings). Every tool acts as that account; task history records the agent.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools map to a distinct resource+action (project vs task vs cloud vs workspace), and descriptions explicitly cross-reference near-neighbors like post_workspace_project vs post_public_project. The few soft overlaps are list_my_tasks vs list_workspace_tasks vs wait_for_tasks, and update_my_cloud vs add_skills/remove_skills, which descriptions disambiguate but an agent could still hesitate over.
Strong verb_noun snake_case pattern throughout (get/list/post/update/delete/create/claim/approve/complete + resource), with resource prefixes grouping the surface well. Minor deviations: 'whoami' breaks the pattern, and 'post_' is used for projects while 'create_' is used for tasks.
23 tools is on the heavy side but the surface spans four legitimately separate domains (skill cloud, workspaces, projects, tasks) with roughly 4-5 operations each. Every tool appears to earn its place; the count is only slightly over what feels tight.
Cloud (get/replace/add/remove), project (list/post/update/delete) and task (create/claim/approve/update/complete/get/list) lifecycles are well covered, plus a long-poll and assignee suggestion. Gaps: no delete_task and no MCP path to delete a public project (both deferred to the app), and no workspace creation/member management.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants like Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through natural language, with a hosted OAuth server or a local stdio package. Also supports generating MCP tools from any OpenAPI spec.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables clients such as Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, and AI agents through a hosted OAuth endpoint or a local stdio package, and to generate MCP tools from OpenAPI specs.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI clients such as Claude, Cursor, VS Code, and Windsurf to list and manage workspaces, projects, tasks, AI agents, and automations through a hosted OAuth-secured endpoint or a local stdio package. Also generates MCP tools from any OpenAPI spec.2,530 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients such as Claude, Cursor, VS Code, and Windsurf to manage workspaces, projects, tasks, AI agents, and app files through hosted OAuth or local stdio tools. It also includes OpenAPI codegen for generating MCP tools from any OpenAPI specification.2,530 npmMIT