Skip to main content
Glama
yahya759

Sp MCP Server

by yahya759

Sp MCP Server

Der MCP-Server ermöglicht es Claude, direkt auf Instagram-Konten zu veröffentlichen, die mit Benutzern der Sp-Plattform verbunden sind.

Bereitstellung (Deploy)

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 deploy

Nach dem ersten Deploy gibt dir Cloudflare einen Link im Format:

https://sp-mcp.<subdomain>.workers.dev

Du musst MCP_BASE_URL in der Datei wrangler.toml mit diesem Link aktualisieren und npm run deploy erneut ausführen.

Related MCP server: Instagram Complete MCP Server

Verbindung von Claude

Der Benutzer geht zu den Claude-Einstellungen → Connectors → Add custom connector und fügt Folgendes ein:

https://sp-mcp.<subdomain>.workers.dev/mcp

Claude erkennt automatisch die OAuth-Endpunkte (/.well-known/oauth-authorization-server) und leitet ihn nur beim ersten Mal zur Anmeldeseite (/authorize).

Verfügbare Tools

  • list_connected_accounts — gibt die verbundenen Instagram-Konten zurück

  • publish_instagram_post(caption, image_url, account_id?) — veröffentlicht ein Bild mit Bildunterschrift

Sicherheitshinweise

  • Instagram-Tokens werden in der Tabelle sp_instagram_accounts im Supabase-Projekt gespeichert und durch Row Level Security geschützt

  • Der Zugriff vom Worker auf die Datenbank erfolgt über den service_role key (umgeht RLS absichtlich, da er server-seitig vertrauenswürdig ist). Dieser Schlüssel muss daher absolut geheim bleiben und nur als Wrangler secret gespeichert werden, niemals im Code.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables 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
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage Instagram Business accounts by automating content publishing, scheduling posts, and analyzing performance metrics. Supports posts, stories, reels, and carousels with detailed audience insights and hashtag discovery.
    1
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables 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.
    24 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables controlling an Instagram account through natural language, including posting photos, reels, and carousels, reading insights, managing comments and DMs, and handling ads and events.
    25
    MIT