MCP

MCP

Harmony has two MCP servers. One uses an API key and can work across the organization. The other belongs to an App install and stays in one room.

An MCP client such as Cursor or Claude connects to Harmony over HTTP and receives a catalog of tools, each with a description and a JSON Schema, so the model knows how to call them. You do not paste this page into the client. The server sends the catalog on initialize and tools/list.

Which server

Harmony MCP App MCP
Use it when An agent should act as a person: tasks, rooms, the workstream agent, loops, runs, the wiki. An agent should act as one App, in one room.
Endpoint POST https://mcp.gonimbus.ai or POST /v1/mcp on the API origin POST /v1/apps/mcp
Credential API key, Authorization: Bearer nmb_sk_… or nmb_rk_… Install token, Authorization: Bearer nmb_it_…
Acts as The person who created the key The App, in that install's room
Catalog tools/list on that host Four message tools, below

There is no OAuth login for either server. A client that can only complete an OAuth handshake, and cannot send a bearer header, cannot connect. OAuth you see elsewhere in Harmony is for connecting someone else's server, such as Linear, to Harmony. It does not sign Cursor in.

Transport

Both servers speak MCP over streamable HTTP, and both are stateless:

  • Send JSON-RPC 2.0 requests as the body of a POST. You can send one request, or a batch as a JSON array.
  • Responses are plain JSON (Content-Type: application/json), never a server-sent event stream.
  • A body containing only notifications gets 202 with no body.
  • GET and DELETE return 405: there's no server-to-client stream and no session to end.

Supported protocol versions: 2025-06-18, 2025-03-26, and 2024-11-05. If initialize asks for another version, the server answers with 2025-06-18.

Supported methods: initialize, ping, tools/list, tools/call, and notifications.

initialize returns a short instructions string: how tasks are named, that Frames render as cards, and which tool starts an agent turn. tools/list returns every tool's name, description, and inputSchema. Field descriptions inside the schema are the argument docs. A tool that fails returns isError: true and a JSON error the model can read, including insufficient_scope when the key lacks that tool's scope.

Harmony MCP

POST https://mcp.gonimbus.ai
Authorization: Bearer nmb_sk_…

The same handler answers POST /mcp on that host, and POST /v1/mcp on the API origin (https://api.gonimbus.ai/v1/mcp, or https://api-eu.gonimbus.ai/v1/mcp for an organization in the EU). Create the key on the Developers page. A secret key (nmb_sk_…) can call every tool. A restricted key (nmb_rk_…) needs the scope named on the tool. Write includes read. Posts and tasks appear under the key's name, as the person who created the key.

{
  "mcpServers": {
    "harmony": {
      "type": "http",
      "url": "https://mcp.gonimbus.ai",
      "headers": {
        "Authorization": "Bearer nmb_sk_…"
      }
    }
  }
}

Keep the key out of files you commit. The server's serverInfo.version is the public API date (2026-09-25), not a count of tools. Trust tools/list.

How the tables read

Each row gives the tool's exact name, the scope a restricted key needs, and its arguments: required ones first, then optional ones in italics. Every task and room tool also takes an optional workspace (a workspace id; the default workspace when left out), so the tables don't repeat it. tools/list gives the full JSON Schema, with each argument's limits.

Who you are

Tool Scope Arguments What it does
whoami tasks:read none Who these tools act as, and in which organization.

Tasks

Tasks use identifiers like ENG-42. A task argument takes that identifier or the task's id. Statuses are triage, backlog, product_idea, todo, in_progress, in_review, done and canceled. People are given as "me", an email, a name or a user id. A task can sit on the workspace, or in one room or one workstream (room or workstream), not both.

Tool Scope Arguments What it does
task_projects_list tasks:read none Projects, with open counts by status. The default project, Tasks (TASK), is always included.
task_projects_create tasks:write name; key, emoji, description Creates a project. The key (1–10 letters or digits) prefixes its tasks and is derived from the name when left out.
task_projects_update tasks:write project; name, emoji, description, archived Renames, re-describes, archives or restores a project. Its key can't change.
task_labels_list tasks:read none Labels already in use. Reuse those spellings.
tasks_summary tasks:read today How many open tasks are assigned to the caller, and how many are overdue on today (UTC when left out).
tasks_search tasks:read room, workstream, text, semantic, projects, statuses, open_only, priorities, assignees, unassigned, labels, due_before, due_after, include_archived, sort, limit, offset Finds tasks the caller can see, in the whole workspace unless assignees is set. text also matches by meaning unless semantic is false. sort is updated, created, due, priority or number; limit is 1–200, default 50.
tasks_get tasks:read task One task with its description, parent, subtasks, comments and history. History covers status, assignees, priority, due date, labels, parent and archive, not title or description edits.
tasks_create tasks:write title; room, workstream, description, project, status, priority, assignee, assignees, due_date, labels, parent, private, watchers, source_key Creates a task. Leave out project to use Tasks (TASK). description is Markdown, including LaTeX. A repeat call with the same source_key updates that task instead.
tasks_update tasks:write task; title, description, status, priority, assignee, assignees, due_date, labels, parent, archived, private, watchers Changes a task. null clears a field. Anyone who can see a task can update it; only its creator can change archived or private. Returns an event id for changes the history records.
tasks_update_many tasks:write tasks (up to 50), changes (the tasks_update fields) Applies one change to many tasks. A task that fails is reported and the rest still change.
tasks_comment tasks:write task; body, reply_to, files Comments in Markdown, with up to 8 files sent like files_post. reply_to answers a comment in its thread.
tasks_attachment_get tasks:read task, attachment_id Reads a file attached to a comment: text as text, other files as base64, up to 5 MB.
task_views_list tasks:read none Saved task views the caller can use, with their filters. Pass a view's filters to tasks_search to apply it.
tasks_assign_agent tasks:write task, agent_kind (harmony or external); agent_id, instructions Puts Harmony Agent, a team agent or a person's own coding agent on a task. agent_id is required for external and comes from task_agent_runs_list. Another person's agent waits for its owner's yes unless they let it run for tasks assigned to them.
task_agent_runs_list tasks:read task The agents on a task, latest first: who asked, the state (awaiting_approval, declined, queued, running, succeeded, failed, cancelled), the latest activity and the result comment. Also lists the agents the caller could put on it.
tasks_undo tasks:write event_id Reverses one change. Only the task's creator can undo; undoing the creation archives the task. Fields changed again since are reported as conflicts.
task_suggestions_accept tasks:write message_id, room or workstream; items Turns a Sync's follow-ups on a message into tasks. Leave out items to accept them all as written. Accepting again returns the task it already made.
task_suggestions_dismiss tasks:write message_id, room or workstream Dismisses those follow-ups without making tasks.
tasks_from_todo tasks:write message_id, room or workstream, items (index, title; up to 20) Saves a to-do card's items as tasks in that room. Saving the same card again updates them.
task_import_sources_list tasks:read none Trackers you can import from (Linear, Jira, GitHub, Asana, ClickUp, Trello, monday.com) and whether the caller has connected each. Connecting happens in the Harmony app.
task_import_projects_list tasks:read provider The projects, boards, repositories or lists a connected tracker offers.
task_import_people_list tasks:read provider The tracker's people, each with the Harmony member they match by email, or null.
task_imports_start tasks:write provider; project_ids, status_types, updated_since, include_archived, include_comments, limit, people Imports tasks, comments and history in the background. Every tracker but Linear needs project_ids. people maps unmatched tracker people to members. Re-importing updates what it brought in before.
task_imports_list tasks:read import_id Imports in the workspace with their status and counts, or one import.

Rooms and workstreams

Tool Scope Arguments What it does
rooms_list messages:read none Public rooms, and private rooms the key's creator belongs to.
messages_read messages:read room; message_id, limit The latest messages (1–50, default 20), or one message and its thread. Shows task suggestions and to-do cards.
messages_post messages:write room; text, frame, reply_to Posts Markdown, a Frame, or both, under the key's name. Send text, frame or both.
messages_update messages:write room, message_id, text Replaces the text of a message this key posted.
files_post messages:write room, file_name, content_base64 or text_content; mime_type, text, reply_to Attaches a file people can open in place. Files are scanned.
workstreams_list workstreams:read none Workstreams this key can see, with the ids and slugs other tools take.
workstreams_get workstreams:read workstream One workstream: name, slug, status, type and run counts.
workstreams_create workstreams:write name; workspace Creates a workstream. It counts toward your plan's live workstream limit.
workstreams_update workstreams:write workstream; name, status (active or archived) Renames, archives or reactivates a workstream.
workstreams_delete workstreams:write workstream Moves a workstream to the trash. An admin can restore it in the app until it's purged. Prefer archiving when you only want to hide it.

Agent, Loops and runs

These call the same operations as the agent, Loops and runs endpoints.

Tool Scope Arguments What it does
agent_ask agent:write workstream, input; conversation Asks Harmony Agent in that workstream. Returns at once, usually still queued. Counts against usage limits like a question in the app. Pass the returned conversation back to continue.
agent_get agent:read response Reads the response: status is queued, in_progress, completed, failed or cancelled; output_text is the answer once completed.
agent_cancel agent:write response Stops a response that is still queued or in progress.
loops_list loops:read status, limit, cursor Loops the key can reach: its creator's own, and shared Loops on workstreams the key was granted. status is draft, active, paused or archived.
loops_get loops:read loop One Loop: name, objective, workstream, status and trigger kinds.
loop_executions_list loops:read loop; limit, cursor A Loop's executions, newest first. A completed one's run id is what the run tools take.
loops_run loops:write loop; input, force Runs a Loop now, as if its trigger fired. input is the trigger payload, up to 64 KB; force runs it even when nothing changed. It doesn't create or edit a Loop.
runs_list runs:read workstream, status, limit, cursor Runs in workstreams the key can see. status is queued, pending, running, completed, failed, partial or cancelled.
runs_get runs:read run One run: status, phase, title and whether it has a report yet.
runs_report runs:read run The run's report: title, sanitised HTML and the section outline.

Search, decisions and connections

Tool Scope Arguments What it does
documents_search documents:read query; workspace, limit (1–20, default 8), mode (hybrid or semantic) Searches the Company Wiki and connected documents. Returns passages the key may read, not whole files.
decisions_list decisions:read workstream; run, include_superseded, limit, cursor Decisions recorded in a workstream, newest first. It reads the record; it doesn't approve or reject.
connections_list connections:read status, limit, cursor Connections shared with the organization and the key creator's own. Never returns credentials and never calls the connected app. Revoked ones show only with status: "revoked".
connections_get connections:read connection One connection: the app, its status (pending_oauth, connected, revoked, error) and whether a person or the organization owns it.

Outcomes and goals

Tool Scope Arguments What it does
outcomes_overview outcomes:read period (month or quarter), month (YYYY-MM), scope (all or mine) How each team is doing: spend against budget and forecast, useful rate, goals on track or behind, and what needs attention. Money is in the currency's minor unit.
budgets_set outcomes:write scope (team or person), id, monthly_amount (or null to clear); currency Sets a monthly budget. Needs an admin's key and a plan with budgets.
goals_list goals:read limit, cursor Active goals with progress, whether each is on track, the latest reading and what's linked.
goals_get goals:read goal One goal and its recent check-ins.
goal_dependencies goals:read goal The goals it waits for, and the goals waiting for it.
goals_create goals:write title, metric (label; unit, direction), target, period_start, period_end; description, team, baseline Creates a goal read from check-ins. Needs an admin's key.
goals_check_in goals:write goal, value; day, note Records the goal's value for a day (today when left out). A second check-in that day replaces the first. Needs an admin's key.
goals_link goals:write goal, kind (loop, workstream, install or goal), id; remove Links work to a goal, or marks it blocked by another goal. remove: true unlinks. Needs an admin's key.

See Outcomes and Goals for the same data over REST.

The Harmony MCP server doesn't call a connector, give a yes to something waiting for approval, start a Sync, write a Loop or read billing.

App MCP

Every App install comes with its own MCP server, so an agent can act in the App's room: post messages and Frames, update its own messages, and read the conversation. It acts as the App, in that one room, and nowhere else.

POST https://api.gonimbus.ai/v1/apps/mcp
Authorization: Bearer nmb_it_…

Use the install's mcp_url and its MCP token (nmb_it_…), both from the install response. The token says which install, App, and room you are, so every install shares the same URL. Transport is the same as the Harmony MCP server, above.

Connecting an App

Most MCP clients that support remote HTTP servers with custom headers can connect with a configuration like this:

{
  "mcpServers": {
    "harmony": {
      "type": "http",
      "url": "https://api.gonimbus.ai/v1/apps/mcp",
      "headers": {
        "Authorization": "Bearer nmb_it_7Kp2Rt9Vx4Lb8Nc1Wz6Hd3Qm5Fs0Yj2Ea7Gu4Ci9"
      }
    }
  }
}

The exact keys vary by client, so check your client's documentation for how it names the server type, URL, and headers. Keep the token out of files you commit; most clients can read it from an environment variable.

Calling the server directly

You don't need an MCP library to use it. Initialize, then call a tool:

::: code-group

MCP_URL='https://api.gonimbus.ai/v1/apps/mcp'
TOKEN='nmb_it_7Kp2Rt9Vx4Lb8Nc1Wz6Hd3Qm5Fs0Yj2Ea7Gu4Ci9'

curl "$MCP_URL" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"deploy-bot","version":"1.0.0"}}}'

curl "$MCP_URL" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"messages_post","arguments":{"text":"Deploy **v2.14** finished on production."}}}'
let nextId = 1
const rpc = async (method: string, params: object = {}) => {
  const response = await fetch('https://api.gonimbus.ai/v1/apps/mcp', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.HARMONY_MCP_TOKEN}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({ jsonrpc: '2.0', id: nextId++, method, params }),
  })
  if (!response.ok) throw new Error(`Harmony MCP ${response.status}: ${await response.text()}`)
  const reply = await response.json()
  if (reply.error) throw new Error(`JSON-RPC ${reply.error.code}: ${reply.error.message}`)
  return reply.result
}

await rpc('initialize', { protocolVersion: '2025-06-18', capabilities: {}, clientInfo: { name: 'deploy-bot', version: '1.0.0' } })

const result = await rpc('tools/call', {
  name: 'messages_post',
  arguments: { text: 'Deploy **v2.14** finished on production.' },
})
if (result.isError) throw new Error(result.content[0].text)
const message = result.structuredContent
import itertools
import os

import requests

session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['HARMONY_MCP_TOKEN']}"
ids = itertools.count(1)

def rpc(method, params=None):
    response = session.post(
        "https://api.gonimbus.ai/v1/apps/mcp",
        json={"jsonrpc": "2.0", "id": next(ids), "method": method, "params": params or {}},
    )
    response.raise_for_status()
    reply = response.json()
    if "error" in reply:
        raise RuntimeError(f"JSON-RPC {reply['error']['code']}: {reply['error']['message']}")
    return reply["result"]

rpc("initialize", {"protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": {"name": "deploy-bot", "version": "1.0.0"}})

result = rpc("tools/call", {"name": "messages_post", "arguments": {"text": "Deploy **v2.14** finished on production."}})
if result.get("isError"):
    raise RuntimeError(result["content"][0]["text"])
message = result["structuredContent"]

:::

{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "content": [{ "type": "text", "text": "{\"id\":\"2c7e9a41-5b3d-4f8e-a6c1-9d0b4e2f7a58\",\"object\":\"message\",…}" }],
    "structuredContent": {
      "id": "2c7e9a41-5b3d-4f8e-a6c1-9d0b4e2f7a58",
      "object": "message",
      "author": { "type": "app", "id": "app_5Hc2Lq9Rv4Tx7Nb1Mz8Kw3Pd", "name": "Deploy Bot" },
      "text": "Deploy **v2.14** finished on production.",
      "frame": null
    }
  }
}

A successful tool call returns its output twice: as JSON text in content, for clients that only read text, and as structuredContent. The structuredContent above is shortened.

App tools

Tool names use underscores, not dots, because some common MCP clients reject dots in tool names. tools/list returns each tool's full JSON Schema. These four tools are the App server only. The Harmony MCP server's messages_update edits a message the API key posted, not a message an App posted.

messages_post

Posts text, a Frame, or both to the room, as the App. Returns the created Message object, with its frame.

Argument Type Description
text string, optional Markdown, 1–16,000 characters.
frame object, optional A Frame. Send text, frame, or both.
reply_to string, optional The ID of a message in this room, to post in its thread.

messages_update

Replaces the text or Frame of a message this App posted, in this room. A field you leave out keeps its current value. Returns the updated message.

Argument Type Description
message_id string The message to update.
text string, optional New Markdown text, 1–16,000 characters.
frame object, optional A new Frame. Send text, frame, or both.

Updating a message the App didn't post fails with message_not_owned. A message that isn't in this room fails with resource_missing.

messages_read

Reads the room's latest messages, older ones page by page, or one message and its thread.

Argument Type Description
message_id string, optional Read this message and its replies, instead of the latest messages.
before string, optional Read messages older than this one: the next_before from the previous page.
limit integer, optional How many messages to return, 1–50. Default 20.

Without message_id, it returns { "messages": [ … ] }, newest first, and a next_before while there are older messages. With it, it returns { "message": { … }, "replies": [ … ] }. Every message includes its frame.

surfaces_info

Says which App this is, which organization it's in, and which room it's installed in. Takes no arguments.

{
  "object": "app_install",
  "install": "ins_8Wd3Kp6Rm1Vt4Lx9Qb2Nh7Cz",
  "app": { "id": "app_5Hc2Lq9Rv4Tx7Nb1Mz8Kw3Pd", "name": "Deploy Bot" },
  "organization": { "id": "larkspur", "name": "Larkspur Health" },
  "surface": { "kind": "workstream", "id": "3f6c2a1e-8b4d-4e2f-9a7c-5d1b0e6f2a94", "workspace": "default" }
}

Errors

Errors come back in three ways, depending on where they happen:

Where How it comes back Examples
Authentication and HTTP An HTTP error status with the usual error body. 401 missing_install_token, invalid_install_token, install_revoked; 429 rate_limited; 400 invalid_json.
Protocol A JSON-RPC error object, with HTTP 200. -32600 invalid request, -32601 unknown method, -32602 unknown tool, -32603 internal error.
Tool A normal tool result with "isError": true, whose text is the error as JSON, so the model can read it and correct itself. frame_invalid, parameter_invalid, message_not_owned, resource_missing.
{
  "jsonrpc": "2.0",
  "id": 3,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"type\":\"permission_error\",\"code\":\"message_not_owned\",\"message\":\"An App can only update messages it posted.\",\"param\":\"message_id\",\"doc_url\":\"https://docs.gonimbus.ai/api-reference/errors#message_not_owned\"}"
      }
    ],
    "isError": true
  }
}

Each install has its own rate limit allowance, shared by its MCP calls and its incoming webhook, and reported in the usual RateLimit-* headers.

FAQ

Which URL do I give Cursor?

For an agent that should keep tasks and ask the workstream agent, use https://mcp.gonimbus.ai with an API key. For an agent that should post as an App, use the install's mcp_url with that install's nmb_it_… token. They are not interchangeable.

Does the client need this page to know the tools?

No. initialize and tools/list are the catalog. This page is the map of what those tools are for. Every tool on this page is in tools/list; trust tools/list if the two ever differ.

Can the App MCP server reach other rooms?

No. The install token belongs to one room. To act in another room, install the App there and use that install's token. The Harmony MCP server can reach the rooms and workstreams its key is allowed to see.

Can I send several requests at once?

Yes. Send a JSON array of JSON-RPC requests, and the response is an array of their responses. Notifications in the batch get no response.

Can an MCP client ask Harmony Agent?

The App token cannot. It only posts, updates its own messages, and reads. The Harmony MCP server can, with agent_ask and an API key that has agent:write. You can also call the agent endpoints over REST.

What happens when I rotate the credentials?

The old token or key stops working immediately. App calls fail with 401 invalid_install_token. API-key calls fail with 401 invalid_api_key or api_key_revoked. Update the header in the client's configuration.

Is there a session to keep alive?

No. Each request stands alone, so you can call tools/call without keeping a connection open. Calling initialize first is still good practice, and most clients do it for you. agent_ask returns before the answer is ready. Poll agent_get. That is a new request, not a held connection.