PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Publish and schedule posts to LinkedIn, X, Facebook, Instagram, Threads, Bluesky and YouTube Shorts.
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer
First: which AI do you use?
Pick your app and the steps appear below.
One time only; it works for every server that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
SettingsDeveloperEdit Config
{
"mcpServers": {
"postmcp": {
"command": "npx",
"args": [
"-y",
"@postmcpai/server"
],
"env": {
"POSTMCPAI_API_KEY": "your-value",
"POSTMCPAI_PROJECT_ID": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Postmcp MCP Server and tell me what you can do for me, then show me one thing✓ If Claude says it is using Postmcp MCP Server or shows a Postmcp MCP Server tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Postmcp MCP Server yet
Postmcp MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Postmcp MCP Server
B · Others in Marketing & social media that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Postmcp MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)
One time only; it works for every server that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user postmcp --env POSTMCPAI_API_KEY=your-value --env POSTMCPAI_PROJECT_ID=your-value -- npx -y @postmcpai/serverReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Postmcp MCP Server listed as connected
Use Postmcp MCP Server and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Postmcp MCP Server or shows a Postmcp MCP Server tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Postmcp MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)
One time only; it works for every server that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Postmcp MCP Server settings, POSTMCPAI_API_KEY, POSTMCPAI_PROJECT_ID is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Postmcp MCP Server and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Postmcp MCP Server or shows a Postmcp MCP Server tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Postmcp MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)
One time only; it works for every server that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Postmcp MCP Server settings, POSTMCPAI_API_KEY, POSTMCPAI_PROJECT_ID is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Postmcp MCP Server and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Postmcp MCP Server or shows a Postmcp MCP Server tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user postmcp --env POSTMCPAI_API_KEY=your-value --env POSTMCPAI_PROJECT_ID=your-value -- npx -y @postmcpai/serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"postmcp": {
"command": "npx",
"args": [
"-y",
"@postmcpai/server"
],
"env": {
"POSTMCPAI_API_KEY": "your-value",
"POSTMCPAI_PROJECT_ID": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"postmcp": {
"command": "npx",
"args": [
"-y",
"@postmcpai/server"
],
"env": {
"POSTMCPAI_API_KEY": "your-value",
"POSTMCPAI_PROJECT_ID": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"postmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@postmcpai/server"
],
"env": {
"POSTMCPAI_API_KEY": "your-value",
"POSTMCPAI_PROJECT_ID": "your-value"
}
}
}
}POSTMCPAI_API_KEY secret required envPOSTMCPAI_PROJECT_ID envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @postmcpai/serverBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 13, 2026
The registry name was verified with the GitHub account postmcp, which owns the repo
Code last changed 43 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: POSTMCPAI_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 43 days ago, and the latest version (1.0.1) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Official PostMCP AI Model Context Protocol (MCP) Server. Connect your social media publishing pipelines directly into AI assistants, desktop applications, IDE workflows, and web environments like Claude Desktop, Claude.ai, Cursor, and ChatGPT Custom GPTs.
Supported platforms include LinkedIn, X (Twitter), Facebook, Instagram, Threads, Bluesky, and YouTube Shorts.
mediaUrls to publish a carousel on Instagram and Threads, a multi-photo post on Facebook and LinkedIn, or a four-image gallery on X and Bluesky - one call, every network's ceiling checked up front.POSTMCPAI_API_KEY), URL query parameters (?apikey=YOUR_KEY), or HTTP authorization headers (x-api-key, Bearer token).workspaceId, also settable per connection (?projectId=..., x-project-id) or per process (POSTMCPAI_PROJECT_ID)./openapi.json) and REST endpoints (/api/tools/:name) for ChatGPT Custom GPT integration.npm run package:plugin.mcp-server/
├── bin/ │ └── cli.js # Executable CLI entry point (Stdio / HTTP mode runner) ├── src/ │ ├── config.js # Centralized configuration & environment loader │ ├── client.js # Backend API client, API key & workspace extraction │ ├── platforms.js # Platform limits, credit pricing & post cost helper │ ├── tools/ │ │ ├── definitions.js# MCP tool JSON schemas & parameter specifications │ │ ├── handlers.js # MCP tool execution handlers │ │ └── index.js # Tool definitions aggregator │ ├── server.js # MCP Server instance factory │ ├── routes/ │ │ ├── oauth.js # OAuth 2.0 & RFC 9728 discovery endpoints │ │ ├── openapi.js # OpenAPI 3.0 schema & ChatGPT REST endpoints │ │ ├── mcpHttp.js # MCP Streamable HTTP transport (/mcp) │ │ └── health.js # Health check & system metadata endpoints │ ├── app.js # Express application factory │ └── index.js # Main library entry point ├── index.js # Executable wrapper script ├── package.json └── README.md
| Environment Variable | Description | Default Value |
|---|---|---|
POSTMCPAI_API_KEY | Required. Your secret API key from the PostMCP AI dashboard. | None |
POSTMCPAI_API_URL | Backend API root. Only set for a self-hosted or local backend. | https://api.postmcpai.com |
POSTMCPAI_PROJECT_ID | Optional. Overrides the workspace the API key is bound to. Overridden in turn by a call's workspaceId. | The workspace the API key was issued from |
PORT | Setting this launches the server in Remote Streamable HTTP Mode. | None (Defaults to Stdio Mode) |
Every tool below also accepts an optional workspaceId (from list_workspaces) to act on a specific workspace.
| Tool Name | Description | Required | Optional |
|---|---|---|---|
get_user_info | Authenticated user: plan, credit balance, active workspace and role. | — | workspaceId |
list_workspaces | Every workspace the user belongs to, with ids, roles, and connected platforms. | — | — |
get_connected_accounts | Connected social profiles with the profileId needed to target them. | — | workspaceId |
get_account_health | Connections whose token expired or is close to it and need reconnecting. | — | workspaceId |
get_profile_analytics | A connected profile's followers, following, post count and views from its network. Stored reading is free; refresh reads the network now for 1 credit. | platform, profileId | refresh |
list_posts | Post queue, newest first, with per-profile delivery status, pagination and counts. | — | status, page, limit, all |
get_post | One post in full: which profiles received it, live URLs, and per-profile errors. | id | — |
get_post_analytics | Views, likes, comments, shares, saves and clicks per profile, plus the raw platform metrics. Stored reading is free; refresh reads the networks now for 1 credit. | id | refresh |
| Tool Name | Description | Required | Optional |
|---|---|---|---|
preflight_post | Dry run: character limits, unconnected profiles, missing media, carousel ceilings, credit cost. Publishes nothing. | content | targetAccounts, platforms, mediaUrl, mediaUrls |
create_post | Draft, schedule, or immediately publish a post to named profiles. Each profile becomes its own post with its own id. Several mediaUrls publish as a carousel. | content | targetAccounts, variants, platforms, publishImmediately, scheduleDate, scheduleTime, timezone, mediaUrl, mediaUrls, youtube |
publish_post_now | Publish an existing post immediately; also retries a failed post, skipping delivered profiles. | id | — |
update_post | Update content, target profiles, schedule, media, or status. mediaUrls replaces the whole attachment set. | id | content, targetAccounts, platforms, scheduleDate, scheduleTime, timezone, mediaUrl, mediaUrls, youtube, status |
reschedule_post | Move a post to a new slot, keeping copy and targets. Re-arms failed and draft posts. | id, scheduleDate, scheduleTime | timezone |
reset_stuck_post | Release a post stuck mid-publish so it can be retried. Delivered profiles keep their state. | id | force |
delete_post | Cancel and delete a scheduled or failed post. | id | — |
generate_image | Generate a post image and return its hosted URL for mediaUrl. Costs 20 credits; paid plans only. | prompt | styleImageUrl |
create_media_upload_url | Authorize a direct image/video upload; returns a signed PUT URL and the future public URL. | fileName, contentType, fileSize | workspaceId |
complete_media_upload | Register a successfully uploaded file in the media library and return mediaUrl. | url, key, fileName, contentType, fileSize | workspaceId |
import_media_from_url | Copy a public image/video into storage and the media library; returns mediaUrl. | url | workspaceId |
For a local file, the MCP client needs an HTTP upload capability:
create_media_upload_url with fileName, contentType (MIME type), and fileSize (bytes). For example: { "fileName": "launch.png", "contentType": "image/png", "fileSize": 245760 }.uploadUrl with the returned headers. Do not send your PostMCP API key to storage. The URL expires after expiresIn seconds (normally 900); request another if it expires. The file is not uploaded merely by creating the URL.complete_media_upload with the returned publicUrl as url, the returned key, and the same file metadata. Use the same workspaceId on both tools. This registers the file; it does not transfer or verify the bytes.mediaUrl in create_post or update_post, or collect several URLs in mediaUrls for a carousel.For an existing public file, call import_media_from_url with { "url": "https://example.com/launch.png" }. The backend downloads it and returns the stored mediaUrl in one call. The URL must serve the file directly without authentication; private-network URLs are rejected by the backend.
Storage supports PNG, JPEG, GIF, WebP, AVIF, HEIC, MP4, MOV, WebM and M4V, with a 25 MiB image ceiling and a 512 MiB video ceiling. Individual social platforms have stricter publishing requirements; use preflight_post before publishing. File bytes and base64 never travel through the MCP JSON request. If library registration fails after storage succeeds, the result includes librarySaved: false and a warning while preserving the usable mediaUrl.
| Tool Name | Description | Required | Optional |
|---|---|---|---|
multicall | Run up to 20 of the tools above in one request, in order. Tool names are validated before anything executes, so a typo cannot leave half a batch written. Cannot nest. | calls | stopOnError, workspaceId |
{
"calls": [ { "id": "img", "tool": "generate_image", "arguments": { "prompt": "launch banner" } }, { "tool": "create_post", "arguments": { "content": "We shipped it 🚀", "targetAccounts": [ { "platform": "linkedin", "profileId": "lin_7741903" }, { "platform": "twitter", "profileId": "tw_1293847", "content": "We shipped it 🚀" } ], "scheduleDate": "2026-09-01", "scheduleTime": "10:00", "timezone": "Asia/Kolkata" } } ], "stopOnError": true }
The reply carries one entry per call — { id, tool, ok, result } or { id, tool, ok: false, error } — plus counts and, when a failure stopped the batch, the calls that were skipped.
mediaUrls is the ordered attachment set. One URL is an ordinary media post; two or more publish as a multi-media post on every network but YouTube, with the first URL as the cover:
| Platform | Items per post | Video in a set of several? | Lands as |
|---|---|---|---|
| 2–10 | yes | Carousel | |
| Threads | 2–20 | yes | Carousel |
| up to 10 | no | Multi-photo post | |
| up to 20 | no | Multi-image post | |
| X / Twitter | up to 4 | no | Gallery on one tweet |
| Bluesky | up to 4 | no | Gallery on one post |
| YouTube | 1 | — | One video per upload |
{
"content": "Five things we learned shipping v2 👉", "targetAccounts": [ { "platform": "instagram", "profileId": "17841400000000" }, { "platform": "threads", "profileId": "9988776655" }, { "platform": "twitter", "profileId": "tw_1293847", "mediaUrls": ["https://cdn.example.com/v2/1.png", "https://cdn.example.com/v2/2.png", "https://cdn.example.com/v2/3.png", "https://cdn.example.com/v2/4.png"] } ], "mediaUrls": [ "https://cdn.example.com/v2/1.png", "https://cdn.example.com/v2/2.png", "https://cdn.example.com/v2/3.png", "https://cdn.example.com/v2/4.png", "https://cdn.example.com/v2/5.png" ], "scheduleDate": "2026-09-01", "scheduleTime": "10:00", "timezone": "Asia/Kolkata" }