publer-mcp-server
MCP server for Publer social media management API, enabling AI assistants to schedule posts, upload media, pull analytics, and manage accounts across 15+ social networks.
README
Publer MCP Server
An open-source Model Context Protocol (MCP) server for the Publer social media management API.
Schedule posts, upload media, pull analytics, and manage accounts across 15+ social networks — all from your AI assistant.
Created by Kess Media
Features
- 14 tools covering the full Publer API
- Create, schedule, publish, update, and delete posts
- Upload media via URL (perfect for Dropbox/cloud storage integration)
- Browse and search media library
- Analytics: charts, post insights, hashtag analysis, best times to post
- Multi-account posting across Facebook, Instagram, X, LinkedIn, TikTok, YouTube, Bluesky, and more
- Async job polling for post creation and media uploads
Requirements
- Node.js 18+
- Publer Business plan (API access is Business-only)
- Publer API key (Settings → Access & Login → API Keys)
Quick Start
Claude Desktop App / Claude Code Desktop (Mac)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"publer": {
"command": "npx",
"args": ["-y", "publer-mcp-server"],
"env": {
"PUBLER_API_KEY": "your-api-key-here",
"PUBLER_WORKSPACE_ID": "your-workspace-id-here"
}
}
}
}
Restart the app — Publer will appear under Connectors → Desktop.
Claude Code (CLI)
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"publer": {
"command": "npx",
"args": ["-y", "publer-mcp-server"],
"env": {
"PUBLER_API_KEY": "your-api-key-here",
"PUBLER_WORKSPACE_ID": "your-workspace-id-here"
}
}
}
}
Or via the CLI:
claude mcp add publer -- npx -y publer-mcp-server \
--env PUBLER_API_KEY=your-key \
--env PUBLER_WORKSPACE_ID=your-workspace-id
Cloudflare Worker (Remote — No Local Install)
Deploy as a Cloudflare Worker and connect from any Claude interface without installing anything locally. One deployment, multiple users.
Deploy:
git clone https://github.com/alexkess/publer-mcp-server.git
cd publer-mcp-server/worker
npm install
npx wrangler deploy
npx wrangler secret put PUBLER_API_KEY
npx wrangler secret put PUBLER_WORKSPACE_ID
Your server is now live at https://publer-mcp.<your-subdomain>.workers.dev/mcp.
Connect from Claude Code (~/.claude/mcp.json):
{
"mcpServers": {
"publer": {
"type": "http",
"url": "https://publer-mcp.<your-subdomain>.workers.dev/mcp"
}
}
}
Connect from Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
The Desktop app's Connectors UI doesn't support custom HTTP MCP servers directly. Use the Claude Code config above, or add the URL via the custom connector flow in Settings → Connectors → +.
Security note: The Worker URL acts as your access credential — keep it private. Each user deploys their own Worker with their own Publer API key, so there's no shared access risk.
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"publer": {
"command": "npx",
"args": ["-y", "publer-mcp-server"],
"env": {
"PUBLER_API_KEY": "your-api-key-here",
"PUBLER_WORKSPACE_ID": "your-workspace-id-here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
PUBLER_API_KEY |
Yes | Your Publer API key |
PUBLER_WORKSPACE_ID |
Yes | Your Publer workspace ID |
Finding Your Workspace ID
Option 1: From the API
curl -H "Authorization: Bearer-API YOUR_API_KEY" https://app.publer.com/api/v1/me
Your workspace IDs are in the workspaces array in the response.
Option 2: From the Publer URL
Log in to Publer, open your browser's developer tools (F12), go to the Network tab, and look for any API request — the Publer-Workspace-Id header shows your workspace ID.
Available Tools
Account Management
| Tool | Description |
|---|---|
publer_get_me |
Get current authenticated user profile |
publer_list_workspaces |
List all workspaces |
publer_list_accounts |
List all connected social accounts |
Posts
| Tool | Description |
|---|---|
publer_list_posts |
List and filter posts by state, date, type, account, or search |
publer_create_post |
Create and schedule a post (text, photo, video, carousel, etc.) |
publer_publish_post_now |
Publish a post immediately |
publer_update_post |
Update an existing post |
publer_delete_post |
Delete a post |
Media
| Tool | Description |
|---|---|
publer_upload_media_from_url |
Import media from a URL (Dropbox, cloud storage, etc.) |
publer_list_media |
Browse and search the media library |
Jobs
| Tool | Description |
|---|---|
publer_get_job_status |
Poll async job status (post creation, media upload) |
Analytics
| Tool | Description |
|---|---|
publer_get_analytics |
Get analytics charts (followers, reach, engagement) |
publer_get_post_insights |
Get per-post performance metrics |
publer_get_hashtag_analysis |
Analyse hashtag performance |
publer_get_best_times |
Get best times to post heatmap |
Example Workflows
Schedule a photo post
"Upload this image from my Dropbox to Publer, then schedule it
to my Alex Kess Bluesky account for Thursday at 10am AEST
with the caption 'Cronulla from above.'"
The AI assistant will:
- Call
publer_upload_media_from_urlwith the Dropbox link - Poll
publer_get_job_statusuntil the upload completes - Call
publer_create_postwith the media ID, caption, account ID, and scheduled time
Check post performance
"How did my posts perform last week on Instagram?"
The AI assistant will:
- Call
publer_list_accountsto find the Instagram account ID - Call
publer_get_post_insightswith the date range - Present the results
Development
git clone https://github.com/alexkess/publer-mcp-server.git
cd publer-mcp-server
npm install
npm run build
Run locally
PUBLER_API_KEY=your-key PUBLER_WORKSPACE_ID=your-id npm start
Supported Networks
Facebook, Instagram, X (Twitter), LinkedIn, Pinterest, YouTube, TikTok, Google Business Profile, WordPress, Telegram, Mastodon, Threads, Bluesky.
License
MIT — see LICENSE
Contributing
PRs welcome! This is an open-source project by Kess Media.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。