# Postatron MCP server

> Lets an AI client schedule, publish, and measure social media posts across platforms like X, Instagram, LinkedIn, TikTok, and YouTube.

- Repository: https://github.com/henrwal/postatron-cli
- Page: https://hostedmcp.org/servers/henrwal/postatron-cli
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.15.1

## Install

### Claude Code

```sh
claude mcp add --transport http postatron-cli https://api.postatron.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "postatron-cli": {
      "url": "https://api.postatron.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "postatron-cli": {
      "type": "http",
      "url": "https://api.postatron.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"postatron-cli","type":"http","url":"https://api.postatron.com/mcp"}'
```

### Codex

```sh
codex mcp add postatron-cli --url https://api.postatron.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.postatron-cli]
url = "https://api.postatron.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http postatron-cli https://api.postatron.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "postatron-cli": {
      "url": "https://api.postatron.com/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `POSTATRON_API_KEY` | no | no |  |

## FAQ

### How does authentication work for remote MCP servers?

The server uses OAuth 2.1 and dynamic client registration; the client registers itself and you approve the connection on a Postatron consent page.

### Can I use Postatron locally?

Yes, you can run a local MCP server over stdio using the postatron-mcp command with an API key.

### What should I do if a post fails to deliver?

Check the error code; for example, 'reconnect' requires signing the account in again, while 'retry' allows you to use the retry-post command.
