Dropspace

v2.54.3
io.github.JCLVSH/dropspace Checked 52 minutes ago Published 17 days ago

Create, schedule, and publish social media launches across platforms, then read the analytics.

MCP server and CLI for the Dropspace API. Lets AI agents (Claude Code, Cursor) and humans manage launches, comments, personas, media generation, boosts, autopilot, recommendations, subreddit discovery, platform connections, profile and billing, API keys, and webhooks. The full tool list, by category, is in the tables below and at https://www.dropspace.dev/docs#mcp-server. Imported as a library, the package resolves only through its exports map (., ./hosted, ./tool-policy, ./policy, ./package.json); deep imports of dist/* are not supported.

Summary extracted from the README.

@jclvsh/dropspace

MCP server and CLI for the Dropspace API. Lets AI agents (Claude Code, Cursor) and humans manage launches, comments, personas, media generation, boosts, autopilot, recommendations, subreddit discovery, platform connections, profile and billing, API keys, and webhooks. The full tool list, by category, is in the tables below and at https://www.dropspace.dev/docs#mcp-server.

Installation

npm install -g @jclvsh/dropspace

This installs two binaries:

  • dropspace — CLI for terminal use
  • dropspace-mcp — MCP server for AI agents

Imported as a library, the package resolves only through its exports map (., ./hosted, ./tool-policy, ./policy, ./package.json); deep imports of dist/* are not supported.

CLI

# set your API key
export DROPSPACE_API_KEY=ds_live_...

# manage launches
dropspace launches list
dropspace launches create -t "my launch" --platforms twitter,reddit --publish
dropspace launches status <id>
dropspace launches analytics <id>

# manage personas
dropspace personas list
dropspace personas create -n "my brand voice"

# check your key
dropspace keys me

# table output
dropspace --format table launches list

# full help
dropspace --help
dropspace launches --help

CLI Commands

Group Commands
launches list, create, get, update, delete, publish, retry, generate, retry-content, analytics, batch-analytics, status, destinations, delete-post, delete-posts, comments list, comments reply, comments hide, comments delete
personas list, create, get, update, delete, analyze
media generate, job, library list, library add, library describe, library delete
connections list, disconnect, profile
boosts create, list, get, activate, cancel, performance
reddit suggest
credits balance, purchase
keys me, list, create, rename, revoke, rotate
webhooks list, create, get, update, delete, test, rotate-secret, deliveries
status dropspace official account connections
usage plan, limits, and billing period
changelog machine-readable release history
audience follower counts + growth per connected account
autopilot status, configure, review, approve, reject, run, runs
recommendations (recs) list, apply, dismiss
songs list, get, add, lyrics, rename, retry, delete
song-reels make, rollout, list, get, retry, launch, keep, delete
scene-clips cut, list, get, retry, delete
profile get, update
billing portal
recap your last 30 days of posting
affiliate affiliate status, link, sign-ups, commission totals

MCP Server Configuration

Environment Variables

Variable Required Description
DROPSPACE_API_KEY Yes Your Dropspace API key
DROPSPACE_API_URL No API base URL (default: https://api.dropspace.dev)

Note: the args use -p @jclvsh/dropspace dropspace-mcp to explicitly select the MCP-server bin. The package ships two binaries (dropspace for the CLI, dropspace-mcp for the MCP server), so a bare npx @jclvsh/dropspace would launch the CLI by default.

Claude Code

Add to your .claude/settings.json:

{
	"mcpServers": {
		"dropspace": {
			"command": "npx",
			"args": ["-y", "-p", "@jclvsh/dropspace", "dropspace-mcp"],
			"env": {
				"DROPSPACE_API_KEY": "ds_live_your_key_here"
			}
		}
	}
}

Cursor

Add to your .cursor/mcp.json:

{
	"mcpServers": {
		"dropspace": {
			"command": "npx",
			"args": ["-y", "-p", "@jclvsh/dropspace", "dropspace-mcp"],
			"env": {
				"DROPSPACE_API_KEY": "ds_live_your_key_here"
			}
		}
	}
}

Hosted Endpoint

Clients that connect to a remote MCP server over HTTPS can skip the install and use:

https://api.dropspace.dev/mcp
  • Transport: MCP streamable HTTP, POST only, stateless, JSON responses.
  • Registry: listed in the official MCP registry as io.github.JCLVSH/dropspace.
  • Auth: Authorization: Bearer ds_live_... (the same API key; its scopes apply). initialize and tools/list answer without a key, so a client can read the tool list before signing up; calling a tool needs the key.
  • Tools: a subset of this package. API key, webhook, boost, credit, reddit, media library, comment, destination, disconnect, profile, billing, recap, and affiliate tools are only available through the npm package (stdio) for now.
  • Every tool is annotated by class: read (readOnlyHint: true), write, or sensitive (destructiveHint: true: it publishes, schedules, or deletes on a connected platform, or deletes a launch or persona with no restore). The class of each hosted tool is listed at https://www.dropspace.dev/docs#mcp-hosted, and the source of truth is src/tool-policy.ts.
  • create_launch sends a content-derived Idempotency-Key, so a retry after a timeout returns the launch already created instead of creating a second one (the result says so).
  • Each MCP request counts once against the key's rate limit, and each tool call counts once more when it reaches the REST API.

Agent Skill

The package ships skills/dropspace/SKILL.md, which teaches an agent the dropspace workflow: check connections and usage, create a launch, review the copy, publish, read analytics, and ask before anything that spends money. Every tool it names is checked against this package's tool table in the test suite.

Install it for Claude Code:

mkdir -p ~/.claude/skills/dropspace && curl -fsSL https://unpkg.com/@jclvsh/dropspace/skills/dropspace/SKILL.md -o ~/.claude/skills/dropspace/SKILL.md

Other agents that read skill files can use the same file from node_modules/@jclvsh/dropspace/skills/dropspace/SKILL.md.

Available Tools

Launches

Tool Description
list_launches List your launches with pagination
create_launch Create a new launch with content, media, and account selection
get_launch Get a launch by ID with posting status
update_launch Update a launch's schedule, status, content, or media
delete_launch Delete a launch
publish_launch Publish a launch to all configured platforms
retry_launch Retry failed platforms for a launch
generate_content Generate AI content and video scripts for a launch
retry_launch_content Retry AI content generation for failed platforms
get_launch_analytics Get publishing analytics with per-post engagement metrics
get_batch_launch_analytics Get analytics for multiple launches in one call
get_launch_status Get detailed posting status with per-platform logs
get_launch_destinations One row per destination, naming each reddit subreddit (stdio only)

create_launch Parameters

Parameter Type Required Description
title string Yes Launch title
product_description string Yes Product description
platforms string[] Yes Platforms to publish to (1-9)
product_url string No Product URL
track_links boolean No Swap product_url in X, LinkedIn, Facebook, Reddit, and YouTube copy for a tracked link; clicks show as metrics.tracked_clicks in analytics
save_to_library boolean No Add the launch's uploaded media to the media library so autopilot can post it
scheduled_date string No ISO 8601 datetime (15+ min in the future)
persona_id string No Persona ID for tone/style
dropspace_platforms string[] No Platforms to post via official dropspace accounts
media_mode string No "images" or "video"
user_platform_accounts object No Map of platform key to token_id (UUID). Simple keys: twitter, reddit, instagram, tiktok, youtube. LinkedIn: linkedin:personal or linkedin:organization:<org_id>. Facebook: a bare facebook key works when you have exactly one Page (send any connection id from connections list as the value); to target a specific Page among several, use facebook:page:<page_id> or facebook:<page_id>, where page_id is the entity_id of that Page from connections list; several Pages with no page_id returns a 400 listing them
platform_contents object No Per-platform content (mutually exclusive with custom_content). Reddit accepts metadata.subreddits (string[], max 10, no r/ prefix — one post per subreddit, each retryable) and metadata.first_comment (max 1500). Instagram accepts instagram_settings.post_type: "feed" (default), "story", "carousel" (every attached image and the video as one carousel, 2 to 10 items), or "trial_reel" (the video as a reel shown to non-followers first; instagram_settings.graduation_strategy "MANUAL" (default) or "SS_PERFORMANCE" says how it reaches followers)
custom_content string | string[] No Single content for all platforms, or array of tweets for twitter thread mode (mutually exclusive with platform_contents)
custom_content_reddit_title string No Reddit title (required with custom_content + reddit)
media object[] No Inline media, URL or base64 (1-10 items, mutually exclusive with media_assets)
media_assets object[] No Pre-uploaded media references (mutually exclusive with media)
media_attach_platforms string[] No Platforms to attach media to
generate_ai_videos string[] No Auto-generate AI videos ("instagram", "tiktok")

update_launch Parameters

Parameter Type Required Description
id string Yes Launch ID
scheduled_date string | null No ISO 8601 datetime or null to clear
status string No "draft", "manual", "trigger", "scheduled", "paused" (holds a scheduled launch; "scheduled" resumes it), "cancelled"
platform_contents object No Per-platform content overrides (Instagram: instagram_settings.post_type "feed", "story", "carousel", or "trial_reel", plus graduation_strategy for a trial; a trial reel needs a professional account with 200 or more followers, or the update is refused with the reason)
dropspace_platforms string[] No Official dropspace account platforms
user_platform_accounts object No Map of platform key to token_id (UUID). Simple keys: twitter, reddit, instagram, tiktok, youtube. LinkedIn: linkedin:personal or linkedin:organization:<org_id>. Facebook: a bare facebook key works when you have exactly one Page (send any connection id from connections list as the value); to target a specific Page among several, use facebook:page:<page_id> or facebook:<page_id>, where page_id is the entity_id of that Page from connections list; several Pages with no page_id returns a 400 listing them
media object[] No Inline media (URL or base64, 1-10 items)
media_assets object[] No Pre-uploaded media references
media_attach_platforms string[] No Platforms to attach media to
media_mode string No "images" or "video"

generate_content Parameters

Parameter Type Required Description
id string Yes Launch ID
platforms string[] No Platforms to generate for (defaults to all)
generate_video_scripts string[] No Platforms to generate video scripts for ("instagram", "tiktok")

Personas

Tool Description
list_personas List your personas
create_persona Create a new persona for content tone/style
get_persona Get a persona by ID with analysis details
update_persona Update a persona's name or writing samples
delete_persona Delete a persona
analyze_persona Trigger AI analysis of a persona's writing style
finalize_persona Accept a completed analysis so the persona is usable
discard_persona_analysis Discard a pending analysis result

analyze_persona Parameters

Parameter Type Required Description
id string (UUID) Yes Persona ID
platforms string[] No Specific platforms to analyze samples from
include_custom_samples boolean No Include custom writing samples in analysis

update_persona Parameters

Parameter Type Required Description
id string Yes Persona ID
name string No New persona name (1-100 characters)
custom_samples array No Custom writing samples (max 50)
twitter_samples array No Twitter writing samples (max 50)
reddit_samples array No Reddit writing samples (max 50)
facebook_samples array No Facebook writing samples (max 50)
instagram_samples array No Instagram writing samples (max 50)
tiktok_samples array No TikTok writing samples (max 50)
linkedin_samples array No LinkedIn writing samples (max 50)
brand_kit object | null No Autopilot slide styling: text_color, outline_color (#RRGGBB), logo_url, logo_position (top-left, top-right, bottom-left, bottom-right); null clears it

Media

Tool Description
generate_media Submit an AI image or video generation job for a launch (returns a job ID)
get_media_job Poll a media generation job's status; returns the result URL when complete
list_media_library List the user's own photos and videos that autopilot can post (stdio only)
add_to_media_library Add photos or videos by public URL, with an optional description (stdio only)
update_media_library_item Set what a library item shows; autopilot chooses media by it (stdio only)
delete_media_library_item Remove an item from the library (stdio only)

generate_media takes use_product_image: true to build an image from the launch's product page image. The four library tools are not on the hosted endpoint yet.

Connections

Tool Description
list_connections List your connected social media accounts
disconnect_connection Disconnect a platform, or one account on it with account_id (stdio only)
update_connection_profile Edit the connected account's profile on the platform (youtube channel description)

Comments

Tool Description
list_launch_comments Comments on a launch's published posts, newest first, per post with a support status (stdio only)
reply_to_comment Reply as the publishing account: youtube and instagram (send scope, stdio only)
hide_comment Hide or unhide a comment: instagram (send scope, stdio only)
delete_comment Permanently delete a comment: instagram, media owner only (send scope, stdio only)
list_comment_queue Every comment still waiting for you across your recent instagram and youtube posts, with claude's suggested action (stdio only)
act_on_comments Hide (instagram, send scope) or dismiss up to 50 queue comments (stdio only)

CLI: dropspace launches comments list|reply|hide|delete and dropspace comment-queue list|hide|dismiss <platform:post_id:comment_id...>.

Reddit

Tool Description
suggest_subreddits Subreddits matched to a product brief, with promo policy and a standing badge per community (stdio only)

Reddit engagement (drafted comments in other communities) is paused: its tools and CLI commands are not served.

Boosts

Tool Description
create_boost Create a paid Meta boost (paused): objective engagement or traffic (Facebook link posts), optional max_cpc_cents cap. Running boosts pause themselves when click-through decays
list_boosts List all boosts attached to a launch
get_boost Get a boost by ID with current performance metrics
activate_boost Activate a paused boost — ad spend begins immediately
cancel_boost Cancel a boost (deletes the Meta campaign, irreversible)
get_boost_performance Fetch latest boost metrics (impressions, clicks, reach, spend)

Credits

Tool Description
get_credit_balance Get MPP credit balance and available packs (agent payments)
purchase_credit_pack Purchase a credit pack via MPP (Stripe-based agent payments)

Posts

Tool Description
delete_post Delete a single published post from its platform
delete_all_posts Delete all published posts for a launch from platforms

API Keys

Tool Description
get_current_api_key Get the current API key's info (no scope required)
list_api_keys List your API keys (requires admin scope)
create_api_key Create a new API key (raw key returned once)
rename_api_key Rename an API key
revoke_api_key Permanently revoke an API key
rotate_api_key Rotate an API key (new raw key returned once)

create_api_key Parameters

Parameter Type Required Description
name string Yes Key name (1-100 characters)
scopes string[] No Permission scopes (defaults to all): read, write, delete, publish, generate, admin

Webhooks

Tool Description
list_webhooks List your webhooks
create_webhook Create a webhook endpoint (secret returned once)
get_webhook Get a webhook by ID
update_webhook Update a webhook's URL, events, or active status
delete_webhook Delete a webhook
test_webhook Send a test delivery to a webhook endpoint
rotate_webhook_secret Rotate a webhook's signing secret (new secret returned once)
list_webhook_deliveries List delivery attempts for a webhook

create_webhook Parameters

Parameter Type Required Description
url string Yes Public HTTPS webhook URL. A Slack incoming webhook URL (https://hooks.slack.com/services/...) receives readable Slack messages instead of signed JSON
events string[] Yes Events to subscribe to: launch.completed, launch.failed, launch.partial, media.ready, persona.analyzed, post.deleted, recommendation.created, connection.expired, connection.restored

update_webhook Parameters

Parameter Type Required Description
id string (UUID) Yes Webhook ID
url string No New HTTPS webhook URL
events string[] No New events to subscribe to
active boolean No Enable or disable the webhook

Dropspace

Tool Description
get_dropspace_status Check which platforms have a connected dropspace account

Usage

Tool Description
get_usage Get your current plan, usage limits, and billing period
get_changelog Machine-readable release history: version, date, type, summary, migration notes on breaking entries

Audience

Tool Description
get_audience Follower counts and growth per connected account (Instagram, YouTube, TikTok, Twitter, Facebook Pages)
get_trial_reel_analytics Instagram trial reel results: totals, one entry per reel, and net followers since the first trial reel (local package only, not the hosted endpoint)
get_best_posting_hours When your Instagram followers are online (last 30 days): per hour, per weekday and hour, and the busiest hours (local package only, not the hosted endpoint)
get_audience_demographics Age, gender, country, and city of your Instagram followers and engaged audience (local package only, not the hosted endpoint)
get_reels_read Each Instagram account's latest reels read (local package only, not the hosted endpoint)
generate_reels_read Claude compares your top, middle, and bottom reels of the last 90 days; pro and premium, one a day per account (local package only, not the hosted endpoint)
list_trial_reels Trial reel programs: each Instagram account's program, posting hours, and reshared reels with their 1/3/7-day numbers; pro and premium (local package only)
update_trial_reel_program Turn an account's trial reel program on or off, or change reels per day, auto-approve, skip terms, timezone (send scope to turn on; local package only)
scan_trial_reels Scan an account's reels again and queue the strong ones (local package only)
update_trial_reel Approve, hold, re-caption, or remove a waiting reel, or approve all (send scope to approve; local package only)

Reports and workflows

Tool Description
save_report Save a markdown report to the user's reports page (local package only)
list_reports Saved reports, newest first, without bodies (local package only)
get_report One report with its markdown body (local package only)
list_songs Your songs for song to reels, newest first (pro and premium; local package only)
get_song One song with its waveform peaks (local package only)
add_song Add a song from a YouTube or SoundCloud link, or a public audio file url (local package only)
get_song_lyrics The song's lyrics with word timings, transcribed once (local package only)
delete_song Delete a song and its audio file (local package only)
make_song_reel Make a 9:16 lyric reel from a snippet of a song: clips from the media library, a gradient, or AI b-roll, lyrics and a hook line burned in (local package only)
rollout_song_reels Make 2-10 versions of one reel at once (style, then clip order or background, changing per version) (local package only)
keep_song_reel Keep one version of a rollout; the others are deleted with their library items (local package only)
list_song_reels Lyric reels, newest first, with render status and video_url once ready (local package only)
get_song_reel One reel with its lyric lines (local package only)
launch_song_reel A draft launch carrying a ready reel and its hook and lyrics as the caption; trial_reel makes it an Instagram trial reel (local package only)
delete_song_reel Delete a reel; its media library item and launch stay (local package only)
cut_scene_clips Cut a long video (a media library video, a YouTube link, or a public video url) into 2-8 second clips at its scene changes, up to 40, into the media library (local package only)
list_scene_clip_jobs Clip jobs, newest first, with status, clips made and added, and each clip's urls (local package only)
get_scene_clip_job One clip job; reading a ready job adds its clips to the media library (local package only)
retry_scene_clip_job Cut a failed or stuck job again (local package only)
delete_scene_clip_job Delete a clip job; clips already in the media library stay (local package only)

Prompts (local package only): instagram_audit, best_times_plan, winners_report. Each tells the AI app which tools to call and ends with save_report.

CLI: dropspace reports list|get|delete.

get_audience Parameters

Parameter Type Required Description
window_days number No Growth window in days (1-365, default 30)
include_instagram_insights boolean No Add Instagram growth analytics to each Instagram entry (default false)

CLI: dropspace audience [-w, --window-days <n>] [--instagram-insights], dropspace trial-reels, dropspace best-hours [--timezone <zone>], dropspace demographics [--timeframe <this_week|this_month|last_90_days>], dropspace reels-read [--generate] [--connection-id <id>], and dropspace trial-reel-program list|set|scan|approve|approve-all|remove.

With include_instagram_insights, each Instagram entry carries instagram_insights: follows, unfollows, net, and reach split into followers and non-followers per Pacific-time day, an estimated followers-over-time series rebuilt back from the current count, weekly growth velocity, the share of reach from non-followers, and contact-button taps. Instagram revises the last 7 days (settled: false). Each call reads up to 31 days, newest first, so a 90-day window fills over a few calls (days_pending). Instagram reports none of this for accounts under 100 followers (available: false).

Counts come from each platform's official API and are cached for 15 minutes. YouTube works differently: each read spends a shared daily quota, so a connected account's YouTube count is refreshed in the background about once an hour, and an on-demand read re-fetches at most every 6 hours if that background refresh is delayed; if the daily quota is exhausted, a YouTube read returns the most recent successful count instead of null. current.captured_at is always when that count was actually read from the platform, not when it was served from cache - use it to judge freshness, not the response time. YouTube history points are kept for 30 days (YouTube's API storage limit), so YouTube growth reaches back about 30 days even for a longer window_days; other platforms keep their full history. LinkedIn is not covered (its API exposes no personal-profile follower count).

Autopilot

Tool Description
get_autopilot Get autopilot status: config, queued ideas, drafts pending review
configure_autopilot Create or update the autopilot config (merge semantics)
list_autopilot_review List autopilot drafts awaiting approval (review mode)
approve_autopilot_draft Approve a draft — schedules it for publishing
reject_autopilot_draft Reject a draft — deletes it, refunds the launch slot, learns from feedback
run_autopilot_now Trigger a manual autopilot run immediately (2 per hour)
list_autopilot_runs Recent run history with per-step stats and errors

Autopilot is available on pro and premium plans. configure_autopilot takes media_source (ai, library, mixed) to post the user's own photos and videos, and product_image_url for AI slides built from the real product.

Account

Tool Description
get_profile Get your profile (stdio only)
update_profile Update your display name, full_name (stdio only)
create_billing_portal_session A URL to manage your subscription; pre-authenticated for subscribers, so don't share it (stdio only)
get_recap What you published in the last 30 days: posts, platforms, engagement, top post (stdio only)
get_affiliate Your affiliate status, link, sign-ups, and commission totals, with the program terms (stdio only)

CLI: dropspace profile get|update, dropspace billing portal, dropspace recap, dropspace affiliate.

Recommendations

Tool Description
list_recommendations List actionable insights from your organic post performance (winners, boost/promote/pause signals)
apply_recommendation Apply the one-click action: draft launch, PAUSED boost (needs ad_account_id), autopilot queue, directive
dismiss_recommendation Dismiss a pending recommendation

Applying never publishes or spends by itself — drafts need scheduling and boosts need explicit activation.

API Key & Scopes

Generate an API key at www.dropspace.dev/settings under the API section.

API keys support scoped permissions:

Scope Access
read List and read launches, personas, connections, dropspace status
write Create, update, and soft-delete launches and personas
generate Generate AI content and media, retry content generation
send Publish and retry launches, reply to and moderate comments, deliver webhooks
admin Manage API keys and webhooks

Keys created without a scopes list get read and write. The legacy publish and delete scopes were retired on 07/20/2026 (use send and write).

Use Case Recommended Scopes
AI agents / MCP read, write, generate
CI/CD publishing read, send
Monitoring read
Full management read, write, generate, send, admin

Webhook Events

Event Description
launch.completed All platforms finished posting successfully
launch.failed Launch posting failed on all platforms
launch.partial Launch posting succeeded on some platforms, failed on others
media.ready Media generation job completed
persona.analyzed Persona AI analysis completed
post.deleted A published post was deleted from its platform

Development

# Install dependencies
npm install

# Build
npm run build

# Run
DROPSPACE_API_KEY=ds_live_... npm start