Skip to main content
Glama
yahya759

Sp MCP Server

by yahya759

Sp MCP Server

MCP server 让 Claude 可以直接发布到与 Sp 平台用户关联的 Instagram 账户。

部署 (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

首次 deploy 后,Cloudflare 会给你一个链接,格式如下:

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

必须更新 wrangler.toml 文件中的 MCP_BASE_URL 为这个链接,然后再次运行 npm run deploy

Related MCP server: Instagram Complete MCP Server

从 Claude 连接

用户前往 Claude 设置 → Connectors → Add custom connector,然后填入:

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

Claude 会自动发现 OAuth endpoints(/.well-known/oauth-authorization-server),并带用户到登录页面(/authorize),仅首次需要。

可用工具 (Tools)

  • list_connected_accounts — 返回已关联的 Instagram 账户

  • publish_instagram_post(caption, image_url, account_id?) — 发布带标题的图片

安全注意事项

  • Instagram 令牌存储在 Supabase 项目的 sp_instagram_accounts 表中,受 Row Level Security 保护

  • Worker 通过 service_role key 访问数据库(有意绕过 RLS,因为它是 Server-side trusted),所以这个密钥必须完全保密,仅作为 Wrangler secret 保存,绝不能写进代码里

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
  • 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.
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to manage Instagram and Threads accounts — publish content, handle comments, view insights, search hashtags, and manage DMs through the Meta Graph API.
    59
    46
    10
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Connects Claude Desktop and other MCP clients to the Instagram Graph API for reading analytics, managing comments, and publishing photos, carousels, and reels.
    11
    488
    MIT

View all related MCP servers

Related MCP Connectors

  • Instagram for AI agents: publish, read comments and DMs, insights, and engage from your account.

  • MCP server for QPost — lets AI agents publish video and image posts to YouTube, TikTok, Instagram.

  • Publish, schedule and verify social posts across seven networks from your AI assistant.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yahya759/sp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server