social-cli-mcp
Verified Safeby Alemusica
Overview
A CLI tool and MCP server for AI agents to post content across multiple social media platforms (Twitter/X, Reddit, LinkedIn, Instagram).
Installation
node /path/to/social-cli-mcp/dist/mcp-server.jsEnvironment Variables
- TWITTER_API_KEY
- TWITTER_API_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_SECRET
- REDDIT_CLIENT_ID
- REDDIT_CLIENT_SECRET
- REDDIT_USERNAME
- REDDIT_PASSWORD
- REDDIT_USER_AGENT
- LINKEDIN_ACCESS_TOKEN
- LINKEDIN_CLIENT_ID
- LINKEDIN_CLIENT_SECRET
- INSTAGRAM_ACCESS_TOKEN
- INSTAGRAM_BUSINESS_ACCOUNT_ID
- FACEBOOK_PAGE_ID
Security Notes
The server uses the Model Context Protocol (MCP) SDK and communicates via standard I/O (stdio), limiting direct network exposure. API keys are loaded from environment variables (.env), preventing hardcoding. Social media interactions are handled by established third-party libraries (twitter-api-v2, snoowrap, custom clients for LinkedIn/Instagram). Input validation schemas are defined for MCP tools. There are no obvious signs of 'eval' usage, code obfuscation, or direct shell command injection points with unsanitized user input. The main security consideration is the secure handling of API credentials by the user.
Similar Servers
xiaohongshu-mcp
Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.
mcp-use-cli
An interactive command-line interface (CLI) tool for connecting to and interacting with Model Context Protocol (MCP) servers using natural language, acting as an AI client that orchestrates LLM responses with external tools.
x-twitter-mcp-server
An MCP server for interacting with Twitter (X) via AI tools, allowing natural language commands to fetch, post, search, and manage tweets and user data.
reddit-mcp-server
Provides tools for fetching and creating Reddit content through a Model Context Protocol (MCP) server.