Start here
MCP Overview
Start with the transport model, endpoint shape, and base MCP behavior.
Authentication
Learn how to connect with OAuth or a Mallary API key.
Enabled Tools
See the current Mallary MCP tool names for posting, uploads, comments, analytics,
profiles, settings, connected platform listing, and webhooks.
Runtime Behavior
Review preflight, idempotency forwarding, API parity, and error handling
details.
Add to Cursor
- Open Cursor Settings
- Go to Tools & MCP
- Click + Add new MCP server
- Paste the following configuration:
- Save the configuration.
- Return to Tools & MCP.
- When Cursor prompts you, click Connect.
- Enter your Mallary API key in the browser to complete the OAuth flow.
Add to Claude Code
The official Mallary Claude Code plugin is under review for publication in the Claude Code plugin directory. While review is pending, you can install it directly from Mallary’s GitHub marketplace.
- For Claude Code, run:
- Run
/mcp. - Select Authenticate for Mallary to complete the OAuth flow.
Add to Claude
Mallary is in the Claude Connector Directory. You do not need to add a custom server or paste in an API key.Add to Claude
Open Mallary in Claude and add the connector.
- Click Add to Claude above.
- Sign in to Mallary and allow the connection.
- Grant Claude network access to upload files to Mallary’s CDN
- Ask Claude to use Mallary for your social media work.
Mallary for Claude
See what Claude can do with Mallary.
Add to Codex
codex. Codex then prompts you to authenticate with OAuth.
Add to VSCode
Open the Command Palette (CMD+Shift+P) → MCP: Add Server and enter:
mcp.json:
mcp.json
Add to OpenCode
Add to youropencode.jsonc:
opencode.jsonc
What Mallary MCP does
Mallary MCP exposes the same public publishing surface as the Mallary API through MCP tools. With Mallary MCP you can:- create upload URLs
- create and schedule social media posts
- read job status
- list grouped posts
- list comments and post supplied replies on published posts
- delete pending posts
- read analytics
- list connected platforms across Mallary’s supported platform set
- list profile IDs with
mallary_list_profiles - create and rename connection profiles
- target non-default connection profiles with
profile_id - read and update profile settings
- manage webhooks
- disconnect platforms
Why teams use Mallary MCP
Mallary MCP is useful when you want to connect social publishing directly into:- AI assistants
- autonomous agent workflows
- IDE agents
- internal AI tooling
- LLM-based operator workflows
Base URL
Endpoint
Mallary serves MCP at:POST /mcpGET /mcpDELETE /mcp
Authentication
OAuth-ready clients should use Mallary’s browser sign-in flow. Existing scripts and manual clients can still authenticate with a Mallary API key:MCP transport and behavior
Mallary exposes a remote MCP server over Streamable HTTP for public API parity. That means:- MCP tools route through the existing
/api/v1/*handlers - posting logic is not duplicated in a separate MCP-only implementation
- Mallary can return tool responses as event-stream payloads
mallary_create_postruns preflight first by default
Mallary MCP tools
The current enabled tools are:mallary_create_upload_urlmallary_create_postmallary_get_jobmallary_attach_tiktok_post_urlmallary_list_postsmallary_list_commentsmallary_reply_to_commentmallary_delete_postmallary_get_analyticsmallary_get_audiencemallary_list_profilesmallary_create_profilemallary_rename_profilemallary_list_platformsmallary_disconnect_platformmallary_get_settingsmallary_update_settingsmallary_list_webhooksmallary_create_webhookmallary_delete_webhook
mallary_list_profiles to find random public profile IDs. Tools that publish, list posts, read comments, read post analytics, read audience counts, list platforms, read settings, update settings, or disconnect platforms accept profile_id for non-default connection profiles. Omit it to use the default profile.
What makes Mallary MCP useful
Mallary MCP is a strong fit when you want an AI workflow to:- generate content and publish it
- upload images or video before publishing
- read whether a post succeeded or failed
- list previous posts and grouped outcomes
- read analytics snapshots after publishing
- read follower and subscriber counts for connected accounts
- register or remove webhooks as part of automation
Relationship to the Mallary API
Mallary MCP is not a separate product surface with different business rules. It uses the same underlying platform as the dashboard, REST API, and CLI, which means:- plan gating still applies
- platform rules still apply
- account identity still comes from the same Mallary user account
- job and analytics behavior stay aligned across product surfaces
platform_options.
The same applies to scheduling. mallary_create_post accepts an absolute scheduled_at. It also accepts a local scheduled_at with a scheduled_timezone such as America/New_York.
For the exact supported fields and examples by platform, see:
Platform options reference
The same is true for media validation.
Examples:
- Threads supports text-only posts, one image, one video, or a 2 to 20 item carousel using supported JPG/JPEG/PNG/WEBP/MP4/MOV media.
- YouTube requires exactly one video.
- Video thumbnails use
media[].thumbnail_urland must point to a Mallary-hosted file URL. - TikTok video posts require one video, and TikTok photo posts support up to 35 JPEG/WebP images.
- Pinterest requires exactly one image or GIF, or exactly one video.
Plans and feature access
Comment listing and comment replies are available on all Mallary plans. Most other MCP tools require a paid plan. Current product rules are:- Free: comment listing and comment replies
- Starter: MCP enabled
- Pro: MCP enabled
- Business: MCP enabled
Error handling
When the underlying API call is not successful, Mallary MCP returns structured errors. Non-2xx results include fields such as:http_statuscodemessagedetailswhen available
Good fit for Mallary MCP
Mallary MCP is a strong fit if you want:- social media tools inside an AI assistant
- a clean MCP tool surface instead of raw HTTP orchestration
- the same posting backend used by Mallary itself
- uploads, posting, analytics, and webhooks in one MCP server

