postmcp-mcp-server

v1.0.1
io.github.postmcp/postmcp-mcp-server Checked 4 days ago Published 3 months ago

Publish and schedule posts to LinkedIn, X, Facebook, Instagram, Threads, Bluesky and YouTube Shorts.

Values you need

VariableWhat it is
POSTMCPAI_API_KEYrequired secret Secret API key from the PostMCP AI dashboard (Settings → API keys)
POSTMCPAI_PROJECT_IDoptional Optional workspace id to act on; defaults to the workspace the key was issued from

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add postmcp-mcp-server -e 'POSTMCPAI_API_KEY=<POSTMCPAI_API_KEY>' -- npx -y --package=@postmcpai/server@1.0.1 postmcpai-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "postmcp-mcp-server": {
      "args": [
        "-y",
        "--package=@postmcpai/server@1.0.1",
        "postmcpai-server"
      ],
      "command": "npx",
      "env": {
        "POSTMCPAI_API_KEY": "<POSTMCPAI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postmcp-mcp-server": {
      "args": [
        "-y",
        "--package=@postmcpai/server@1.0.1",
        "postmcpai-server"
      ],
      "command": "npx",
      "env": {
        "POSTMCPAI_API_KEY": "<POSTMCPAI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "POSTMCPAI_API_KEY",
      "id": "postmcpai-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "postmcp-mcp-server": {
      "args": [
        "-y",
        "--package=@postmcpai/server@1.0.1",
        "postmcpai-server"
      ],
      "command": "npx",
      "env": {
        "POSTMCPAI_API_KEY": "${input:postmcpai-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postmcp-mcp-server]
command = "npx"
args = ["-y", "--package=@postmcpai/server@1.0.1", "postmcpai-server"]
env = { "POSTMCPAI_API_KEY" = "<POSTMCPAI_API_KEY>" }

For AI agents

  1. Ask the user for: POSTMCPAI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_user_info, list_workspaces, get_connected_accounts, get_account_health, list_brandings, list_posts, get_post, preflight_post, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json