Repository navigation
Description
Integration request
Please consider adding Social Media Scraper as a hosted MCP integration in the OpenHands integration catalog.
Public service and setup
- Documentation and account setup: https://socialmediascraper.org/mcp/
- Hosted Streamable HTTP MCP: https://socialmediascraper.org/mcp
- Public REST specification: https://socialmediascraper.org/openapi.json
- Public client adapters and optional skills: https://github.com/aistudio12/socialmediascraper-mcp-node and https://github.com/aistudio12/socialmediascraper-skills
The service supplies public social-media profiles, posts, search results, comments, available transcripts and ad-library data. It does not publish posts, modify social accounts or provide private-account access.
OAuth with website sign-in is the preferred connection. Existing customers can alternatively supply their own API key in the Authorization: Bearer header. Never put credentials in the URL or catalog JSON.
Data retrieval uses the customer's existing prepaid website balance. Input validation, quotes and usage/status checks do not make a paid upstream retrieval. New requests/pages need explicit budgets. The MCP cannot buy credits or initiate checkout.
Proposed scope
Add one entry in integrations/catalog/socialmediascraper.json with docsUrl and explicit hosted MCP connection metadata, then regenerate the catalog index with the existing build:integrations command. Do not add provider-specific runtime code or change the OpenHands applications.
The first option should be hosted MCP OAuth, with an API-key fallback only if the current catalog and client support it without inventing an authentication method.
Evidence and limits
The production health endpoint reports release e5875692b53123375f7dc7adb5b384f59e0a1e41. Protocol discovery, OAuth/PKCE and free quote tool checks have separate service-side validation. This request does not claim an OpenHands interactive session or a fresh paid retrieval succeeded. Paid end-to-end validation is currently blocked by service upstream capacity and must remain a stated review limitation.
This is submitted by an AI assistant on the site owner's behalf. No credentials are included. I will keep any follow-up catalog PR linked to this issue and wait for repository readiness requirements before treating it as ready for merge.
OpenHands AI triage
The following comments and acceptance criteria were added by the OpenHands AI agent.
Triage
Verified the request's public claims against live evidence before scoping: https://socialmediascraper.org/mcp answers an unauthenticated MCP request with 401 and a Bearer WWW-Authenticate pointing at https://socialmediascraper.org/.well-known/oauth-protected-resource/mcp (scope social:read); https://socialmediascraper.org/.well-known/oauth-authorization-server publishes authorization/token/registration endpoints (https://socialmediascraper.org/oauth/authorize, /oauth/token, /oauth/register), S256-only PKCE, and token_endpoint_auth_methods: ["none"]; https://socialmediascraper.org/health reports the release e5875692b53123375f7dc7adb5b384f59e0a1e41 named in the request; both companion GitHub repositories exist; and the /mcp/ docs page documents OAuth sign-in plus the optional Authorization: Bearer API-key connection. This matches the closest existing catalog pattern, integrations/catalog/linear.json: hosted shttp MCP transport, OAuth option first, bearer API-key fallback.
Scope: add one hand-authored entry integrations/catalog/socialmediascraper.json with docsUrl and hosted MCP connection metadata (OAuth option first using the service's published endpoints; the documented bearer API-key fallback only as supported by the current catalog fields), then regenerate integrations/catalog-index.js with the existing npm run build:integrations command.
Non-goals: no provider-specific runtime code and no changes to OpenHands applications or other repositories; no REST/x-api-key (openapi.json) catalog entry in this issue; no new authentication mechanism beyond what the service publishes and the catalog schema supports; no credentials or key values in the catalog JSON; no paid upstream retrieval or credit purchase as part of this work.
Stated review limitation (carried from the request): paid end-to-end retrieval and an interactive OAuth session inside OpenHands are not claimed; the connection metadata is validated against the service's live published metadata only.
Acceptance Criteria
- A single new file
integrations/catalog/socialmediascraper.jsonexists withidequal to its filename stem (socialmediascraper) and non-emptyname,description,docsUrl(https://socialmediascraper.org/mcp/), andconnectionOptions(passestest_catalog_entries_have_required_fieldsintests/test_catalogs.py). - The first connection option is the hosted MCP OAuth option:
provider: "mcp",transport.kind: "shttp",transport.url: "https://socialmediascraper.org/mcp",auth.strategy: "oauth2", withauth.oauthcarryingauthorizationUrl: https://socialmediascraper.org/oauth/authorize,tokenUrl: https://socialmediascraper.org/oauth/token,registrationUrl: https://socialmediascraper.org/oauth/register,pkce: true,clientAuthentication: "none", and scopes matching the service's publishedscopes_supportedat PR time (currently["social:read"]). - The entry validates against
integrations/catalog.schema.json(tests/test_catalog_schema.pypasses for this file), and no credentials, tokens, or API-key values appear anywhere in the entry. - If an API-key fallback option is included, it is not the first option and uses only the service-documented
Authorization: Bearerheader (auth.strategy: "bearer",transport.kind: "shttp", same URL) without inventing a new authentication method. -
npm run build:integrationshas been run sointegrations/catalog-index.jsimports./catalog/socialmediascraper.json;tests/test_integration_catalog_in_sync.pyandtests/test_catalogs.pypass (unique id, no aggregate catalog JSON, Python snapshot in sync). - At PR time, the URLs and OAuth endpoints recorded in the entry match the service's live published metadata fetched with
curl(protected-resource metadataresource: https://socialmediascraper.org/mcpwithauthorization_servers: ["https://socialmediascraper.org"]; authorization/token/registration endpoints;scopes_supported) - a no-cost check requiring no OAuth session and no paid retrieval. - The PR description (or the entry's
notesfield) records the review limitation that paid end-to-end retrieval and an interactive OpenHands OAuth session were not performed.
Activity