jlbadano/ig-mcp
A production-ready Model Context Protocol (MCP) server that enables AI applications to seamlessly interact with Instagram Business accounts.
549fbeedc7f4Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Prompt Integrity is not analysed and has no number.
- Prompt Integrity: no tool description could be read from the code
Top risks in plain words
- HIGHTools
get_media_insights,get_media_posts,get_profile_inforequest any address by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Limit where it can connect
get_media_insights,get_media_posts,get_profile_infocan request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
get_media_insights,get_media_posts,get_profile_info, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 10 tools, 4 resources, 3 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_account_insights, get_account_pages, get_conversation_messages, get_conversations, get_media_insights, get_media_posts and 4 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files10 tools · get_account_insights, get_account_pages, get_conversation_messages +7
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (17: 10 tools, 4 resources, 3 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_media_insightstool Filesoutside textRequests any address
No description.
get_media_poststool Filesoutside textRequests any address
No description.
get_profile_infotool Filesoutside textRequests any address
No description.
analyze_engagementprompt Analyze Instagram post engagement and provide insights
Analyze Instagram post engagement and provide insights
content_strategyprompt Generate content strategy recommendations based on account performance
Generate content strategy recommendations based on account performance
hashtag_analysisprompt Analyze hashtag performance and suggest improvements
Analyze hashtag performance and suggest improvements
Account Insightsresource Account-level analytics and insights
Account-level analytics and insights
Connected Pagesresource Facebook pages connected to the account
Facebook pages connected to the account
Instagram Profileresource Current Instagram business profile information
Current Instagram business profile information
Recent Media Postsresource Recent Instagram posts with engagement metrics
Recent Instagram posts with engagement metrics
get_account_insightstool Filesoutside text
No description.
get_account_pagestool Filesoutside text
No description.
get_conversation_messagestool Filesoutside text
No description.
get_conversationstool Filesoutside text
No description.
publish_mediatool Filesoutside text
No description.
send_dmtool Filesoutside text
No description.
validate_access_tokentool Filesoutside text
No description.
Text the model reads (17)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_profile_info tool
get_media_posts tool
get_media_insights tool
publish_media tool
get_account_pages tool
get_account_insights tool
validate_access_token tool
get_conversations tool
get_conversation_messages tool
send_dm tool
analyze_engagement prompt
Analyze Instagram post engagement and provide insights
content_strategy prompt
Generate content strategy recommendations based on account performance
hashtag_analysis prompt
Analyze hashtag performance and suggest improvements
Instagram Profile resource
Current Instagram business profile information
Recent Media Posts resource
Recent Instagram posts with engagement metrics
Account Insights resource
Account-level analytics and insights
Connected Pages resource
Facebook pages connected to the account
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 17 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 17 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 17 tool handlers traced
- Requests any address1 finding the scanner could not decide; see the findings below
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 17 tool handlers traced
- Tools that start processesNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Tools that touch files10 of 17 capabilities touch files; 7 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
Where the code is: 17 handlers in 1 file at commit 549fbeedc7f4
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests1 manifest: requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 3 not resolved: requirements.txt: 26 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; scripts/setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=0.1.0, mcp >=1.0.0
- 2 checks: undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Credential harvestingNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (10 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=0.1.0, mcp >=1.0.0 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-02-09 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 4 catalogs (github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-05-30 |
| Topics | facebook instagram mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.