Advert4 MCP
README.md
# Advert4 MCP
Let ChatGPT, Claude, Gemini and other AI assistants plan, schedule and publish your Facebook, Instagram and TikTok posts with [Advert4](https://advert4.me).
**Server URL:** `https://advert4.me/mcp`
You sign in with your Advert4 account (OAuth) and choose the workspace the assistant may use. You can disconnect it at any time under **API** in Advert4.
## ChatGPT
1. Settings → Apps & Connectors (on Plus and Pro, turn on Developer mode under Advanced settings first).
2. Create an app, name it **Advert4**, paste `https://advert4.me/mcp` and choose **OAuth**.
3. Sign in to Advert4 and allow access.
## Claude (web and desktop)
Settings → Connectors → **Add custom connector** → name **Advert4**, URL `https://advert4.me/mcp` → Connect.
## Claude Code
```sh
claude mcp add --transport http advert4 https://advert4.me/mcp
```
or install the plugin:
```text
/plugin marketplace add Electroinvest-me/advert4-mcp
/plugin install advert4@advert4
```
Then run `/mcp` and sign in.
## Gemini CLI
```sh
gemini extensions install https://github.com/Electroinvest-me/advert4-mcp
```
or `gemini mcp add --transport http advert4 https://advert4.me/mcp`. Then run `/mcp auth advert4`.
## Cursor, VS Code, Windsurf and other clients
Add the server URL; clients with OAuth support sign in on their own:
```json
{
"mcpServers": {
"advert4": { "url": "https://advert4.me/mcp" }
}
}
```
### Clients that only run local commands
Create an API key in Advert4 (**API → New API key**) and use the stdio bridge from npm:
```json
{
"mcpServers": {
"advert4": {
"command": "npx",
"args": ["-y", "advert4-mcp"],
"env": { "ADVERT4_API_KEY": "your-api-key" }
}
}
}
```
## Tools
| Tool | What it does |
| --- | --- |
| `list_profiles` | Brand profiles and their connected accounts |
| `list_accounts` | Connected accounts with supported post types and caption limits |
| `list_posts` | Posts and the calendar, filtered by status, profile and time |
| `get_post` | One post with the result per network |
| `create_post` | Create a post and publish it now, schedule it or keep a draft |
| `reschedule_post` | Move a scheduled post or draft to another time |
| `delete_post` | Delete a post that is not live yet |
| `upload_media` | Add an image or video from a public URL |
| `list_media` | Newest images and videos in the media library |
## Example
> Schedule our new collection for Friday at 10:00 on Instagram and Facebook, with these three photos.
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessOutdated data