Repository navigation
feat(third_party): add the publer plugin - #1394
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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;/mcpand/ssereturn 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.jsonentry and rootREADME.mdrow.The README lists the 54 tools the server advertises on its public
/healthendpoint, grouped by area and split into read and write, and notes thatsubmit_publer_postswithwhen: "now",publish_publer_draft, andconfirm_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(Acceptapplication/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 /mcpand/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; nox-amzn-remapped-www-authenticate).tools/list→ 401.GET /health(public) lists the 54 tool names, which is where the README's count and table come from./.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. Noscopes_supported.https://app.publer.com/.well-known/oauth-authorization-server): issuerhttps://app.publer.com,authorization_endpoint/oauth/mcp/authorize,token_endpoint/oauth/mcp/token,registration_endpoint/oauth/mcp/register, response typecode, grants["authorization_code"]only (norefresh_token), PKCES256,token_endpoint_auth_methods_supported["none","client_secret_post"],authorization_response_iss_parameter_supported: true,client_id_metadata_document_supported: true. Noscopes_supported./.well-known/openid-configuration→ 404.token_endpoint_auth_method: none):cursor://anysphere.cursor-mcp/oauth/callbackalone → HTTP 400{"error":"invalid_redirect_uri"}(grokbot://…→ same 400).https://www.cursor.com/agents/mcp/oauth/callbackalone → HTTP 201, client id issued (client_nameechoed as "Cursor (www.cursor.com)").http://localhost:8787/callbackalone → HTTP 201;http://127.0.0.1:8787/callbackalone → 201.http://localhost:8787/callback+https://www.cursor.com/…in one registration → HTTP 201 (mixed loopback + https accepted, as with Close).cursor://,https://www.cursor.com/…,localhost,127.0.0.1) together → 400invalid_redirect_uri(the custom scheme poisons the set).refresh_tokengrant is silently dropped from the registered client; onlyauthorization_codeis returned.GET /oauth/mcp/authorize?client_id=https://cursor.com/oauth/mcp-client.json&redirect_uri=cursor://…→ HTTP 302 tohttps://app.publer.com/users/sign_in. The same 302 is returned for a bogusclient_idand for a registered client with a mismatchedredirect_uri, so the authorize endpoint validates the client only after sign-in; CIMD acceptance is inconclusive from an unauthenticated probe. Not needed: DCR works.tools/listwere not tested.Compatibility decision
Close precedent:
cursor://is rejected while thewww.cursor.comhttps callback and the loopback URIs are accepted, alone and combined, so the plugin sets"placement": "server"(Grok Bot uses the hosted path) and keepsminClientVersions.cursorat3.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_codeonly), 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
publisherfield. The submission came from Publer's parent company Kalemi, and the assignment asked to record Kalemi whereplugin.jsonhas an author/publisher field.plugin.jsonkeepsauthor= Cursor /plugins@cursor.comlike every otherthird_partyplugin (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.https://cdn.publer.com/brand/favicons/android-chrome-512x512.pngis 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.integrations, matching the other social media plugins (Buffer, beehiiv).homepagepoints 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.*_card_state,select_*,upload_publer_chat_media,create_publer_post_from_file); the README tells Cursor users to prefer thelookup_*/list_*tools and pass references explicitly. Behaviour of those tools in Cursor was not verified.?api_key=or a Bearer header; the plugin uses OAuth only and declares no variables.