Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions integrations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ export interface OAuthProviderRegistrationDefaults {
toolDescription?: string;
requestMethod?: string;
requestPath?: string;
/**
* Provider-specific, HTTP-status-keyed error hints surfaced to the user when
* a managed connector call fails (e.g. HubSpot 401/403 reconnection advice).
* Keeps provider knowledge out of the hub's own source.
*/
errorHints?: Record<number, string>;
}

export interface OAuthProviderCatalogOption {
Expand Down
6 changes: 6 additions & 0 deletions integrations/oauth-provider-registration-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ const registrationDefaults = {
scopes: [],
credentialHelp:
"Use the client ID and secret from a HubSpot MCP auth app (Development → MCP Auth Apps). Standard HubSpot OAuth apps and private apps will not authenticate with mcp.hubspot.com.",
errorHints: {
Comment thread
neubig marked this conversation as resolved.
401:
"HubSpot MCP requires a user-level OAuth token from a HubSpot MCP auth app. Reconnect HubSpot with an MCP auth app instead of a standard HubSpot OAuth app or private app.",
403:
"HubSpot MCP may need reauthorization to grant the current server tool scopes. Disconnect and reconnect HubSpot, then try discovery again.",
},
},
zendesk: {
apiBaseUrl: "https://{subdomain}.zendesk.com/api/v2",
Expand Down
Loading
Loading