MCP ScannerCustom audit
All servers

HagaiHen/facebook-mcp-server

Facebook MCP server for automating posts, comment moderation, insights, and sentiment filtering.

PublisherHagaiHen community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 236Forks 85Last push 2026-04-23
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence94%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 1 place a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

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.

  • 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 40 tools. 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.

None of the tools reaches any of these in the code the scanner could trace.

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.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

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

No tool was seen returning text from outside the server to the model.

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 (40: 40 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

bulk_delete_commentstool Delete multiple comments by ID.
Delete multiple comments by ID.
bulk_hide_commentstool Hide multiple comments by ID.
Hide multiple comments by ID.
bulk_unhide_commentstool Unhide multiple comments by ID.
Unhide multiple comments by ID.
delete_commenttool Delete a specific comment from the Page.
Delete a specific comment from the Page.
    Input: comment_id (str)
    Output: dict with deletion result
delete_comment_from_posttool Alias to delete a comment on a post.
Alias to delete a comment on a post.
    Input: post_id (str), comment_id (str)
    Output: dict with deletion result
delete_posttool Delete a specific post from the Facebook Page.
Delete a specific post from the Facebook Page.
    Input: post_id (str)
    Output: dict with deletion result
filter_negative_commentstool Filter comments for basic negative sentiment.
Filter comments for basic negative sentiment.
    Input: comments (dict)
    Output: list of flagged negative comments
get_comment_repliestool Get all replies to a specific comment.
Get all replies to a specific comment.
get_number_of_commentstool Count the number of comments on a given post.
Count the number of comments on a given post.
    Input: post_id (str)
    Output: integer count of comments
get_number_of_likestool Return the number of likes on a post.
Return the number of likes on a post.
    Input: post_id (str)
    Output: integer count of likes
get_page_fan_counttool Get the Page's total fan/like count.
Get the Page's total fan/like count.
    Input: None
    Output: integer fan count
get_page_infotool Get extended information about the Facebook Page.
Get extended information about the Facebook Page.
get_page_poststool Fetch the most recent posts on the Page.
Fetch the most recent posts on the Page.
    Input: None
    Output: dict with list of post objects and metadata
get_post_clickstool Fetch number of post clicks.
Fetch number of post clicks.
    Input: post_id (str)
    Output: dict with click count
get_post_commentstool Retrieve all comments for a given post.
Retrieve all comments for a given post.
    Input: post_id (str)
    Output: dict with comment objects
get_post_engaged_userstool Fetch number of engaged users.
Fetch number of engaged users.
    Input: post_id (str)
    Output: dict with engagement count
get_post_impressionstool Fetch total impressions of a post.
Fetch total impressions of a post.
    Input: post_id (str)
    Output: dict with total impression count
get_post_impressions_organictool Fetch organic impressions of a post.
Fetch organic impressions of a post.
    Input: post_id (str)
    Output: dict with organic impression count
get_post_impressions_paidtool Fetch paid impressions of a post.
Fetch paid impressions of a post.
    Input: post_id (str)
    Output: dict with paid impression count
get_post_impressions_uniquetool Fetch unique impressions of a post.
Fetch unique impressions of a post.
    Input: post_id (str)
    Output: dict with unique impression count
get_post_insightstool Fetch all insights metrics (impressions, reactions, clicks, etc).
Fetch all insights metrics (impressions, reactions, clicks, etc).
    Input: post_id (str)
    Output: dict with multiple metrics and their values
get_post_permalinktool Get the permalink URL of a post.
Get the permalink URL of a post.
get_post_reactions_anger_totaltool Fetch number of 'Anger' reactions.
Fetch number of 'Anger' reactions.
    Input: post_id (str)
    Output: dict with anger count
get_post_reactions_breakdowntool Get counts for all reaction types on a post.
Get counts for all reaction types on a post.
get_post_reactions_haha_totaltool Fetch number of 'Haha' reactions.
Fetch number of 'Haha' reactions.
    Input: post_id (str)
    Output: dict with haha count
get_post_reactions_like_totaltool Fetch number of 'Like' reactions.
Fetch number of 'Like' reactions.
    Input: post_id (str)
    Output: dict with like count
get_post_reactions_love_totaltool Fetch number of 'Love' reactions.
Fetch number of 'Love' reactions.
    Input: post_id (str)
    Output: dict with love count
get_post_reactions_sorry_totaltool Fetch number of 'Sorry' reactions.
Fetch number of 'Sorry' reactions.
    Input: post_id (str)
    Output: dict with sorry count
get_post_reactions_wow_totaltool Fetch number of 'Wow' reactions.
Fetch number of 'Wow' reactions.
    Input: post_id (str)
    Output: dict with wow count
get_post_share_counttool Get the number of shares for a post.
Get the number of shares for a post.
    Input: post_id (str)
    Output: integer share count
get_post_top_commenterstool Get the top commenters on a post.
Get the top commenters on a post.
    Input: post_id (str)
    Output: list of user IDs with comment counts
get_scheduled_poststool List all scheduled (unpublished) posts on the Page.
List all scheduled (unpublished) posts on the Page.
hide_commenttool Hide a comment from public view.
Hide a comment from public view.
post_image_to_facebooktool Post an image with a caption to the Facebook page.
Post an image with a caption to the Facebook page.
    Input: image_url (str), caption (str)
    Output: dict of post result
post_to_facebooktool Create a new Facebook Page post with a text message.
Create a new Facebook Page post with a text message.
    Input: message (str)
    Output: dict with post ID and creation status
reply_to_commenttool Reply to a specific comment on a Facebook post.
Reply to a specific comment on a Facebook post.
    Input: post_id (str), comment_id (str), message (str)
    Output: dict with reply creation status
schedule_posttool Schedule a new post for future publishing.
Schedule a new post for future publishing.
    Input: message (str), publish_time (Unix timestamp)
    Output: dict with scheduled post info
send_dm_to_usertool Send a direct message to a user.
Send a direct message to a user.
    Input: user_id (str), message (str)
    Output: dict of result from Messenger API
unhide_commenttool Unhide a previously hidden comment.
Unhide a previously hidden comment.
update_posttool Updates an existing post's message.
Updates an existing post's message.
    Input: post_id (str), new_message (str)
    Output: dict of update result

Text the model reads (40)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

filter_negative_comments tool
Filter comments for basic negative sentiment.
    Input: comments (dict)
    Output: list of flagged negative comments
post_to_facebook tool
Create a new Facebook Page post with a text message.
    Input: message (str)
    Output: dict with post ID and creation status
reply_to_comment tool
Reply to a specific comment on a Facebook post.
    Input: post_id (str), comment_id (str), message (str)
    Output: dict with reply creation status
get_page_posts tool
Fetch the most recent posts on the Page.
    Input: None
    Output: dict with list of post objects and metadata
get_post_comments tool
Retrieve all comments for a given post.
    Input: post_id (str)
    Output: dict with comment objects
delete_post tool
Delete a specific post from the Facebook Page.
    Input: post_id (str)
    Output: dict with deletion result
delete_comment tool
Delete a specific comment from the Page.
    Input: comment_id (str)
    Output: dict with deletion result
hide_comment tool
Hide a comment from public view.
unhide_comment tool
Unhide a previously hidden comment.
delete_comment_from_post tool
Alias to delete a comment on a post.
    Input: post_id (str), comment_id (str)
    Output: dict with deletion result
get_number_of_comments tool
Count the number of comments on a given post.
    Input: post_id (str)
    Output: integer count of comments
get_number_of_likes tool
Return the number of likes on a post.
    Input: post_id (str)
    Output: integer count of likes
get_post_insights tool
Fetch all insights metrics (impressions, reactions, clicks, etc).
    Input: post_id (str)
    Output: dict with multiple metrics and their values
get_post_impressions tool
Fetch total impressions of a post.
    Input: post_id (str)
    Output: dict with total impression count
get_post_impressions_unique tool
Fetch unique impressions of a post.
    Input: post_id (str)
    Output: dict with unique impression count
get_post_impressions_paid tool
Fetch paid impressions of a post.
    Input: post_id (str)
    Output: dict with paid impression count
get_post_impressions_organic tool
Fetch organic impressions of a post.
    Input: post_id (str)
    Output: dict with organic impression count
get_post_engaged_users tool
Fetch number of engaged users.
    Input: post_id (str)
    Output: dict with engagement count
get_post_clicks tool
Fetch number of post clicks.
    Input: post_id (str)
    Output: dict with click count
get_post_reactions_like_total tool
Fetch number of 'Like' reactions.
    Input: post_id (str)
    Output: dict with like count
get_post_reactions_love_total tool
Fetch number of 'Love' reactions.
    Input: post_id (str)
    Output: dict with love count
get_post_reactions_wow_total tool
Fetch number of 'Wow' reactions.
    Input: post_id (str)
    Output: dict with wow count
get_post_reactions_haha_total tool
Fetch number of 'Haha' reactions.
    Input: post_id (str)
    Output: dict with haha count
get_post_reactions_sorry_total tool
Fetch number of 'Sorry' reactions.
    Input: post_id (str)
    Output: dict with sorry count
get_post_reactions_anger_total tool
Fetch number of 'Anger' reactions.
    Input: post_id (str)
    Output: dict with anger count
get_post_top_commenters tool
Get the top commenters on a post.
    Input: post_id (str)
    Output: list of user IDs with comment counts
post_image_to_facebook tool
Post an image with a caption to the Facebook page.
    Input: image_url (str), caption (str)
    Output: dict of post result
send_dm_to_user tool
Send a direct message to a user.
    Input: user_id (str), message (str)
    Output: dict of result from Messenger API
update_post tool
Updates an existing post's message.
    Input: post_id (str), new_message (str)
    Output: dict of update result
schedule_post tool
Schedule a new post for future publishing.
    Input: message (str), publish_time (Unix timestamp)
    Output: dict with scheduled post info
get_page_fan_count tool
Get the Page's total fan/like count.
    Input: None
    Output: integer fan count
get_post_share_count tool
Get the number of shares for a post.
    Input: post_id (str)
    Output: integer share count
get_post_reactions_breakdown tool
Get counts for all reaction types on a post.
bulk_delete_comments tool
Delete multiple comments by ID.
bulk_hide_comments tool
Hide multiple comments by ID.
bulk_unhide_comments tool
Unhide multiple comments by ID.
get_comment_replies tool
Get all replies to a specific comment.
get_post_permalink tool
Get the permalink URL of a post.
get_scheduled_posts tool
List all scheduled (unpublished) posts on the Page.
get_page_info tool
Get extended information about the Facebook Page.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 40 capabilities
  • Tools that touch files
    Not seen in the traced code of 40 capabilities
  • Tools that call the network
    Not seen in the traced code of 40 capabilities
Where the code is: 40 handlers in 1 file at commit 61b2128555d7
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    1 manifest: requirements.txt
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: requirements.txt: 3 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    mcp
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 40 capabilities
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not 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 runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKmcp
Servers in the code1 (FacebookMCP)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-04-23
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseMIT
Created2025-05-08

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.