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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.