The remote client cannot connect
- Check the server URL:
https://mcp.protodesk.io/mcp. - Make sure Protodesk is enabled in your AI client’s tools or connectors menu.
- Follow the instructions for that client in Setup.
- Complete browser sign-in if the client is waiting for authentication.
Advanced: transport and registration
Advanced: transport and registration
The remote client needs Streamable HTTP, dynamic client registration, PKCE S256, and the OAuth resource parameter. See OAuth client requirements.On Codex versions that support the flag, try
codex mcp login protodesk --oauth-client-registration dcr if automatic registration fails.Documentation-search MCP URLs do not connect to workspace data. Native and server clients normally omit the Origin header; browser MCP requests from other origins are not supported.Authentication fails
Make sure you can sign in to Protodesk and are still an owner or admin of the chosen workspace. Connect again if access has expired or was revoked. If you changed fromhttps://api.protodesk.io/mcp to the new MCP address, sign in again. Tokens belong to the address originally authorized.
API keys and token lifecycle
API keys and token lifecycle
Check API-key expiry, revocation, and permissions in Settings → API. Supply the key through your client’s secure Authorization header setting, never in a URL.OAuth access tokens last 15 minutes and use rotating refresh tokens. Connections expire after 90 days. Authorization-code reuse or refresh-token reuse revokes the connection; start a fresh sign-in flow rather than retrying old credentials. OAuth tokens do not authenticate REST API calls.
A tool is missing
Compare the permissions reported byworkspace_context with Available tools. Connect again and approve the access you need:
- Evelin: read conversations and use Evelin.
- Help Center proposals: read Help Center and propose content.
- Reply delivery: send messages.
- Customer or conversation updates: the matching write permission.
Evelin rejects the connection or result
Check that Evelin access is approved and the person who created the connection is still a workspace owner or admin. A result belongs to the exact connection that generated it; reconnecting does not transfer earlier private results. The assistant needs to wait for generation to finish before retrieving the output. If Evelin says no reply is needed, ask it to explain that decision instead of repeatedly requesting new drafts.Error codes, runs, and older API keys
Error codes, runs, and older API keys
ai.connection_required can indicate an ineligible owner/admin or an older key without a recorded human creator. Create a replacement for an unowned key in Settings → API.Poll get_evelin_run before get_evelin_result. A 404 result can mean it is unfinished, absent, expired, redacted, or owned by another connection. A reply guard can finish without a draft; inspect the reply-guard result. A disabled runtime returns 503 for new work. Do not loop new chargeable requests.See Evelin run handling for details.A write returns a conflict
Ask the assistant to read the current resource before trying again. For Help Center edits, the proposal must use the current article revision.Workspace IDs and retry keys
Workspace IDs and retry keys
Use the internal
workspaceId from workspace_context, not the workspace address slug in General settings. Writes confirm it using expectedWorkspaceId.Do not reuse an idempotency key with changed inputs. Read the latest article revision and prepare a new proposal when the article has changed. An identical retry should use the original arguments and key.A request times out
Ask the assistant to check what happened before repeating the action. It should read the conversation, message, proposal, or AI run using any returned ID. Do not send another reply just because the first call timed out. For operations supporting safe retries, reuse the same arguments and idempotency key. A new key can create a second action or another chargeable generation.A request is too large
Ask the assistant to split the work into smaller requests. Article sets allow at most 20 candidates.Request and response limits
Request and response limits
MCP requests are limited to 128 KiB, tool request bodies to 64 KiB, and responses to 2 MiB. Draft input for Evelin rewrite is limited to 20,000 characters. Reduce the number or size of items in one request.
A review link is relative
Open it relative tohttps://app.protodesk.io and sign in to the authorized workspace. The review link does not grant dashboard access.
Disconnect an assistant
In the selected Protodesk workspace, open Settings → Connected clients and revoke its access. Removing a saved server from your AI client is not a substitute for checking its grant in Protodesk. Revoke API keys separately in Settings → API.Advanced: the optional local adapter cannot start
Advanced: the optional local adapter cannot start
This applies only to the existing local Help Center adapter. Remote clients should follow Setup.Check the executable path, file permissions, stdio support, and
PROTODESK_AUTHORING_KEY in the adapter process’s environment. Set PROTODESK_API_ORIGIN to https://api.protodesk.io without /v1. HTTPS is required by default; PROTODESK_ALLOW_LOCAL_HTTP=true is for loopback development only.Follow the local adapter guide, then call authoring_context. Its tool names differ from the remote server.