mcp-instagram
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | http 模式绑定地址 | |
| MCP_PORT | No | http 模式端口,默认 18080 | |
| AUTH_TOKEN | No | http 模式的 Bearer 令牌。不设 = 不鉴权 | |
| IG_USER_ID | Yes | 专业账号的 user id(不是用户名) | |
| IG_API_BASE | No | 默认 https://graph.instagram.com(测试可指向本地假服务器) | https://graph.instagram.com |
| IG_DATA_DIR | No | 令牌缓存目录。容器里挂卷,续期结果才能跨重启保留 | |
| IG_APP_SECRET | No | 仅「短期换长期」时需要;续期用不到 | |
| MCP_TRANSPORT | No | http 启用 streamable-http | |
| IG_ACCESS_TOKEN | Yes | 长期访问令牌 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| publish_postA | 发布图文到 Instagram 专业账号。1 张图 → 单图帖,2–10 张 → 轮播(顺序即展示顺序,所有图按第一张的宽高比裁剪)。图片必须是 https 公网地址、JPEG 格式、≤8MB、宽 320–1440px、宽高比 4:5~1.91:1 —— Instagram 由服务端主动拉取媒体,本地路径与内网地址取不到。caption ≤2200 字符、话题标签 ≤30 个,且不渲染 Markdown。 |
| get_publishing_limitA | Instagram 的发布配额:100 条 / 24 小时滚动窗口(轮播算 1 条)。发布失败疑似限流时先查这个。 |
| check_tokenA | 查看访问令牌剩余有效天数。Instagram 长期令牌 60 天过期,本服务在剩余 7 天内自动续期;若长期不发布导致令牌彻底过期,则只能重新授权。 |
| refresh_tokenA | 立即续期访问令牌(有效期重置为 60 天)。通常不必手动调用 —— 快过期时会自动续。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/zouwei/mcp-instagram'
If you have feedback or need assistance with the MCP directory API, please join our Discord server