Skip to main content
Glama
README.md
# Duyuro MCP

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

**Türkçe:** [README.tr.md](README.tr.md)

Manage your [Duyuro](https://www.duyuro.com) social media from Claude, Claude Code or Cursor: read your brand kit, find trends, write and schedule Instagram, LinkedIn, X and Facebook posts, publish them, and render AI product videos, all from chat.

<a href="https://github.com/Burak-Atas/duyuro-mcp/blob/main/assets/duyuro-mcp-demo.mp4"><img src="https://raw.githubusercontent.com/Burak-Atas/duyuro-mcp/main/assets/duyuro-mcp-demo.webp" width="820" alt="15 second demo: an AI assistant connected to Duyuro MCP is asked to write a LinkedIn post and schedule it for Saturday 10:00. It calls get_brand, get_trends, create_post and schedule_post, and the post preview shows Planned, Saturday 10:00."></a>

## Add to Claude

1. In Duyuro, open **Settings > Bağlantılar (Connectors)** and create a key. Tick "allow publishing" only if you want the assistant to post for you.
2. Click **[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Duyuro&connectorUrl=https%3A%2F%2Fmcp.duyuro.com%2Fmcp)**. Name and URL are filled in.
3. Add a header: name `Authorization`, value `Bearer <KEY>` (type the word `Bearer`, a space, then your key).

Server URL: `https://mcp.duyuro.com/mcp`

### Claude Code

```bash
claude mcp add --transport http duyuro https://mcp.duyuro.com/mcp --header "Authorization: Bearer <KEY>"
```

### Cursor (`mcp.json`)

```json
{"mcpServers":{"duyuro":{"url":"https://mcp.duyuro.com/mcp","headers":{"Authorization":"Bearer <KEY>"}}}}
```

### Local (npx, stdio)

```json
{"mcpServers":{"duyuro":{"command":"npx","args":["-y","duyuro-mcp"],"env":{"DUYURO_API_KEY":"<KEY>"}}}}
```

Optional environment variables: `DUYURO_BRAND_ID` (brand to act on when the key is not bound to one brand) and `DUYURO_API_URL` (default `https://api.duyuro.com`). Requires Node.js 20 or later.

## Try these

- "Show my brand kit and suggest three LinkedIn post ideas that fit it."
- "What is trending in Turkey today? Write an Instagram caption for the best fit and save it as a draft with this image: https://..."
- "Schedule the LinkedIn draft for tomorrow at 10:00 Istanbul time."
- "How many credits do I have? What would an AI image for this post cost?"
- "Plan an 8 second video for our new product, show me the cost, then start it."

Turkish prompts work the same way, see [README.tr.md](README.tr.md#bunları-dene).

## Tools

The tools a key sees depend on its scopes. Keys without the publish scope do not see `publish_now`.

| Tool | What it does | Scope | Credits |
|------|--------------|-------|---------|
| `get_brand` | Brand kit: name, tone, audience, palette, language | read | free |
| `list_products` | Brand products | read | free |
| `get_trends` | Trends by country (Radar, YouTube, Google, Instagram), optional post brief | read | free; searching with `q` uses the daily search quota |
| `list_connected_accounts` | Which social accounts are connected | read | free |
| `list_posts` | Recent posts or posts in a date range (max 62 days) | read | free |
| `get_post` | One post with caption, media and status | read | free |
| `get_credits` | Balance, prices per operation, credit packs | read | free |
| `get_video_status` | Progress and URL of a product video | read | free |
| `create_post` | Draft post with your caption, or an AI caption and image | draft | your caption: free; AI caption: post_text; AI image: post_image |
| `update_post` | Change caption, media or schedule fields | draft | free |
| `update_brand` | Change brand kit fields | draft | free |
| `schedule_post` | Schedule a post for automatic publishing | draft | free |
| `plan_product_video` | Video templates and a shot plan | generate | free |
| `start_product_video` | Render the planned video | generate | product_video |
| `publish_now` | Publish a post now (public) | publish | free, capped per day |
| `delete_post` | Delete a post | draft | free |

Tools that spend credits on images or videos only return a quote until they are called with `confirm_cost: true`.

## Pricing

Duyuro has a free plan, and every tool above works on it. Captions your assistant writes are free. AI images and videos use credits:

- Credit packs: **1.199 TL / 3.299 TL / 9.999 TL** (or **USD 24 / USD 66** on the English site).
- Buy credits at [duyuro.com/dashboard/credits](https://www.duyuro.com/dashboard/credits). Purchases are not possible through the API.
- Publishing is capped at 10 posts per brand per day, and creating at 50.

## Security

- Use one key per assistant or tool, so you can revoke one without breaking the others. Keys can be revoked any time in Settings > Bağlantılar; changing your password revokes all of them.
- A key acts as you within one organisation. You can bind it to a single brand.
- Publishing is opt-in per key. `publish_now` is marked destructive, so clients ask before running it.
- Keys can never buy credits, manage members or change the organisation.
- Text from trends and captions is returned under an `untrusted` field, because it can contain instructions written by third parties.
- The hosted server keeps no keys. It forwards your key to the Duyuro API on each request and only accepts it in the `Authorization` header.

**Watch out for copies.** The official sources are [github.com/Burak-Atas/duyuro-mcp](https://github.com/Burak-Atas/duyuro-mcp), the npm package [`duyuro-mcp`](https://www.npmjs.com/package/duyuro-mcp) and `https://mcp.duyuro.com/mcp`. Do not give your key to packages or servers with similar names.

To report a vulnerability, see [SECURITY.md](SECURITY.md).

## Development

```bash
npm install
npm run typecheck && npm run build
DUYURO_API_KEY=dyr_pat_... node dist/index.js            # stdio
node dist/index.js --http --port 3100                    # HTTP at /mcp
DUYURO_API_KEY=dyr_pat_... npm run smoke                  # calls the read-only tools
```

Hosting notes are in [docs/deploy.md](docs/deploy.md).

## License

[MIT](LICENSE), Copyright (c) 2026 Duyuro.