New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@posthero/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posthero/mcp

PostHero MCP server — schedule and publish social media posts from any MCP-compatible AI tool

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@posthero/mcp

MCP (Model Context Protocol) server for PostHero — schedule and publish social media posts from Claude Desktop, Cursor, VS Code, Windsurf, and any MCP-compatible AI tool.

Quick start

1. Get your API key

Sign up at posthero.ai and grab your key from Settings > API.

2. Add to your MCP client

Claude Desktop — edit claude_desktop_config.json:

{
  "mcpServers": {
    "posthero": {
      "command": "npx",
      "args": ["-y", "@posthero/mcp"],
      "env": {
        "POSTHERO_API_KEY": "pk_your_api_key_here"
      }
    }
  }
}

Cursor — edit .cursor/mcp.json:

{
  "mcpServers": {
    "posthero": {
      "command": "npx",
      "args": ["-y", "@posthero/mcp"],
      "env": {
        "POSTHERO_API_KEY": "pk_your_api_key_here"
      }
    }
  }
}

VS Code — edit .vscode/mcp.json:

{
  "servers": {
    "posthero": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@posthero/mcp"],
      "env": {
        "POSTHERO_API_KEY": "pk_your_api_key_here"
      }
    }
  }
}

3. Use it

Ask your AI assistant to post to social media:

"Schedule a LinkedIn post about our new feature launch for tomorrow at 9am"

"Create a Twitter thread about the benefits of remote work and publish it now"

"Show me my top-performing posts on Threads this month"

Available tools

ToolDescription
list_accountsList connected social media accounts
create_postCreate, schedule, or publish a post
list_postsList posts with filters (status, platform)
get_postGet full details of a post
update_postUpdate a draft or scheduled post
delete_postDelete a post from PostHero
publish_postImmediately publish a draft/scheduled post
get_analytics_summaryAggregated analytics for a platform
get_top_postsTop-performing posts ranked by metric

Supported platforms

LinkedIn, Twitter/X, Instagram, Facebook, YouTube, TikTok, Threads, Bluesky

Environment variables

VariableDescription
POSTHERO_API_KEYRequired. Your PostHero API key (pk_...)
POSTHERO_BASE_URLOverride API base URL (default: https://server.posthero.ai/api/v1)

License

MIT

FAQs

Package last updated on 12 Oct 2026

Related posts