Pagerankcafe

com.pagerankcafe由 pagerankcafe.com 发布v0.1.3更新于 Oct 24, 2026

PageRankCafe MCP server: create and post ads, read performance, query platform insights.

已验证STDIO仅桌面数据与分析商业与电商

概览

AI 生成的概览

PageRankCafe MCP 服务器让 AI 助手读取广告表现,并在付费方案下创建和投放链接、横幅、YouTube 及新闻稿广告。

可以做什么
检查 API 连通性、账户会员状态、积分余额和推荐统计,并列出进行中的链接、横幅、YouTube 和新闻稿广告及按投放位表现。上传图片并返回托管链接。创建和更新链接、横幅、YouTube 与新闻稿广告。使用积分将已有广告投入轮播。付费方案下获取近 30 天平台整体表现汇总和当前价格。
适用场景
适合在运营 PageRankCafe 广告时,让助手查看投放表现、查询积分,或在对话中起草并发布新广告。只读功能在免费账户即可使用;创建和投放广告需要付费会员。
运行要求
通过 npx 在本地运行(需 Node.js)。需要 PageRankCafe 账户,并在 PAGERANKCAFE_API_KEY 中提供 API 密钥,服务器启动时即需要。可选 PAGERANKCAFE_BASE_URL 可覆盖 API 地址。需能访问 pagerankcafe.com。账户注册和密钥生成需在网站手动完成。
安装前请注意
API 密钥是敏感信息,通过环境变量传入。写入类工具会创建和投放广告并消耗积分,可能产生费用;投放还可能因需审批而返回待处理状态。上传的图片会发送到 PageRankCafe 并由其托管。付费工具在免费账户上会失败。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Pagerankcafe,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

pagerankcafe-mcp

The marketing platform for your AI agents.

An MCP (Model Context Protocol) server for the PageRankCafe API. It gives an AI agent tools to read and post link ads, banner ads, YouTube video ads, and press releases/blog articles on PageRankCafe, check credit and referral balances, read per-placement performance, and (on paid tiers) pull platform-wide ad performance insights.

Getting a key

  1. Create a PageRankCafe account at https://pagerankcafe.com.
  2. Upgrade to a paid membership (Bronze/Silver/Gold) at https://pagerankcafe.com/membership-info if you want to use the write and insights tools. Read tools work on a free account too.
  3. Generate an API key at https://pagerankcafe.com/apiKeys.

Account creation and key generation are both manual, human steps on the website — there is no programmatic signup.

Configuration

The server reads its configuration from environment variables:

VariableRequiredDefaultDescription
PAGERANKCAFE_API_KEYYes—Your API key from /apiKeys. The server exits immediately with an error if this is not set.
PAGERANKCAFE_BASE_URLNohttps://pagerankcafe.comAPI base URL. Override only for testing against a non-production environment.

Install

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "pagerankcafe": {      "command": "npx",      "args": ["-y", "pagerankcafe-mcp"],      "env": {        "PAGERANKCAFE_API_KEY": "your-api-key-here"      }    }  }}

Claude Code

bash
claude mcp add pagerankcafe --env PAGERANKCAFE_API_KEY=your-api-key-here -- npx -y pagerankcafe-mcp

Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json or the project's .cursor/mcp.json):

json
{  "mcpServers": {    "pagerankcafe": {      "command": "npx",      "args": ["-y", "pagerankcafe-mcp"],      "env": {        "PAGERANKCAFE_API_KEY": "your-api-key-here"      }    }  }}

Tools

Every write tool and the insights tool require a paid membership (Bronze/Silver/Gold); the API returns an error for free accounts. Read tools work on any valid key, including free accounts.

ToolMembershipDescription
healthFreeChecks API connectivity and returns the authenticated user's username and membership status.
list_linksFreeLists your active link ads.
list_bannersFreeLists your active banner ads.
list_youtube_adsFreeLists your active YouTube video ads.
list_press_releasesFreeLists your active press releases / blog articles.
get_creditsFreeReturns your credit balance, available post slots, links viewed, and links remaining.
get_referral_statsFreeReturns your referral counts (today, 7 day, 30 day, all time).
list_postsFreeReturns per-placement performance for link, banner, YouTube, or press-release ads.
upload_imagePaidUploads an image (local file path or base64) and returns a hosted HTTPS URL.
create_bannerPaidCreates a new banner ad.
post_bannerPaidPosts an existing banner into rotation using credits.
create_youtube_adPaidCreates a new YouTube video ad.
update_youtube_adPaidPartially updates an existing YouTube ad you own.
create_press_releasePaidCreates a new press release / blog article.
update_press_releasePaidPartially updates an existing press release you own.
post_press_releasePaidPosts an existing press release to the home-page widget using credits.
create_linkPaidCreates a new link ad.
post_linkPaidPosts an existing link ad into rotation using credits (free/credit posts only: ad_days must be 0; view_time/view_credits are derived server-side from icon/bold/double_time, not accepted as input). Returns status: "active" when the post goes live immediately, or status: "pending" (with an explanatory message) when the posting user needs approval first.
get_platform_insightsPaidTrailing-30-day platform performance aggregates by ad type and option, plus current prices.

Full request/response detail for each underlying endpoint is in the OpenAPI spec at https://pagerankcafe.com/api/spec (rendered at https://pagerankcafe.com/api/docs).

Error handling

Every tool returns the API's JSON response as the tool result on success. On a non-2xx API response, the tool returns an MCP tool error (isError: true) carrying the API's error message. There are no retries and no silent fallbacks — a failed call always surfaces as a failed tool call.

Development

bash
npm installnpm run build   # compiles src/ to dist/ with tscnpm test        # builds, then runs the stdio smoke test (no network required)

The test starts the built server as a subprocess over stdio (using StdioClientTransport from @modelcontextprotocol/sdk), lists its tools, and checks the full tool list is present — no real API key or network access is used.

来源:README.md,提交 92ac828

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分