社交媒体 MCP 服务器
一个连接多个社交媒体平台的模型上下文协议(MCP)服务器,允许用户通过自然语言指令跨平台创建和发布内容。
特征
自然语言界面:通过简单的指令为多个平台创建帖子
研究能力:自动研究主题标签、趋势、事实和新闻
多平台支持:以平台特定的格式发布到 Twitter/X、Mastodon 和 LinkedIn
内容生成:使用多种人工智能模型生成引人入胜的内容
速率限制管理:通过排队和回退优雅地处理 API 速率限制
分析:跟踪帖子表现并优化内容策略
入门
先决条件
Node.js(v18+)
npm 或 yarn
API 密钥用于:
Twitter/X
乳齿象
LinkedIn
OpenAI 和/或 Anthropic(用于内容生成)
勇敢搜索(用于研究)
安装
克隆存储库:
安装依赖项:
使用您的 API 密钥创建一个
.env
文件:
构建项目:
启动服务器:
MCP 集成
要将此 MCP 服务器与 Claude 或其他兼容 MCP 的助手一起使用,请将其添加到您的 MCP 设置中:
可用工具
创建帖子
根据自然语言指令创建内容并将其发布到社交媒体平台。
获取热门话题
从社交媒体平台获取热门话题。
研究主题
使用 Brave Search 和 Perplexity 研究一个主题。
发展
项目结构
脚本
npm run build
:构建项目npm run dev
:以热重载方式在开发模式下运行npm start
:启动生产服务器npm test
:运行测试npm run lint
:运行 lintingnpm run format
:格式化代码
实用程序脚本
scripts
目录包含社交媒体 MCP 服务器的实用程序脚本:
scripts/linkedin-oauth.js
:处理 LinkedIn 的 OAuth 2.0 流程以获取访问令牌用法:
cd scripts && npm install && npm run linkedin-oauth
请参阅scripts/README.md了解更多详细信息
文档
documentation
目录包含每个社交媒体平台集成的详细文档:
执照
该项目已获得 ISC 许可。
致谢
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
连接多个社交媒体平台(Twitter/X、Mastodon、LinkedIn),让用户通过自然语言指令跨平台创建和发布内容。
Related MCP Servers
- AsecurityAlicenseAqualityEnables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.Last updated -53020MIT License
- AsecurityAlicenseAqualityEnables AI models to interact with messages from various messaging platforms (Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger) through a standardized interface.Last updated -11MIT License
- -securityAlicense-qualityEnables interaction with X (formerly Twitter), allowing for posting tweets, searching content, managing accounts, and organizing lists.Last updated -33MIT License
- -securityFlicense-qualityProvides social media functionality for AI agents, enabling them to login with unique handles, read filtered posts, and create posts or replies within team-based discussions.Last updated -3