Skip to content

Client portal tools

Manage portals, guests, and reports, and answer client feedback, from an MCP client.

Work with client portals

Portal tools read portals, their guests and members, shared posts and docs, comments, events, insights, feedback threads, and reports. They need portals:read, and listing the reports on a task also needs tasks:read. Most reads are for workspace owners and admins. The rules match the Client Portals API. Add toolset=portals to the connection URL to list only the portal tools and the reads that go with them.

The tools that change something need portals:write and the access the app gives you. Six answer client feedback: start a thread, reply, resolve or reopen, mark addressed, set a status, and react. Others triage reports, share or remove posts and docs, ask guests for a decision, invite and remove guests, create, update, and close portals, change a portal's branding, sections, links, access, feedback form, updates settings, and comment moderation, apply a preset, approve, reject, hide, and answer comments, block members, and open a portal's discussion. Managing portals, guests, members, and comments is for owners and admins.

A message for the guests that mentions workspace items the portal has not shared is not sent. The result has sent false and a review of those items, and nothing is shared for you. rotate_portal_token is the only tool that returns a portal link token. It returns the token once, so keep it out of logs, tasks, and posts.

The tools that create something take an idempotencyKey: creating a portal, inviting a guest, sharing a post or doc, making a task from a report, replying to a report, starting or replying to a feedback thread, and commenting as the team. A retry with the same key and arguments returns the first result instead of creating it again, and it fails with not found if you have since lost the access the first call needed.

Name a portal by its ID or, for a public portal, its slug. The portal, item, feedback, and report tools take response_format: concise, the default, returns the fields you need to pick the next call, and detailed returns every field. Lists page with cursor and nextCursor. The tool reference lists each tool.

Fix portal tool problems

A portal tool returns 403

Most portal tools are for owners and admins. Call check_auth to see which member the credential acts as and which scopes it has. Reports are also readable by a member with a portal publisher grant. If portals are turned off for the workspace, or an admin disabled external sharing, every portal read returns 403.

A portal is not found

Pass the portal ID, or the slug of a public portal. Invited portals have no slug. A portal that is not in the bound workspace is not found.

A message was not sent

If the result has sent false, the message mentions workspace items the portal has not shared. Read the review, share those items with the portal in the app, and send the message again with the same idempotencyKey. A workspace-only reply skips this check.

A list looks empty or short

list_portal_feedback returns open threads unless you pass status all. list_portal_items hides revoked items unless includeRevoked is true. An empty page can still have another page, so keep passing nextCursor while hasMore is true.

Image preview
100%