Skip to content

fix(mcp): stop the ChatGPT server hiding Threads accounts as ads - #52

Open
Zernio-Elean wants to merge 1 commit into
developfrom
fix/chatgpt-mcp-threads-hidden-as-ads
Open

Zernio-Elean wants to merge 1 commit into
developfrom
fix/chatgpt-mcp-threads-hidden-as-ads

Conversation

@Zernio-Elean

Copy link
Copy Markdown
Contributor

Why

The ChatGPT connector (/chatgpt) filtered ad connections with platform.endswith("ads"). threads ends in ads, so every ChatGPT user with Threads saw no Threads account in list_social_accounts, and validate_post / schedule_post / publish_post_now rejected Threads ids with "Unknown account id". Introduced in #44. Reported by a customer (Crisp session_072cac5c), Linear GET-1119.

What

  • _is_posting_account checks an explicit _AD_PLATFORMS frozenset (metaads, tiktokads, googleads, linkedinads, pinterestads, xads, openaiads, redditads, whopads) instead of the suffix.
  • Tests: fixture gains a Threads and a redditads account; list test asserts Threads listed and both ad accounts hidden; new schedule_post test accepts a Threads id. Both fail without the fix (2 failed), full suite 282 passed, 14 skipped.
  • CHANGELOG entry under Unreleased.

Follow-ups

  • Merging to develop deploys mcp.zernio.com via Railway, so this is held for Elean's merge.

🤖 Generated with Claude Code

_is_posting_account dropped every platform ending in "ads" to keep ad
connections out of the ChatGPT surface. "threads" ends in "ads", so
list_social_accounts omitted Threads accounts and validate_post,
schedule_post and publish_post_now rejected their ids with "Unknown
account id". Ad platforms are now an explicit list.

Linear: GET-1119
Crisp: https://app.crisp.chat/website/20dea5d6-a684-4c80-b097-2258b0b41421/inbox/session_072cac5c-634b-4531-9e7b-f62307ad510c/

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant