Instagram Creator MCP
mcp-name: io.github.wmarceau/instagram-creator
Instagram automation tools for Claude via MCP (Model Context Protocol). Post images, Reels, carousels, Stories, and track analytics.
Features
- Post Images: Single image posts with captions and hashtags
- Carousels: Multi-image posts (2-10 images)
- Reels: Video posts with cover images
- Stories: Image or video Stories
- Analytics: Post insights and engagement metrics
- Comments: Read and reply to comments
- Account Stats: Follower count, post count
Installation
pip install instagram-creator-mcp
Setup
Prerequisites
- Facebook Business Account
- Instagram Professional Account (Business or Creator)
- Meta Developer App with Instagram Graph API
1. Create Meta App
- Go to Meta for Developers
- Create a new app (Business type)
- Add Instagram Graph API product
- Add Facebook Login product
2. Connect Instagram Account
- In your Meta App, go to Instagram > Basic Display
- Add your Instagram account
- Generate a User Access Token
3. Get Long-Lived Token
Short-lived tokens expire in 1 hour. Get a long-lived token (60 days):
curl -X GET "https://graph.facebook.com/v18.0/oauth/access_token?grant_type=fb_exchange_token&client_id={app-id}&client_secret={app-secret}&fb_exchange_token={short-lived-token}"
4. Set Environment Variable
export INSTAGRAM_ACCESS_TOKEN="your_long_lived_token"
Tools
| Tool | Description |
|---|---|
post_image |
Post single image to feed |
post_carousel |
Post multi-image carousel (2-10) |
post_reel |
Post video Reel |
post_story |
Post to Stories |
get_post_insights |
Get engagement metrics |
get_account_stats |
Follower/following count |
get_recent_posts |
List recent posts |
get_comments |
Get post comments |
reply_to_comment |
Reply to a comment |
Usage Examples
Post an Image
{
"tool": "post_image",
"arguments": {
"image_url": "https://example.com/image.jpg",
"caption": "Check out my latest workout routine!",
"hashtags": ["fitness", "workout", "gym", "motivation"]
}
}
Post a Reel
{
"tool": "post_reel",
"arguments": {
"video_url": "https://example.com/video.mp4",
"caption": "Quick tip for better form",
"hashtags": ["fitness", "reels", "tips"],
"share_to_feed": true
}
}
Post a Carousel
{
"tool": "post_carousel",
"arguments": {
"image_urls": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg",
"https://example.com/image3.jpg"
],
"caption": "My transformation journey - swipe to see!",
"hashtags": ["transformation", "progress", "fitness"]
}
}
Important Notes
Media URL Requirements
Instagram Graph API requires media to be hosted at publicly accessible URLs. Options:
- Use cloud storage (S3, Google Cloud Storage)
- Use a CDN
- Use a temporary file hosting service
Rate Limits
- Content Publishing: 25 posts per 24-hour period
- API Calls: 200 calls per hour per user
Permissions Required
Your access token needs these permissions:
instagram_basicinstagram_content_publishpages_show_listpages_read_engagement
Environment Variables
| Variable | Required | Description |
|---|---|---|
INSTAGRAM_ACCESS_TOKEN |
Yes | Graph API access token |
INSTAGRAM_ACCOUNT_ID |
No | Business Account ID (auto-detected) |
Claude Desktop Configuration
{
"mcpServers": {
"instagram-creator": {
"command": "instagram-creator-mcp",
"env": {
"INSTAGRAM_ACCESS_TOKEN": "your_token_here"
}
}
}
}
License
MIT
Metadata
Release files for instagram-creator-mcp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| instagram_creator_mcp-1.0.1.tar.gz | 7.8 kB | Without provenance | Details for instagram_creator_mcp-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| instagram_creator_mcp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for instagram_creator_mcp-1.0.1-py3-none-any.whl |
Total release size: 16.7 kB
Release files / instagram_creator_mcp-1.0.1.tar.gz
| Download URL | instagram_creator_mcp-1.0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59268e47bd639c2a4e5eec2705d909affb75bd09878deeae5d913e6e7cacbbb4
|
|
BLAKE2b-256 checksum How to use checksums |
91d89011de87802af73bf1a48b5cd96b87a4f8b6925ece3775b4730950a45193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / instagram_creator_mcp-1.0.1-py3-none-any.whl
| Download URL | instagram_creator_mcp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b76c39c1107bbc8be5de548f16f3e477b4a4ee49ff0bac4424b6b57702757506
|
|
BLAKE2b-256 checksum How to use checksums |
86b1ea8700bc4559a4773d983b3ad5e81141e9ecd7da34d7e04e1d1b2128b5bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for instagram-creator-mcp 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.