Instagram MCP Server
@jlbadano
关于 Instagram MCP Server
A production-ready Model Context Protocol (MCP) server that enables AI applications to seamlessly interact with Instagram Business accounts.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ig-mcp": {
"command": "python",
"args": [
"scripts/setup.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Instagram MCP Server?
A Model Context Protocol server that integrates with Instagram’s Graph API to let AI applications interact with Instagram Business accounts programmatically. It is built for developers using MCP-compatible agents (like Claude Desktop) and requires an Instagram Business account linked to a Facebook Page, a Facebook Developer Account, a long-lived access token, and Python 3.10+.
How to use Instagram MCP Server?
Clone the repository, install dependencies (pip install -r requirements.txt), set environment variables in a .env file (including INSTAGRAM_ACCESS_TOKEN, FACEBOOK_APP_ID, FACEBOOK_APP_SECRET, INSTAGRAM_BUSINESS_ACCOUNT_ID), then configure the MCP client (e.g., Claude Desktop) with the server command and arguments. Use natural language queries to trigger tools like getting profile info, analyzing posts, or publishing media.
Key features of Instagram MCP Server
- Retrieve Instagram business profile details
- Fetch recent posts with engagement metrics
- Access post‑level analytics (likes, comments, shares)
- Upload and publish images/videos to Instagram
- List Facebook pages connected to the account
Use cases of Instagram MCP Server
- Analyze post engagement and account insights
- Schedule and publish media content via an AI assistant
- Generate content strategy recommendations using built‑in prompts
- Evaluate hashtag performance for marketing campaigns
- Manage multiple Instagram business accounts through Facebook pages
FAQ from Instagram MCP Server
What prerequisites are required?
You need an Instagram Business account connected to a Facebook Page, a Facebook Developer Account, a long‑lived access token with the correct permissions, and Python 3.10+.
How do I get Instagram API credentials?
Follow the detailed authentication guide in AUTHENTICATION_GUIDE.md or the steps in the README: set up a Business account, create a Facebook App, add the Instagram Graph API product, request the required permissions, generate a long‑lived access token (via Graph API Explorer or OAuth flow), and configure environment variables.
What permissions are required for the access token?
instagram_basic, instagram_content_publish, instagram_manage_insights, pages_show_list, and pages_read_engagement.
How do I handle token expiration?
Long‑lived tokens expire after 60 days. Implement automatic refresh by calling the fb_exchange_token endpoint before expiration. The README provides sample Python code for checking token validity and refreshing it.
What are the rate limits?
Profile, media, and insights requests are limited to 200 calls per hour. Publishing is limited to 25 posts per day. The server implements intelligent rate limiting and recommends caching, batch requests, and exponential backoff.
其他 分类下的更多 MCP 服务器
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
评论