swonkie.dev
    • Introduction
    • Quick Start
    • Changelog
    • 🆕 MCP Server
    • Social Networks
      • Facebook
      • Instagram
      • LinkedIn
      • TikTok
      • Threads
    • Profiles
      • My Profiles
        GET
      • Competitors
        GET
    • Insights
      • Getting Started
      • My Profile Insights
        GET
      • My Profile Insights Posts
        GET
      • Competitor Insights
        GET
      • Competitor Insights Posts
        GET
    • Posts
      • Getting Started
      • Limits by Social Network
      • List Posts
        GET
      • Get a Post
        GET
      • Create a Post
        POST
      • Update a Post
        PUT
      • Validate a Post
        GET
      • Delete a Post
        DELETE
      • Change Post Stage
        PATCH
    • Labels
      • Getting Started
      • List Labels
      • Create a Label
    • Media
      • Get a Media
      • Create a Media
      • Upload File to Media
      • Confirm Uploaded Media
      • Delete a Media
    • Examples
      • Publish
    Back to Home
    Back to Home
    Login

    🆕 MCP Server

    What is MCP?#

    Model Context Protocol (MCP) is an open standard that allows AI assistants and automation tools to call external services as native tools — no copy-pasting, no custom integrations. When you connect Swonkie via MCP, your AI agent can query your analytics, manage posts, move content through approval workflows, and publish — all from a natural conversation or automated workflow.
    Swonkie's MCP server uses the Streamable HTTP transport, which means it works in cloud-hosted AI tools (Claude.ai, ChatGPT) and local clients (Claude Desktop, n8n) without running any local process.

    What You Can Do#

    Once connected, an AI agent can:
    List your connected social profiles and competitor profiles
    Pull daily analytics and per-post insights for any profile or competitor
    Create, update, and delete posts (with per-network captions, media, and platform-specific options)
    Schedule posts, send them for team review, approve or reject them
    Manage your media library (upload and reference images/videos in posts)
    Create and list labels for content organisation

    Prerequisites#

    A Swonkie workspace with API access enabled
    An API client created at Settings → Workspace → API
    A visible API key — keys are only shown immediately after creation or after a rotation. If your key is hidden, rotate it to reveal a new one.

    Your MCP Server URL#

    https://mcp.swonkie.dev/mcp?apiId=YOUR_APP_ID&apiKey=YOUR_API_KEY
    You have two URLs — one per key slot (Primary and Secondary). Use different URLs for different clients so you can rotate one independently without breaking the other.
    Security: Treat the MCP URL like a password. It contains your live API key embedded in the URL. Do not share it publicly or commit it to version control.
    We will add OAuth support soon.
    Find your App ID and keys at Settings → Workspace → API. The MCP URL is displayed automatically once your API client is set up.

    Available Tools#

    The Swonkie MCP server exposes 17 tools organised into five groups.

    Profiles#

    ToolWhat it does
    swonkie_profiles_listLists your connected social profiles. Supports pagination (skip, take up to 20), text search, and filtering by network. Profile IDs from this tool are required by the analytics and post tools.
    swonkie_competitors_listLists monitored competitor profiles. Same parameters as swonkie_profiles_list. Competitor IDs feed into the competitor analytics tools.

    Analytics#

    ToolWhat it does
    swonkie_profile_insights_dailyReturns aggregated daily metrics for one of your connected profiles over a date range. Requires profileId, since (ISO 8601), until (ISO 8601), and metrics[].
    swonkie_profile_insights_postsReturns per-post metrics for one of your connected profiles over a date range. Same parameters as daily insights.
    swonkie_competitor_insights_dailyReturns aggregated daily metrics for a monitored competitor. Requires a competitor profileId from swonkie_competitors_list.
    swonkie_competitor_insights_postsReturns per-post metrics for a monitored competitor. Same parameters as competitor daily insights.
    Available metric names depend on your plan and the connected network. See docs.swonkie.dev for the full list.

    Posts#

    ToolWhat it does
    swonkie_posts_listLists posts in your workspace with optional filters: date range, workflow stages, post types, profile IDs, label IDs, and free-text search.
    swonkie_posts_getLoads a single post by ID. Returns the full post payload.
    swonkie_posts_createCreates a post. Requires type and profileIds[]. Supports per-network captions, media attachments, link previews, scheduled publish time, platform-specific options (Facebook carousels, TikTok flags, etc.), briefings, and labels.
    swonkie_posts_updateUpdates an existing post. Same schema as create — this is a full replacement, not a partial patch. Requires postId, type, and profileIds[].
    swonkie_posts_deletePermanently deletes a post by ID.
    swonkie_posts_validateRuns publish validation rules on a post and returns whether it is ready to go live along with any validation messages.
    swonkie_posts_stage_changeMoves a post through the approval workflow. See Workflow Stages below.
    Post types: STATUS, MEDIA, STORY, LINK, REEL

    Labels#

    ToolWhat it does
    swonkie_labels_listLists workspace labels. Paginated. Use label IDs when creating or filtering posts.
    swonkie_labels_createCreates a new label. Name must be 1–50 characters.

    Media#

    ToolWhat it does
    swonkie_media_getReturns metadata for an uploaded media item by ID.
    swonkie_media_createStarts a media upload — creates an entry in the media library and returns upload details. Follow with swonkie_media_upload_confirm after the file is uploaded. destinationType is either POST_MEDIA or POST_LINK.
    swonkie_media_upload_confirmFinalises processing after a file has been uploaded to the storage backend.
    swonkie_media_deleteRemoves a media item from the library.

    Workflow Stages#

    Use swonkie_posts_stage_change to move a post through the content approval pipeline.
    StageWhat it does
    publishNowPublishes the post immediately
    scheduleSchedules the post for its publishAt time
    unscheduleRemoves the scheduled time and returns the post to draft
    teamReviewSends the post to the team review queue
    approveApproves the post (from a review state)
    rejectRejects the post (from a review state)

    Supported Networks#

    The following network codes are accepted in profile filters, post profileIds, and per-network caption/media slots:
    CodeNetwork
    facebookFacebook
    instagram / instagram_v2Instagram
    meta_adsMeta Ads
    linkedinLinkedIn
    youtubeYouTube
    pinterestPinterest
    google_my_businessGoogle Business Profile
    tiktokTikTok
    threadsThreads
    twitterX (Twitter)
    tumblrTumblr
    bloggerBlogger
    wordpress / wordpressorgWordPress

    Quick Connect#

    Claude.ai (web)#

    1.
    Go to Claude.ai Connectors
    2.
    Click + → Add custom connector
    3.
    Enter a name, e.g. Swonkie
    4.
    Paste your MCP server URL and click Add

    Claude Desktop (UI)#

    1.
    Open Claude Desktop → Customize → Connectors (or use the deep link claude://settings/connectors)
    2.
    Click + → Add custom connector
    3.
    Enter a name, e.g. Swonkie
    4.
    Paste your MCP server URL and click Add

    Claude Desktop (config file)#

    1.
    Make sure Claude Desktop is up to date: Claude menu → Check for Updates...
    2.
    Open Settings → Developer → Edit Config (or use claude://settings/developer)
    3.
    Add the following to your config file:
    {
      "mcpServers": {
        "swonkie": {
          "type": "http",
          "url": "https://mcp.swonkie.dev/mcp?apiId=YOUR_APP_ID&apiKey=YOUR_API_KEY"
        }
      }
    }
    4.
    Save the file and restart Claude Desktop

    ChatGPT#

    1.
    Go to Settings → Apps → Advanced and enable Developer Mode (or open directly)
    2.
    Go to Connectors and click Create app (or open directly)
    3.
    Enter a name, e.g. Swonkie
    4.
    Paste your MCP server URL as the connector URL

    n8n#

    1.
    Open your workflow and add an MCP Client node (n8n MCP docs)
    2.
    Set the transport to Streamable HTTP
    3.
    Paste the following config into the node settings:
    {
      "transport": "streamable-http",
      "url": "https://mcp.swonkie.dev/mcp?apiId=YOUR_APP_ID&apiKey=YOUR_API_KEY"
    }

    Other MCP clients#

    1.
    Open or create your MCP configuration file (e.g. .mcp.json, mcp.json, or your client's equivalent)
    2.
    Add the following entry to the mcpServers section:
    {
      "mcpServers": {
        "swonkie": {
          "type": "http",
          "url": "https://mcp.swonkie.dev/mcp?apiId=YOUR_APP_ID&apiKey=YOUR_API_KEY"
        }
      }
    }
    3.
    Save the file and restart your client

    Security Best Practices#

    Use separate keys per client. Assign the Primary URL to one tool and the Secondary URL to another. If one is compromised you can rotate it without affecting the other.
    Rotate if exposed. Go to Settings → Workspace → API and rotate the affected key. The new key becomes valid immediately; the old one is invalidated.
    Never share MCP URLs publicly. The URL contains your live API key. Do not post it in public repos, Slack channels, or support tickets.
    Revoke by rotating. There is no separate revoke action — rotating a key is the way to invalidate a URL.
    Modified at 2026-05-26 15:46:12
    Previous
    Changelog
    Next
    Facebook
    Built with