Skip to content

feat(third_party): add the publer plugin - #1394

Merged
akshayadinesh merged 3 commits into
mainfrom
add-publer-plugin
Dec 3, 2026
Merged

akshayadinesh merged 3 commits into
mainfrom
add-publer-plugin

Conversation

@rshah2020

Copy link
Copy Markdown
Contributor

What this wraps

Adds third_party/publer, a plugin for Publer's official hosted MCP server (https://mcp.publer.com, Streamable HTTP at the root path; /mcp and /sse return 404). Publer is a social media management and scheduling tool made by Kalemi (the submitting company). The server creates, schedules, and publishes posts, manages drafts, ideas, labels, and the media library, reads post, hashtag, member, and competitor analytics, exports CSV/PDF reports, generates campaign plans, and searches Publer's API docs and help center, for the social accounts connected to the signed-in workspace. Publer supports Instagram, Facebook, LinkedIn, TikTok, X, Threads, Pinterest, YouTube, Google Business, Bluesky, Mastodon, Telegram, and WordPress. Publer's MCP is available on the Business and Enterprise plans only.

Files: .cursor-plugin/plugin.json, mcp.json (type: http, "placement": "server", no variables), README.md, CHANGELOG.md, LICENSE (MIT), assets/logo.png (256×256 PNG), plus the tail-appended .cursor-plugin/marketplace.json entry and root README.md row.

The README lists the 54 tools the server advertises on its public /health endpoint, grouped by area and split into read and write, and notes that submit_publer_posts with when: "now", publish_publer_draft, and confirm_delete_* take real actions on connected social accounts. The submitted description ("Connect Grok or Cursor to Publer…", "Powered by the Publer MCP server, Grok and Cursor can securely access…") was rewritten into a Cursor-neutral summary of the same capabilities; "13 social media platforms" became the named platform list from Publer's own listing.

Smoke test (from the cloud VM, egress unrestricted, 2026-11-28)

  • POST https://mcp.publer.com/ initialize (Accept application/json, text/event-stream) → clean HTTP 401, body {"jsonrpc":"2.0","error":{"code":-32003,"message":"Missing Publer API key. Use ?api_key=YOUR_KEY (or Authorization: Bearer YOUR_KEY)"}}. The wording mentions API keys (Publer's "No auth" option for clients without OAuth), but the header advertises OAuth. POST /mcp and /sse → 404 {"error":"not_found"}; GET / → 405 "Initialize via POST first, then reuse Mcp-Session-Id".
  • WWW-Authenticate: Bearer resource_metadata="https://mcp.publer.com/.well-known/oauth-protected-resource" (Cloudflare in front of Railway; no x-amzn-remapped-www-authenticate).
  • Anonymous tools/list → 401. GET /health (public) lists the 54 tool names, which is where the README's count and table come from.
  • PRM: /.well-known/oauth-protected-resource (root) → 200 {"resource":"https://mcp.publer.com","authorization_servers":["https://app.publer.com"],"bearer_methods_supported":["header"],"resource_name":"Publer"}. The path-suffixed /.well-known/oauth-protected-resource/mcp → 404. No scopes_supported.
  • AS metadata (https://app.publer.com/.well-known/oauth-authorization-server): issuer https://app.publer.com, authorization_endpoint /oauth/mcp/authorize, token_endpoint /oauth/mcp/token, registration_endpoint /oauth/mcp/register, response type code, grants ["authorization_code"] only (no refresh_token), PKCE S256, token_endpoint_auth_methods_supported ["none","client_secret_post"], authorization_response_iss_parameter_supported: true, client_id_metadata_document_supported: true. No scopes_supported. /.well-known/openid-configuration → 404.
  • Dynamic Client Registration (token_endpoint_auth_method: none):
    • cursor://anysphere.cursor-mcp/oauth/callback alone → HTTP 400 {"error":"invalid_redirect_uri"} (grokbot://… → same 400).
    • https://www.cursor.com/agents/mcp/oauth/callback alone → HTTP 201, client id issued (client_name echoed as "Cursor (www.cursor.com)").
    • http://localhost:8787/callback alone → HTTP 201; http://127.0.0.1:8787/callback alone → 201.
    • http://localhost:8787/callback + https://www.cursor.com/… in one registration → HTTP 201 (mixed loopback + https accepted, as with Close).
    • All four (cursor://, https://www.cursor.com/…, localhost, 127.0.0.1) together → 400 invalid_redirect_uri (the custom scheme poisons the set).
    • A requested refresh_token grant is silently dropped from the registered client; only authorization_code is returned.
  • CIMD: GET /oauth/mcp/authorize?client_id=https://cursor.com/oauth/mcp-client.json&redirect_uri=cursor://… → HTTP 302 to https://app.publer.com/users/sign_in. The same 302 is returned for a bogus client_id and for a registered client with a mismatched redirect_uri, so the authorize endpoint validates the client only after sign-in; CIMD acceptance is inconclusive from an unauthenticated probe. Not needed: DCR works.
  • No browser sign-in was completed. Authenticated tool execution and tools/list were not tested.

Compatibility decision

Close precedent: cursor:// is rejected while the www.cursor.com https callback and the loopback URIs are accepted, alone and combined, so the plugin sets "placement": "server" (Grok Bot uses the hosted path) and keeps minClientVersions.cursor at 3.13.0. No 3.22.0 bump is needed because a mixed loopback + https registration succeeds.

Publer's AS issues no refresh tokens (grant types are authorization_code only), so users will be asked to sign in to Publer again when the access token expires; the README says so.

Validation

  • node scripts/validate-plugins.mjs → All plugins validated successfully.
  • node scripts/generate-pstack-harness-trees.mjs --check → harness/pstack is up to date.

Notes / skipped / decisions

  • publisher field. The submission came from Publer's parent company Kalemi, and the assignment asked to record Kalemi where plugin.json has an author/publisher field. plugin.json keeps author = Cursor / plugins@cursor.com like every other third_party plugin (the root README's Author column and the LICENSE are tied to it) and adds the schema-valid "publisher": "Kalemi", which no other plugin in the repo uses yet. Drop that line if you'd rather not introduce the field; nothing else depends on it.
  • Logo: the submitted https://cdn.publer.com/brand/favicons/android-chrome-512x512.png is Publer's official square app icon (white "P" on a teal rounded tile, transparent corners), downscaled from 512×512 to 256×256 with Lanczos. No substitution was needed.
  • Category is integrations, matching the other social media plugins (Buffer, beehiiv).
  • homepage points at Publer's "How to set up and use Publer's MCP server" help article, the vendor's MCP setup page; the README also links the Publer MCP blog post and API docs.
  • Several server tools are built for ChatGPT-style widgets and chat attachments (*_card_state, select_*, upload_publer_chat_media, create_publer_post_from_file); the README tells Cursor users to prefer the lookup_* / list_* tools and pass references explicitly. Behaviour of those tools in Cursor was not verified.
  • Publer also supports an API-key ("No auth") connection via ?api_key= or a Bearer header; the plugin uses OAuth only and declares no variables.

cursoragent and others added 3 commits November 29, 2026 06:35
Connect agents to Publer's hosted MCP server at https://mcp.publer.com (root
path) to create, schedule, and publish social media posts, manage drafts,
ideas, labels, and the media library, review post, hashtag, member, and
competitor analytics, export reports, and generate campaign plans for the
accounts connected to the signed-in Publer workspace.

Auth is OAuth 2.0 with PKCE S256 and Dynamic Client Registration against
Publer's authorization server at app.publer.com. Registration accepts the
loopback and https://www.cursor.com callbacks, alone or combined, and
rejects custom-scheme URIs, so the server declares "placement": "server"
as the Close plugin does.

Co-authored-by: Rohan Shah <rshah2020@users.noreply.github.com>
# Conflicts:
#	.cursor-plugin/marketplace.json
#	README.md
# Conflicts:
#	.cursor-plugin/marketplace.json
#	README.md
@akshayadinesh
akshayadinesh merged commit 4d76584 into main Dec 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants