mcp-server
v0.1.3PageRankCafe MCP server: create and post ads, read performance, query platform insights.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health Health check
Checks API connectivity and returns the authenticated user's username and membership status. Does not require a paid membership; available to free accounts too.
list_links List links
Returns all active, non-reported link ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
list_banners List banners
Returns all active banner ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
list_youtube_ads List YouTube ads
Returns all active, non-reported YouTube video ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
list_press_releases List press releases
Returns all active, non-reported press releases / blog articles owned by the authenticated user. Does not require a paid membership; available to free accounts too.
get_credits Get credit balance
Returns available credits, available post slots, links viewed, and links remaining for the authenticated user. Does not require a paid membership; available to free accounts too.
get_referral_stats Get referral stats
Returns referral counts for today, last 7 days, last 30 days, and all time for the authenticated user. Does not require a paid membership; available to free accounts too.
upload_image Upload an image
Uploads an image (max 2MB; JPG, PNG, GIF, WEBP) and returns a hosted HTTPS URL for use as a banner image or inline article image. Provide either a local file path or base64 content plus a filename. When type is "banner" the image must match a supported banner dimension (728x90, 300x250, 120x600, 160x600, 468x60, 336x280, 250x250, 851x315, 650x400, 800x82, 234x60, 125x125, 300x200, 120x240, 240x400, 150x60). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
type * | string | Image category: 'banner' (must match a supported ad size) or 'article'. |
base64 | string | Base64-encoded image content. Provide together with filename. Ignored if file_path is set. |
file_path | string | Absolute or relative local path to the image file to upload. |
filename | string | Filename to use when uploading base64 content (e.g. 'banner.png'). |
create_banner Create a banner
Creates a new banner ad. The image URL must be HTTPS and match a supported dimension; the ad location is detected automatically from the image size. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
title * | string | Banner title. |
url * | string | HTTPS URL to the banner image. Supported sizes: 728x90, 300x250, 120x600, 160x600, 468x60, 336x280, 250x250, 851x315, 650x400, 800x82, 234x60, 125x125, 300x200, 120x240, 240x400, 150x60. |
url_target * | string | HTTPS click-through destination URL. |
post_banner Post a banner with credits
Posts an existing banner into rotation using credits (paid members: 1-2 days, 10 credits/day). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
banner_id * | integer | ID of the banner to post. |
days | integer | Duration in days (paid members: 1-2). Default 1. |
create_youtube_ad Create a YouTube ad
Creates a new YouTube video ad; the video ID is derived automatically from the link. Creating with status 1 (default) emails your followers once, ever, per video - pass status 0 to create it silently as Disabled. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
title * | string | Video ad title. |
youtube_link * | string | YouTube video URL (youtube.com/watch, youtu.be, embed, or /v/ formats). |
description | string | Optional description. |
status | 1 = Active (default, notifies followers), 0 = Disabled (silent). |
update_youtube_ad Update a YouTube ad
Partially updates an existing YouTube ad you own; only supplied fields change. Setting status to 1 (Active) emails followers, once ever, per ad. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
youtube_ad_id * | integer | ID of the video ad to update (must belong to you). |
description | string | Ad description. |
status | 1 = Active (emails followers once ever), 0 = Disabled. | |
title | string | Ad title. |
youtube_link | string | YouTube video URL; the video ID is re-derived from it. |
create_press_release Create a press release
Creates a new press release / blog article. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
body * | string | Full article HTML content. |
intro * | string | Short introduction text. |
slug * | string | URL slug (must be unique). |
title * | string | Article title. |
url * | string | HTTPS source URL. |
meta_description | string | SEO meta description. |
update_press_release Update a press release
Partially updates an existing press release you own; only supplied fields change. Setting status to 1 (Active) emails followers, once ever, per article. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
press_release_id * | integer | ID of the article to update (must belong to you). |
body | string | Full article HTML content. |
intro | string | Short introduction text. |
meta_description | string | SEO meta description. |
slug | string | URL slug (must be unique). |
status | 1 = Active (emails followers once ever), 0 = Disabled. | |
title | string | Article title. |
url | string | HTTPS source URL. |
post_press_release Post a press release with credits
Posts an existing press release to the home-page widget using credits (paid members: 7 days, 70 credits). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
press_release_id * | integer | ID of the press release to post. |
days | integer | Duration in days (paid members: 7). Default 7. |
create_link Create a link ad
Creates a new link ad. Mirrors the web "add link" flow. Returns the new link's id. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
| Parameter | Type | Description |
|---|---|---|
title * | string | Link ad title. |
url * | string | HTTPS destination URL for the link ad. |
post_link Post a link ad with credits
Posts an existing link ad into rotation using credits, mirroring the web free-post flow. Sponsored (paid via PayPal/Stripe) posts are not exposed here and stay on the website, so ad_days must be 0. view_time and view_credits are derived server-side from icon/bold/double_time (the same schedule the web free-post form uses) and are not accepted as input, since view_credits is the credit reward funded by other members' views. If the posting user needs approval, the post is created pending and the response reports status "pending" with a message explaining it awaits approval before going live; oth…
| Parameter | Type | Description |
|---|---|---|
ad_days * | number | Must be 0. Sponsored/paid link placements (ad_days > 0) require PayPal/Stripe checkout and are not available via the API. |
link_id * | integer | ID of the link to post (must belong to the caller). |
bold | boolean | Bold the link text (adds credit cost). |
double_time | boolean | Double the ad's view time (view_time 6s -> 12s, +8 credits), matching the web free-post form's "double view time" option. |
icon | boolean | Show an icon next to the link (adds credit cost). |
list_posts List ad placement performance
Returns one row per ad placement (post) with the performance fields that exist for that ad type: banners (impressions, clicks, ctr, start_date, end_date, days), links (views, view_credits, ad_days, icon, bold, view_time, date_posted), youtube (impressions, start_date, end_date, days), press releases (views, start_date, end_date, days). Does not require a paid membership; available to free accounts too.
| Parameter | Type | Description |
|---|---|---|
type * | string | Ad type to list placements for. |
status | string | Filter placements by status. Omit to return all. |
get_platform_insights Get platform insights
Returns trailing-30-day platform performance aggregates: banners by location (active placements, impressions/placement/day, average CTR), links by option bucket (icon/bold/view_time/view_credits: active placements, average views/placement/day), YouTube ads (active placements, average impressions/placement/day), press releases (active placements, average views/article/day), platform daily total views, and current credit/cash prices and tier discounts. Aggregates only, no per-member data. Cached for one hour. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.