# LinkedDraft LinkedIn Content MCP Server

LinkedIn MCP server for AI content creation, LinkedIn post generation, post rewriting, topic ideation, voice training, lead magnet generation, draft management, and content workflow automation. Built…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add linkeddraft/ailinkedwriter

# Browse available tools
npx -y @smithery/cli@latest tool list linkeddraft/ailinkedwriter

# Get full schema for a tool
npx -y @smithery/cli@latest tool get linkeddraft/ailinkedwriter liw_generate_post

# Call a tool
npx -y @smithery/cli@latest tool call linkeddraft/ailinkedwriter liw_generate_post '{}'
```

## Direct MCP Connection

Endpoint: `https://ailinkedwriter--linkeddraft.run.tools`

**Required config:**
- `x-api-key` (header) — Get you API key from: https://www.linkeddraft.xyz

## Tools (17)

- `liw_generate_post` — Generate one production-ready LinkedIn post.
- `liw_regenerate_post` — Rewrite an existing post based on user instruction (no credit consumption).
- `liw_train_voice` — Extract forensic Voice DNA and mapped suggestions from historical posts.
- `liw_ideate_topics` — Generate 5-10 punchy LinkedIn topic ideas from a raw thought.
- `liw_generate_lead_magnet` — Generate one standalone lead magnet and return preview + doc URL.
- `liw_list_post_types` — List supported post type keys and labels.
- `liw_list_templates` — List static template catalog with optional post-type filter.
- `liw_list_custom_voices` — List editable custom voices only (tone presets excluded).
- `liw_create_voice` — Create a custom voice.
- `liw_update_voice` — Update a custom voice by id.
- `liw_delete_voice` — Soft-delete a custom voice by id.
- `liw_list_post_drafts` — List paginated post drafts.
- `liw_create_post_draft` — Create a post draft.
- `liw_update_post_draft` — Update a post draft by id.
- `liw_delete_post_draft` — Soft-delete a post draft by id.
- `liw_list_lead_magnets` — List paginated standalone lead magnets with preview/download fields.
- `liw_get_usage` — Fetch current credit usage and billing period boundaries.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get linkeddraft/ailinkedwriter <tool-name>
```
