> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Add Postinger to Claude Code, with OAuth or an API key.

Add the server:

```bash theme={"system"}
claude mcp add --transport http postinger https://api.postinger.dev/mcp
```

Then run `/mcp` in Claude Code and authenticate Postinger.

To use an API key instead of OAuth, pass it when you add the server:

```bash theme={"system"}
claude mcp add --transport http postinger https://api.postinger.dev/mcp \
  --header "Authorization: Bearer $POSTINGER_API_KEY"
```

Claude Code's [MCP documentation](https://docs.anthropic.com/en/docs/claude-code/mcp) covers MCP servers in general.

For what each credential means, and what to do when connecting fails, see [Setup](https://docs.postinger.dev/mcp/setup.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.