mixpost-mcp-server
Enables interaction with the Mixpost social media management API through natural language, supporting account, post, media, and tag management.
README
Mixpost MCP Server
A Model Context Protocol (MCP) server for interacting with the Mixpost social media management API. This server provides comprehensive access to Mixpost's functionality including accounts, posts, media, and tags management.
Features
- Account Management: List and retrieve connected social media accounts
- Post Management: Create, update, schedule, approve, and delete social media posts
- Media Management: Upload, list, update, and delete media files
- Tag Management: Create, update, and manage content tags
- Queue Management: Add posts to publishing queues
- Comprehensive Error Handling: Detailed API error responses
Installation
Install globally via npm to use with npx:
npm install -g mixpost-mcp-server
Or run directly with npx:
npx mixpost-mcp-server
Configuration
The server requires the following environment variables:
MIXPOST_BASE_URL- Your Mixpost instance base URL (e.g.,https://your-domain.com)MIXPOST_WORKSPACE_UUID- The UUID of your Mixpost workspaceMIXPOST_API_KEY- Your Mixpost API access tokenMIXPOST_CORE_PATH- (Optional) Custom core path, defaults to "mixpost"
Getting Your API Token
- Log into your Mixpost dashboard
- Navigate to "Access Tokens"
- Click "Create" to generate a new token
- Copy the generated token for use as
MIXPOST_API_KEY
Usage with Claude Desktop
Add to your Claude Desktop MCP configuration:
{
"mcpServers": {
"mixpost": {
"command": "npx",
"args": ["mixpost-mcp-server"],
"env": {
"MIXPOST_BASE_URL": "https://your-mixpost-instance.com",
"MIXPOST_WORKSPACE_UUID": "your-workspace-uuid",
"MIXPOST_API_KEY": "your-api-token",
"MIXPOST_CORE_PATH": "mixpost"
}
}
}
}
Available Tools
Account Tools
mixpost_list_accounts- List all connected social media accountsmixpost_get_account- Get details of a specific account
Post Tools
mixpost_create_post- Create a new social media postmixpost_update_post- Update an existing postmixpost_approve_post- Approve a post for publishingmixpost_get_post- Get details of a specific postmixpost_list_posts- List posts with optional filteringmixpost_delete_post- Delete a specific postmixpost_delete_multiple_posts- Delete multiple posts at oncemixpost_schedule_post- Schedule a post for publishingmixpost_add_post_to_queue- Add a post to the publishing queue
Media Tools
mixpost_list_media- List media filesmixpost_get_media- Get details of a specific media filemixpost_update_media- Update media file metadatamixpost_delete_media- Delete a media file
Tag Tools
mixpost_list_tags- List all tagsmixpost_get_tag- Get details of a specific tagmixpost_create_tag- Create a new tagmixpost_update_tag- Update an existing tagmixpost_delete_tag- Delete a tag
API Reference
This server implements the Mixpost API endpoints as documented at https://docs.mixpost.app/api/.
Post Creation Example
{
"date": "2024-12-01",
"time": "10:00",
"timezone": "America/New_York",
"schedule": true,
"accounts": [1, 2, 3], // Account IDs are integers, not UUIDs
"tags": ["tag-uuid-1"],
"versions": [
{
"account_id": 1, // Account ID must be an integer
"is_original": true,
"content": {
"body": "Hello, world! This is my social media post.",
"media": [],
"urls": ["https://example.com"]
},
"options": {}
}
]
}
Important Notes:
- Account IDs in the
accountsarray andaccount_idfields must be integers, not UUIDs - Use the
mixpost_list_accountstool to get the numeric IDs for your accounts - Content should be formatted with HTML tags (e.g.,
<div>for line breaks) - For draft posts, use
schedule: falseandqueue: false - The content structure for versions is an array of objects, not a single object
Error Handling
The server provides comprehensive error handling with detailed messages for:
- Authentication failures (401)
- Access forbidden (403)
- Resource not found (404)
- Validation errors (422)
- Network and connection issues
Development
Building from Source
git clone <repository-url>
cd mixpost-mcp-server
npm install
npm run build
Development Mode
npm run dev
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues related to the MCP server, please open an issue in this repository. For Mixpost API questions, refer to the official Mixpost documentation.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。