SocialMediaScraper: a locally tested Vue 3 workbench for offline MCP request planning #16504
aistudio12
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
SocialMediaScraper — socialmediascraper.org · API documentation · Current pricing
I built a small original MIT Vue3 workbench for offline API request planning. Developers can search bundled operation metadata, inspect parameter schemas and preview synthetic requests through a real local Node/MCP backend. It needs no LLM or customer key.
Source, exact installation and scope · Vue Composition API client · Template · Local backend
The actual workflow
tiktokfilters that fixed snapshot to28.tiktok_profilereturns its input schema and required-any-of fields.{"handle":"synthetic_example"}returns a planned URL/price-version estimate withrequest_sent:false. The handle is clearly synthetic; no real account is fetched.The official website/docs/pricing are visible clickable anchors at the top of the UI. There is no execution control or API-key entry.
A few Vue details
createApp,ref,computed,v-modeland event handlers drive the real UI. Buttons reflect busy state; result JSON uses escaped text interpolation, withoutv-html. Each new action clears the old result. Malformed JSON is rejected before fetch and also clears a prior success, so stale output cannot look like a newly successful preview.The browser ESM build is served from the locked local Vue dependency at
/vendor/vue.mjs; no CDN assets, iframe or Vite build are involved. The backend has a fixed static-file allowlist and three local planning endpoints. It performs genuine initialize/listTools/callTool/close cycles and allows only search/inspect/preview.Run it locally
The README contains the complete hash-locked
npm ci --ignore-scripts, existing GitHub development-tarball install, installed CLI resolution and launch commands. SetSMS_MCP_ENTRYto that trusted local CLI path, runnode server.mjs, then openhttp://127.0.0.1:8768/.This is public source;
private:truein its manifest prevents npm publication. The adapter is installed from the immutable GitHubv0.1.1development archive (SHA25698d24faf…39fcc0e), not an npm registry package. Installation downloads dependencies; runtime validation reused an installed adapter matching all13 archive files rather than claiming a fresh dependency installation.What I actually verified
Vue3.5.46, official MCP client2.4.0 and Node22.22.3 on macOS arm64. A real browser mounted Vue and clicked through full catalog197, filtered catalog28, operation inspection, synthetic preview and a real nested-parameter rejection. Malformed JSON kept the browser's preview-request count unchanged at1 and cleared the prior result. All observed page resources were on the loopback origin, with no external asset tags.
Five genuine MCP sessions initialized and closed. The application socket guard recorded0 outgoing attempts; all five child guards recorded0; model/provider/paid calls=0. Browser-to-loopback HTTP requests occurred normally. The standalone public CLI separately loaded/mounted the page, made0 planning calls and exited0 after one Ctrl+C; it explicitly closes browser-held connections.
This establishes a local browser/Node workflow, not a hosted app or deployment to SocialMediaScraper's production website. Node>=20 is declared, but Node20, other OSes, other browsers, concurrency/load, accessibility and mid-request cancellation were not directly tested. Vue's separate Vite/create-vue runtime requirements do not apply to this unbundled example, and I am not claiming to have tested that scaffolder.
Costs and limits
Each subprocess receives an empty customer key, paid requests false and process budget0. The fixed local MCP advertises four tools, while this backend permits three planning tools. No automatic retry, pagination or top-up is implemented. The separate hosted MCP's six documented tools/OAuth were not exercised.
The197-operation catalog and price version are historical snapshots. Matching current schema labels does not establish parity; optional headers/response codes can differ. Estimates are not live quotes or billing caps. A planned
/v1/URL inside JSON is metadata, not proof of API access or a documentation landing page. Free source/install/local preview does not mean free data requests: actual data execution requires the customer's own SocialMediaScraper credentials and prepaid credits. Check the linked official docs/pricing before a separate paid integration.Use synthetic values and trusted local executable paths. This example is not designed for untrusted public exposure. Feedback on the reactive error/result handling and local backend boundary is welcome. No Vue endorsement, marketplace listing or maintainer approval is claimed.
All reactions