Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IG_PORTNo3000
IG_APP_IDNoMeta app id (token exchange/refresh, appsecret_proof, debug_token)
IG_ENV_FILENoEnv-file location override (default: XDG path)
IG_AUTH_MODENoig-login | fb-login; alias IG_AUTH_PATH (inferred fb-login when IG_APP_ID+IG_APP_SECRET are set)
IG_HTTP_HOSTNo127.0.0.1
IG_LOG_LEVELNodebug | info | warn | errorinfo
IG_MAX_ITEMSNofetchAll hard item cap200
IG_TRANSPORTNostdio | httpstdio
IG_ACCOUNT_IDNoIG professional-account ID (skip a lookup / disambiguate)
IG_APP_SECRETNoMeta app secret (secret)
IG_HTTP_TOKENNoHTTP bearer token (secret; constant-time compare)
IG_TIMEOUT_MSNoPer-request timeout for Graph calls30000
IG_WRITE_MODENopreview | apply (standing consent for writes)preview
IG_PRETTY_JSONNoPretty-print JSON resultsfalse
IG_ACCESS_TOKENYesThe account's long-lived token, whichever auth path (secret)
IG_PACKAGES_DENYNoPackages to remove after profile resolution
IG_TOOL_PACKAGESNocore | reader | publisher | all, or an explicit listcore
IG_WRITE_JOURNALNoApplied-write audit log (default: $XDG_STATE_HOME/instagram-mcp-ai/writes.jsonl)
IG_ACTIVE_PROFILENoProfile used when a tool call passes no accountdefault
IG_MAX_CONCURRENTNoPer-host concurrency semaphore4
IG_ALLOW_DESTRUCTIVENoSecond gate for irreversible ops (delete_comment)false
IG_PACKAGES_READONLYNoPackages forced read-only
IG_REFRESH_AFTER_DAYSNoPath-A auto-refresh threshold45

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/IvanBBaev/instagram-mcp'

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