---
ref: tool:notra/generate-post
name: Generate a post
company: company:notra
workflows: []
access: [mcp, cli, api]
tags: [capability:write-copy, category:geo, has:api, has:cli, has:mcp]
docs: https://docs.usenotra.com/api-reference/content/queue-async-post-generation
updated: 2026-09-28
---

# Generate a post

Queues a job that drafts a changelog, blog post, LinkedIn post or X post from recent GitHub and Linear activity in the brand's voice.

Note: Returns a `jobId`; poll `get_post_generation_status` (`GET /v1/posts/generate/{jobId}`) until the draft is ready. `lookback` picks the activity window, from `current_day` to `last_30_days`.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "notra": { "url": "https://mcp.usenotra.com/mcp" } } }
```

Call the MCP tool `generate_post`.

Server URL: https://mcp.usenotra.com/mcp

### CLI (official)

Install the command and sign in with it, then confirm it runs.

```sh
npm i -g notra
notra --version
```

Run `notra posts generate`.

### API (official)

- Base URL: https://api.usenotra.com
- Endpoint: `POST /v1/posts/generate`
- Auth: send the header `Authorization: Bearer $NOTRA_API_KEY`
- Docs: https://docs.usenotra.com/api/authentication

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
