com.pagerankcafe/mcp-server

Registre officiel Marketing et ventes

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package pagerankcafe-mcp
Claude Code
claude mcp add com-pagerankcafe-mcp-server -e 'PAGERANKCAFE_API_KEY=<your pagerankcafe_api_key>' -e 'PAGERANKCAFE_BASE_URL=https://pagerankcafe.com' -- npx -y pagerankcafe-mcp@0.1.3
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "com-pagerankcafe-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "pagerankcafe-mcp@0.1.3"
            ],
            "env": {
                "PAGERANKCAFE_API_KEY": "<your pagerankcafe_api_key>",
                "PAGERANKCAFE_BASE_URL": "https://pagerankcafe.com"
            }
        }
    }
}

Variables d'environnement

  • PAGERANKCAFE_API_KEY obligatoire secret Your PageRankCafe API key, generated at https://pagerankcafe.com/apiKeys after creating an account at https://pagerankcafe.com.
  • PAGERANKCAFE_BASE_URL API base URL. Override only for testing against a non-production environment.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. pagerankcafe-mcp
  2. Getting a key
  3. Configuration
  4. Install
  5. Tools
  6. Error handling
  7. Development

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:

{
  "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-mcp
Cursor

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.

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

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.

Questions fréquentes

Qu'est-ce que com.pagerankcafe/mcp-server ?

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

Comment installer com.pagerankcafe/mcp-server ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add com-pagerankcafe-mcp-server -e 'PAGERANKCAFE_API_KEY=<your pagerankcafe_api_key>' -e 'PAGERANKCAFE_BASE_URL=https://pagerankcafe.com' -- npx -y pagerankcafe-mcp@0.1.3. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour com.pagerankcafe/mcp-server ?

Oui. Il attend PAGERANKCAFE_API_KEY, à renseigner dans sa configuration.

com.pagerankcafe/mcp-server est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient com.pagerankcafe/mcp-server ?

Il est publié par PageRankCafe. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.