postfast-mcp
Schedule and manage social media posts across 10 platforms (Instagram, Facebook, TikTok, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Telegram) from any MCP-compatible AI assistant. Supports batch posting, media uploads, analytics, and platform-specific features like Reels, Shorts, and carousels.
README
PostFast MCP Server
MCP server for the PostFast API — schedule and manage social media posts via AI tools like Claude, Cursor, VS Code, and more.
Quick Start
1. Get your API key
Log in to PostFast, go to API in the sidebar, and generate a key.
2. Install
Choose your preferred method:
Claude Desktop (recommended)
Download the extension from the Claude Desktop extension directory or install manually:
- Add to
claude_desktop_config.json:
{
"mcpServers": {
"postfast": {
"command": "npx",
"args": ["-y", "postfast-mcp"],
"env": {
"POSTFAST_API_KEY": "your-api-key-here"
}
}
}
}
- Restart Claude Desktop.
Claude Code
Via plugin (pending marketplace approval):
/plugin install postfast@claude-plugins-official
After installing, set your API key — pick one of these:
# Option A: Add to your shell profile (~/.zshrc or ~/.bashrc)
export POSTFAST_API_KEY="your-api-key-here"
# Option B: Add to ~/.claude/settings.local.json
# { "env": { "POSTFAST_API_KEY": "your-api-key-here" } }
Then restart Claude Code.
Via manual config:
Add to your project's .mcp.json or ~/.claude/.mcp.json (global):
{
"mcpServers": {
"postfast": {
"type": "stdio",
"command": "npx",
"args": ["-y", "postfast-mcp"],
"env": {
"POSTFAST_API_KEY": "your-api-key-here"
}
}
}
}
Cursor / VS Code / Windsurf / Other MCP clients
Add to your MCP config (.mcp.json, mcp.json, or the tool's settings UI):
{
"mcpServers": {
"postfast": {
"type": "stdio",
"command": "npx",
"args": ["-y", "postfast-mcp"],
"env": {
"POSTFAST_API_KEY": "your-api-key-here"
}
}
}
}
3. Use it
Ask your AI assistant things like:
- "List my connected social accounts"
- "Schedule a post to Instagram for tomorrow at 9am"
- "Show me all scheduled posts for this week"
- "Upload this image and create a LinkedIn post with it"
- "Create a Facebook reel with this video"
- "Show me analytics for my Instagram posts this month"
Available Tools
| Tool | Description |
|---|---|
list_accounts |
List connected social media accounts |
list_posts |
List posts with filters (platform, status, date range) |
create_posts |
Create and schedule posts (batch, up to 15) |
delete_post |
Delete a post by ID |
upload_media |
Upload a local file and get a media key (handles the full flow) |
get_upload_urls |
Get signed URLs to upload media files |
list_pinterest_boards |
Get Pinterest boards for an account |
list_youtube_playlists |
Get YouTube playlists for an account |
generate_connect_link |
Generate a link for clients to connect accounts |
get_post_analytics |
Fetch published posts with performance metrics — Instagram, Facebook, TikTok, Threads, YouTube, LinkedIn (company pages) |
Supported Platforms
Facebook, Instagram, X (Twitter), TikTok, LinkedIn, YouTube, BlueSky, Threads, Pinterest, Telegram
Platform-Specific Controls
When creating posts, you can pass platform-specific settings via the controls parameter:
| Platform | Controls |
|---|---|
| X (Twitter) | xCommunityId, xQuoteTweetUrl, xRetweetUrl |
instagramPublishType (TIMELINE/STORY/REEL), instagramPostToGrid, instagramCollaborators |
|
facebookContentType (POST/REEL/STORY), facebookAllowComments, facebookPrivacy, facebookReelsCollaborators |
|
| TikTok | tiktokPrivacy (PUBLIC/MUTUAL_FRIENDS/FOLLOWER_OF_CREATOR/ONLY_ME), tiktokIsDraft, tiktokAllowComments, tiktokAllowDuet, tiktokAllowStitch, tiktokBrandOrganic, tiktokBrandContent, tiktokAutoAddMusic, tiktokIsAigc |
| YouTube | youtubeTitle, youtubePrivacy (PUBLIC/PRIVATE/UNLISTED), youtubeTags, youtubeCategoryId, youtubeIsShort, youtubeMadeForKids, youtubePlaylistId, youtubeThumbnailKey |
pinterestBoardId (required), pinterestLink |
|
linkedinAttachmentKey, linkedinAttachmentTitle |
Media Upload
The upload_media tool handles the full flow in a single call:
- Detects content type from file extension
- Gets a signed upload URL from PostFast
- Uploads the file
- Returns a
keyandtypeready to use increate_posts
Supported formats: JPEG, PNG, GIF, WebP, MP4, WebM, MOV
You can also use get_upload_urls directly if you need more control over the upload process.
Environment Variables
| Variable | Required | Description |
|---|---|---|
POSTFAST_API_KEY |
Yes | Your workspace API key |
POSTFAST_API_URL |
No | API base URL (default: https://api.postfa.st) |
Testing
Verify everything works with the MCP Inspector:
POSTFAST_API_KEY=your-key npx @modelcontextprotocol/inspector npx postfast-mcp
API Docs
Full REST API documentation: postfa.st/docs
Development
npm install
npm run build
node dist/index.js
Badges
License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。