pagerankcafe-mcp
Officialpagerankcafe-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
Create a PageRankCafe account at https://pagerankcafe.com.
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.
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.
Related MCP server: flour-ads
Configuration
The server reads its configuration from environment variables:
Variable | Required | Default | Description |
| Yes | — | Your API key from |
| No |
| API base URL. Override only for testing against a non-production environment. |
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pagerankcafe": {
"command": "npx",
"args": ["-y", "pagerankcafe-mcp"],
"env": {
"PAGERANKCAFE_API_KEY": "your-api-key-here"
}
}
}
}Claude Code
claude mcp add pagerankcafe --env PAGERANKCAFE_API_KEY=your-api-key-here -- npx -y pagerankcafe-mcpCursor
Add to your Cursor MCP settings (~/.cursor/mcp.json or the project's .cursor/mcp.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.
Tool | Membership | Description |
| Free | Checks API connectivity and returns the authenticated user's username and membership status. |
| Free | Lists your active link ads. |
| Free | Lists your active banner ads. |
| Free | Lists your active YouTube video ads. |
| Free | Lists your active press releases / blog articles. |
| Free | Returns your credit balance, available post slots, links viewed, and links remaining. |
| Free | Returns your referral counts (today, 7 day, 30 day, all time). |
| Free | Returns per-placement performance for link, banner, YouTube, or press-release ads. |
| Paid | Uploads an image (local file path or base64) and returns a hosted HTTPS URL. |
| Paid | Creates a new banner ad. |
| Paid | Posts an existing banner into rotation using credits. |
| Paid | Creates a new YouTube video ad. |
| Paid | Partially updates an existing YouTube ad you own. |
| Paid | Creates a new press release / blog article. |
| Paid | Partially updates an existing press release you own. |
| Paid | Posts an existing press release to the home-page widget using credits. |
| Paid | Creates a new link ad. |
| Paid | Posts an existing link ad into rotation using credits (free/credit posts only: |
| Paid | Trailing-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
npm install
npm run build # compiles src/ to dist/ with tsc
npm 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
Related MCP Connectors
MCP server for QPost — lets AI agents publish video and image posts to YouTube, TikTok, Instagram.
MCP-native ad server. Monetize AI chatbots and agents with conversational ads.
Google Ads MCP server — manage campaigns, keywords, and metrics.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for AI agents to manage ad campaigns across Google, Meta, LinkedIn, Microsoft, Reddit, TikTok, and more2127817MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for managing ad campaigns across Google Ads, Meta, and more. Enables deploying campaigns, checking performance, and managing budgets from terminal or AI assistants.MIT
- AlicenseAqualityDmaintenanceAn MCP server for the OpenAI Ads (ChatGPT Ads) Advertiser API, providing tools for agent-led performance marketing such as finding dead ads, auditing near-duplicate copy, and auditing ad-group context hints.18MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for the Vibe-Marketer Agent API that enables generating ads, auditing landing pages, and running local preflight checks on ad compliance, with an autonomous agent loop to improve results.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PageRankCafe/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server