BlogDevelopersHow to Connect Claude to Instagram via MCP — Storylayer Setup Guide
Developers

How to Connect Claude to Instagram via MCP — Storylayer Setup Guide

Step-by-step guide to connecting Claude Desktop or Claude.ai to Instagram through Storylayer's MCP server. Schedule and publish posts with natural language.

Storylayer Team··8 min read
How to Connect Claude to Instagram via MCP — Storylayer Setup Guide

Claude can publish to Instagram — if you give it the right connector. Storylayer ships a production MCP (Model Context Protocol) server that lets Claude create, schedule, and publish branded posts to Instagram, Facebook, X, LinkedIn, Pinterest, and Ghost from a single conversation.

This guide walks through setup for Claude Desktop and Claude.ai.


What you need

  • A Storylayer Pro or Agency account (sign up)
  • An Instagram Business account connected in Storylayer (Settings → Accounts)
  • For Claude Desktop: a Personal Access Token from Dashboard → Developers
  • For Claude.ai: just the MCP URL — OAuth handles the rest

Claude.ai (hosted connector)

  1. Open Settings → Integrations → Connectors
  2. Click Add custom connector
  3. Paste: https://app.storylayer.ai/api/mcp
  4. Follow the Storylayer consent screen when prompted
  5. Ask Claude: "List my Storylayer projects and connected Instagram accounts"

Claude will call the whoami and list_social_connections tools automatically.


Claude Desktop (local client)

  1. Go to Dashboard → Developers → Set up Claude Desktop (one-click config) or generate a token manually
  2. Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
  "mcpServers": {
    "storylayer": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote@0.1.17",
        "https://app.storylayer.ai/api/mcp",
        "--header", "Authorization:${STORYLAYER_TOKEN}"
      ],
      "env": { "STORYLAYER_TOKEN": "Bearer sl_pat_..." }
    }
  }
}
  1. Cmd+Q Claude Desktop fully, then reopen
  2. Test: "Using Storylayer, create a draft Instagram post for tomorrow at 9am"

Typical publishing flow

Claude should follow this sequence:

  1. whoami — confirm token and project scope
  2. list_social_connections — verify Instagram is connected
  3. create_story — caption, media_url, channels: ["instagram"]
  4. preview_story — show you exactly what will post
  5. schedule_story or publish_story — ship it

For large images, Claude should use request_upload_url instead of embedding base64 in the conversation.


Agent discovery (ARD)

Storylayer publishes machine-readable discovery documents so AI registries can find us automatically:

  • ARD catalog: https://app.storylayer.ai/.well-known/ai-catalog.json
  • Agent quickstart: https://app.storylayer.ai/.well-known/agent-quickstart.md

Full docs: storylayer.ai/docs/mcp


Troubleshooting

  • 401 Unauthorized — check Pro/Agency plan and Bearer token format
  • Empty tool list — fully quit and reopen Claude Desktop
  • Wrong project — use project-scoped tokens per brand (Dashboard → Developers → Set up Claude Desktop)

See the FAQ for more MCP troubleshooting.

Start automating today

14-day Pro trial. No credit card required.

Start free trial