> ## 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.

# Connect with MCP

> Give your AI assistant access to a Postinger project.

## Add the remote server

In an MCP client that supports remote Streamable HTTP and OAuth, add:

```text theme={null}
https://api.dev.postinger.dev/mcp
```

Complete the browser authorization flow: sign in as a project admin, select the project, review the requested permissions, and connect. No local npm package or CLI login is required.

The exact settings screen varies by client. This is a generic URL-based configuration; adapt the enclosing configuration to your client:

```json theme={null}
{
  "mcpServers": {
    "postinger": { "url": "https://api.dev.postinger.dev/mcp" }
  }
}
```

For clients without OAuth support, configure a customer API key as the HTTP `Authorization: Bearer pst_…` header using the client's credential settings. Do not put keys in the URL or tool arguments.

## Try a read-only request

> List my Postinger accounts, then show the publishing capabilities for the account I choose.

Next, try [drafting with a public image URL](/mcp/examples). Hosted uploads accept HTTPS URLs, not paths on your computer. For local files, use `postinger upload FILE` and give the resulting media ID to the assistant.

## Manage access

OAuth connections appear in **Project settings → Connected apps**. They last at most 90 days and can be disconnected at any time. Disconnecting stops further access; it does not cancel previously scheduled posts.

Default requested permissions exclude post deletion. A client must explicitly request `posts-delete`, and you must approve it. API-key connections use the key's own permissions and expiry.

## Two different MCP services

The Postinger server operates on your accounts, posts, media, and analytics. A documentation search MCP supplied by your documentation host searches the docs; connect the Postinger URL above to perform product actions.


## Related topics

- [Build with Postinger](/introduction.md)
- [Your first draft](/quickstart.md)
- [MCP examples](/mcp/examples.md)
- [List connected accounts](/api-reference/accounts/list-connected-accounts.md)
- [Local MCP server](/mcp/local-server.md)


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