Castance

v1.0.1
com.castance/castance Checked 4 days ago Published 16 days ago

Post, schedule and measure on 12 social networks, with approval before anything goes live.

Official remote Model Context Protocol (MCP) server for Castance — publish and schedule posts, manage comments and direct messages, read analytics, and run ad campaigns across 14+ social and advertising platforms from Claude, ChatGPT, Cursor, Claude Code, OpenAI Codex CLI, VS Code, and Gemini CLI. 1-Click Install - Cursor: Install Castance MCP in Cursor - VS Code: Install Castance MCP in VS Code Then run /mcp inside Claude Code and choose Castance to sign in. This repo also ships .claude-plugin/plugin.json and .mcp.json for Claude Code plugin installs.

Summary extracted from the README.

Castance MCP Server

Official remote Model Context Protocol (MCP) server for Castance — publish and schedule posts, manage comments and direct messages, read analytics, and run ad campaigns across 14+ social and advertising platforms from Claude, ChatGPT, Cursor, Claude Code, OpenAI Codex CLI, VS Code, and Gemini CLI.

Quick Install

1-Click Install

Paste into your AI coding agent

Set up Castance MCP from https://castance.com/docs/mcp

Claude Code

claude mcp add --transport http castance https://castance.com/mcp

Then run /mcp inside Claude Code and choose Castance to sign in. This repo also ships .claude-plugin/plugin.json and .mcp.json for Claude Code plugin installs.

OpenAI Codex CLI

codex mcp add castance --url https://castance.com/mcp
codex mcp login castance

Gemini CLI

gemini extensions install https://github.com/Can-tech/castance-mcp

Then run /mcp auth castance to sign in.

Claude (Web, Desktop, Mobile) & ChatGPT

Add a custom remote MCP connector pointing to https://castance.com/mcp and sign in with OAuth 2.1.

Stdio-only MCP clients (mcp-remote)

{
  "mcpServers": {
    "castance": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://castance.com/mcp"]
    }
  }
}

Public Docs MCP (No Auth Required)

Want your coding agent to search Castance's live API reference without connecting a social account? Connect to https://castance.com/api/docs-mcp, which exposes two read-only documentation tools:

  • search_castance_docs — search 810+ Castance REST API endpoints, parameters, request/response shapes, and error codes.
  • get_castance_overview — read Castance platform coverage, auth rules, rate limits, and MCP setup links.

Supported Platforms

  • Social Publishing, Inbox & Analytics: Instagram, TikTok, LinkedIn (Profiles & Company Pages), YouTube, X (Twitter), Threads, Facebook Pages, Messenger, WhatsApp Business, Pinterest, Tumblr, Telegram, Discord, and Google Business Profile.
  • Advertising APIs: Google Ads (API v26, MCC, Campaigns, Responsive Search Ads, Keywords, GAQL Reports, Keyword Planner, Enhanced Conversions, Recommendations), Meta Ads (Facebook + Instagram), TikTok Ads (Marketing API v1.3, Smart+, Spark Ads, Reports, Pixels, Events API, Leads), LinkedIn Ads, Pinterest Ads, Reddit Ads, Snapchat Ads, and X Ads.

Security & Controls

  • OAuth 2.1 with PKCE: Agents never see your social passwords, platform tokens, or API keys.
  • Scoped Permissions: Choose Full access, Posts need approval, or Read only, scoped to all accounts, specific folders, or individual accounts, with optional daily limits.
  • Idempotent Writes: Retried write tool calls never double-post.

License

MIT