Skip to content

docs(mcp): document scrape_artist_socials, get_scraper_results, get_artist_posts - #38

Merged
sweetmantech merged 3 commits into
mainfrom
docs/mcp-social-scrape-posts-tools
Nov 14, 2026
Merged

sweetmantech merged 3 commits into
mainfrom
docs/mcp-social-scrape-posts-tools

Conversation

@sweetmantech

@sweetmantech sweetmantech commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Before: the MCP server page lists tool families but says nothing about scraping an artist's socials, reading a scrape run, or listing an artist's posts from MCP.

After: a "Social scrapes and posts" section on mcp-server.mdx documents scrape_artist_socials, get_scraper_results and get_artist_posts: their inputs, outputs, credit cost ($0.05 per started profile plus $0.01 per requested post), and that they are available to API-key and full mcp:tools connections but not the limited mcp:read/mcp:write grant. The section is marked pending until recoupable/api#1243 deploys.

How: authored in content/docs/source/mcp-server.mdx; manifest.json and llms-full.txt regenerated with pnpm docs:build. content/docs/contracts/mcp-inventories.json is pinned to an API commit, so it is refreshed only after api#1243 merges.

Checks run locally: pnpm docs:build, pnpm docs:check, pnpm test (154 tests) and pnpm lint pass.

Merge order: this PR first, then recoupable/api#1243.

Tracking: recoupable/app#2396 (the chat repo)


Generated by Claude Code


Summary by cubic

Documents the scrape_artist_socials, get_scraper_results, and get_artist_posts MCP tools in a new "Social scrapes and posts" section on the MCP server docs page.

  • Covers each tool's inputs, outputs, and credit cost ($0.05 per started profile plus $0.01 per requested post), mirroring the REST endpoints.
  • Notes the tools work with API-key and mcp:tools connections but not mcp:read/mcp:write grants.
  • Documents that when every linked profile fails to start, the call returns a tool error and nothing is charged.
  • Section is marked pending until feat(mcp): add scrape_artist_socials, get_scraper_results, get_artist_posts tools api#1243 deploys; this PR merges first, then the API release.
  • Regenerates manifest.json and llms-full.txt via pnpm docs:build.

Written for commit efeed69. Summary will update on new commits.

View guided diff Turn on auto-fix

…rtist_posts

Contract for recoupable/api#1243 (pending until that release deploys).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 14, 2026 5:19am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sweetmantech

Copy link
Copy Markdown
Contributor Author

Preview verification (docs-git-docs-mcp-social-scrape-posts-tools-recoup.vercel.app, 69f42aa)

Rendered /mcp-server on the PR preview (Vercel status success for 69f42aa7) in a headless browser at 1440x900 (dark + light) and 390x844 (light).

Check Expected Actual
New section renders ## Social scrapes and posts after Release Packs renders, anchor #social-scrapes-and-posts
On-this-page TOC lists the new section listed last, after Release Packs
Three tools documented scrape_artist_socials, get_scraper_results, get_artist_posts with inputs, outputs, cost, grant availability all three present; inputs/outputs match api#1243 a23eae9 tool schemas; $0.05/profile + $0.01/post; excluded from limited mcp:read/mcp:write
Inline links resolve /api-reference/artist/socials-scrape 200, /api-reference/apify/scraper 200, /api-reference/posts/get 200, api#1243 200
Inline code / bullets wrap no overflow no horizontal scroll at 390px (scrollWidth 390 = viewport)
Light + dark readable in both both readable; code chips contrast OK

Drift found: api#1243 2b67e270 is not documented

api#1243's latest commit (2b67e270, "return a tool error when scrape_artist_socials starts no run") makes scrape_artist_socials return a tool error, No scrape runs started: <reasons>. No credits were charged., when every linked profile fails to start. The closing paragraph here lists only access errors, an unknown artist and insufficient credits. It needs that case added before merge. This also gets checked when api#1243 is re-verified on 2b67e270 with a real Apify run.

Screenshots

Desktop, dark: page top with new TOC entry
desktop dark toc

Desktop, dark: section
desktop dark section

Desktop, light: section
desktop light section

Mobile 390px, light: section start / end


Generated by Claude Code

Matches api#1243 2b67e270: when every linked profile fails to start, the tool
returns a tool error listing each failure and nothing is charged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tightens scrape_artist_socials and get_scraper_results to match the api#1243
tool descriptions; content unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor Author

Preview recheck (docs-git-docs-mcp-social-scrape-posts-tools-recoup.vercel.app, efeed69)

Rendered /mcp-server#social-scrapes-and-posts on the PR preview (Vercel status success for efeed696) after trimming each tool entry to three sentences or fewer.

Check Expected Actual
scrape_artist_socials entry 3 sentences, cost and no-run error kept 3 sentences; $0.05/profile + $0.01/post, runs: [], tool error with nothing charged
get_scraper_results entry 3 sentences 3 sentences
get_artist_posts entry 3 sentences or fewer 3 sentences, unchanged
api#1243 tool description matches, 3 sentences 6c1a165e folds the cost into the first sentence; a unit test keeps it at 3
Light + dark, desktop 1440px readable both readable
Narrow width no overflow 500px (the narrowest this browser allows, not 390px): text and code chips wrap, no sideways scroll visible

Screenshots

Desktop, light
desktop light

Desktop, dark
desktop dark

Narrow 500px, light


Generated by Claude Code

@sweetmantech
sweetmantech marked this pull request as ready for review November 14, 2026 06:15
@sweetmantech
sweetmantech merged commit 1d017f9 into main Nov 14, 2026
6 checks passed
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.

2 participants