mcp-server

v0.1.3
com.pagerankcafe/mcp-server Checked 4 days ago Published 2 months ago

PageRankCafe 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_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.

ParameterTypeDescription
type *stringImage category: 'banner' (must match a supported ad size) or 'article'.
base64stringBase64-encoded image content. Provide together with filename. Ignored if file_path is set.
file_pathstringAbsolute or relative local path to the image file to upload.
filenamestringFilename 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.

ParameterTypeDescription
title *stringBanner title.
url *stringHTTPS 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 *stringHTTPS 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.

ParameterTypeDescription
banner_id *integerID of the banner to post.
daysintegerDuration 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.

ParameterTypeDescription
title *stringVideo ad title.
youtube_link *stringYouTube video URL (youtube.com/watch, youtu.be, embed, or /v/ formats).
descriptionstringOptional description.
status1 = 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.

ParameterTypeDescription
youtube_ad_id *integerID of the video ad to update (must belong to you).
descriptionstringAd description.
status1 = Active (emails followers once ever), 0 = Disabled.
titlestringAd title.
youtube_linkstringYouTube 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.

ParameterTypeDescription
body *stringFull article HTML content.
intro *stringShort introduction text.
slug *stringURL slug (must be unique).
title *stringArticle title.
url *stringHTTPS source URL.
meta_descriptionstringSEO 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.

ParameterTypeDescription
press_release_id *integerID of the article to update (must belong to you).
bodystringFull article HTML content.
introstringShort introduction text.
meta_descriptionstringSEO meta description.
slugstringURL slug (must be unique).
status1 = Active (emails followers once ever), 0 = Disabled.
titlestringArticle title.
urlstringHTTPS 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.

ParameterTypeDescription
press_release_id *integerID of the press release to post.
daysintegerDuration in days (paid members: 7). Default 7.

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…

ParameterTypeDescription
ad_days *numberMust be 0. Sponsored/paid link placements (ad_days > 0) require PayPal/Stripe checkout and are not available via the API.
link_id *integerID of the link to post (must belong to the caller).
boldbooleanBold the link text (adds credit cost).
double_timebooleanDouble the ad's view time (view_time 6s -> 12s, +8 credits), matching the web free-post form's "double view time" option.
iconbooleanShow 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.

ParameterTypeDescription
type *stringAd type to list placements for.
statusstringFilter 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.