Publication keyGenerated from lib/mcp.ts

dispatch_add_collaborator

Invites a collaborator: another Dispatch user who manages this publication with the owner. No invite email is sent yet.

Invite a collaborator: another Dispatch user who manages this publication with the owner. Role 'editor' manages issues and settings; 'admin' also changes the author profile. No invite email is sent yet; the invite email and accept flow are a later step.

  • Use it when: When the owner wants a teammate to manage a publication: an editor runs issues and settings, an admin also changes the author profile.
  • Don't use it when: Do not use it to change a collaborator's role. Change it from the publication settings instead.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_add_collaborator

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_add_collaborator.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
emailstringRequiredEmail of the Dispatch user to invite
rolestringOptional'editor' (default) or 'admin'

Returns

collaborator.id string
The collaborator record id.
collaborator.email string
The invited email.
collaborator.role string
editor or admin.
collaborator.status string
invited until the accept flow lands.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Publication not foundThe publicationId does not exist.List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>.
A valid email is requiredThe email has no @ or is empty.Pass the teammate's full email address.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools