Sp MCP Server
Allows publishing Instagram posts (with caption and image URL) and listing connected Instagram accounts.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Sp MCP Server
MCP server that lets Claude publish directly to Instagram accounts linked to Sp platform users.
Deployment
cd mcp-server
npm install
npx wrangler login
# سرّيات لازم تضيفها قبل أول deploy:
npx wrangler secret put SUPABASE_SERVICE_ROLE_KEY
# (خذها من Supabase Dashboard → Settings → API → service_role secret)
npx wrangler secret put IG_APP_ID
npx wrangler secret put IG_APP_SECRET
# (App ID/Secret تبع تطبيق randieb من Meta for Developers)
npm run deployAfter the first deploy, Cloudflare gives you a URL in the format:
https://sp-mcp.<subdomain>.workers.devYou must update MCP_BASE_URL in the wrangler.toml file with that same URL, and run npm run deploy again.
Related MCP server: instagram-mcp
Connecting from Claude
The user goes to Claude settings → Connectors → Add custom connector, and enters:
https://sp-mcp.<subdomain>.workers.dev/mcpClaude will automatically discover the OAuth endpoints (/.well-known/oauth-authorization-server), and will take them to the login page (/authorize) only the first time.
Available Tools
list_connected_accounts— returns the linked Instagram accountspublish_instagram_post(caption, image_url, account_id?)— publishes an image with a caption
Security Notes
Instagram tokens are stored in the
sp_instagram_accountstable in the Supabase project, protected by Row Level SecurityAccess from the Worker to the database is done via the
service_role key(it intentionally bypasses RLS because it is Server-side trusted), so this key must remain completely secret and stored only as a Wrangler secret, never placed in the code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets Claude and AI agents post and schedule on Instagram, TikTok, LinkedIn and 5 more networks.
Publish and schedule Instagram posts, Reels and carousels from your AI assistant.
Create, schedule and publish Instagram and Facebook posts from Claude or ChatGPT.
Instagram for AI agents: publish, read comments and DMs, insights, and engage from your account.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables sending and receiving Instagram Direct Messages, managing conversations, downloading media, viewing user profiles and stories, and interacting with posts through natural language in Claude.MIT
- AlicenseNot gradedqualityCmaintenanceEnables team members to publish Instagram carousels and single images to their own professional Instagram accounts directly from Claude conversations, with per-user authentication and idempotent publishing.33 npmMIT
- AlicenseAqualityCmaintenanceEnables controlling an Instagram account through natural language, including posting photos, reels, and carousels, reading insights, managing comments and DMs, and handling ads and events.25MIT
- AlicenseNot gradedqualityCmaintenanceConnects Claude to Instagram through Meta's official API, enabling users to retrieve account insights, analyze professional profiles, publish photos/carousels/reels/stories, manage comments, read and respond to Direct messages, and call any Graph API endpoint.39 npmMIT