Explain disabled Slack MCP app access during discovery

Recognize Slack's exact disabled-app response and return actionable setup
instructions from catalog and health routes. Bound response parsing and keep
unknown upstream errors reportable without exposing provider settings links.

Verified 361 focused tests, server typecheck, and authenticated discovery.
The three route regressions fail before this change and pass afterward.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip authored and GitHub committed 2026-09-21 20:25:06 -07:00
1 parent 3c2bc4f546
commit a7d3b17a97
6 files changed
+187

No files matched your search

+8
View File
@@ -62,6 +62,14 @@ back that step while retaining the established draft identity.
Later health checks still require the user's authorization and return an
actionable `422` error when it is missing.
### Slack app access
If Slack reports that MCP access is disabled for the app, ask the Slack app
owner to enable MCP access in the app's Slack settings, then refresh the
connection. Signing in alone does not enable that app setting. Paperclip shows
this as a setup error and keeps the connection available for retry. See
[Slack's MCP app requirements](https://docs.slack.dev/ai/slack-mcp-server/#app-identity).
### Advanced authentication
Collapsed by default. Open it when the server's docs are specific:
+4
View File
@@ -483,6 +483,10 @@ These fields contain build identifiers; they add no tenant or user identity.
refreshing its catalog returns 422 with `oauth_challenge` and the existing
setup/reconnect links. Other upstream failures still return 502 and are
reported, including an unexplained upstream HTTP 400.
- Slack's explicit response that its app has not enabled MCP access. Discovery
and health checks return 422 with `slack_mcp_access_disabled` and setup
instructions. This requires Slack's exact MCP endpoint and known error;
other HTTP 400 responses remain reportable.
- A performance trace and a profile, because `tracesSampleRate` is 0.
### Operator responsibilities