# SocialClaw MCP server

> Connect AI agents to over 11 social platforms to schedule, publish, and track posts via a hosted dashboard and MCP server.

- Repository: https://github.com/ndesv21/socialclaw
- Page: https://hostedmcp.org/servers/ndesv21/socialclaw
- Transport: stdio, remote
- Stars: 110
- License: MIT
- Latest version: 0.1.20

## Install

### Claude Code

```sh
claude mcp add --env 'SOCIALCLAW_API_KEY=<YOUR_SOCIALCLAW_API_KEY>' socialclaw -- npx -y socialclaw
```

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

```json
{
  "mcpServers": {
    "socialclaw": {
      "command": "npx",
      "args": [
        "-y",
        "socialclaw"
      ],
      "env": {
        "SOCIALCLAW_API_KEY": "<YOUR_SOCIALCLAW_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "socialclaw": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "socialclaw"
      ],
      "env": {
        "SOCIALCLAW_API_KEY": "<YOUR_SOCIALCLAW_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"socialclaw","type":"stdio","command":"npx","args":["-y","socialclaw"],"env":{"SOCIALCLAW_API_KEY":"<YOUR_SOCIALCLAW_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "socialclaw": {
      "command": "npx",
      "args": [
        "-y",
        "socialclaw"
      ],
      "env": {
        "SOCIALCLAW_API_KEY": "<YOUR_SOCIALCLAW_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add socialclaw --env 'SOCIALCLAW_API_KEY=<YOUR_SOCIALCLAW_API_KEY>' -- npx -y socialclaw
```

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

```toml
[mcp_servers.socialclaw]
command = "npx"
args = ["-y", "socialclaw"]

[mcp_servers.socialclaw.env]
SOCIALCLAW_API_KEY = "<YOUR_SOCIALCLAW_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'SOCIALCLAW_API_KEY=<YOUR_SOCIALCLAW_API_KEY>' socialclaw npx -- -y socialclaw
```

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

```json
{
  "mcpServers": {
    "socialclaw": {
      "command": "npx",
      "args": [
        "-y",
        "socialclaw"
      ],
      "env": {
        "SOCIALCLAW_API_KEY": "<YOUR_SOCIALCLAW_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SOCIALCLAW_API_KEY` | yes | yes | SocialClaw workspace API key from https://getsocialclaw.com/dashboard |

## FAQ

### Which social media platforms are supported?

Supported platforms include X, Facebook Pages, Instagram, LinkedIn, Pinterest, TikTok, Discord, Telegram, YouTube, Reddit, and WordPress.

### How do I use SocialClaw with Claude Code?

You can add it using the command 'claude mcp add socialclaw' with your API key or install the packaged plugin via the Claude Code marketplace.

### Do I need an API key to use the CLI?

Yes, the CLI works against a deployed SocialClaw workspace via API key authentication.

### Can I upload media through the server?

Yes, the MCP server provides tools to upload media and manage assets.
