Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

mastodon-mcp-cli

by thenavidm/mastodon-mcp-cliMIT licenceAudited 11 Oct 2026 · source bca0c006b647

npm @thenavidm/mastodon-mcp-cli 2.0.1★ 0
!CAUTIONGrade B · 89/100 · 11 Oct 2026 · bca0c00
0GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 51 tools: 35 read, 9 write and 7 destructive. The audit recorded 9 findings (0 critical, 0 high, 3 medium, 6 low). Maintainer's description: Mastodon MCP server and CLI for Claude Code, Codex and AI agents. 76 tools for posting, editing, threads, timelines, search, lists, notifications and following, across any instance.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “mastodon-mcp-cli (thenavidm/mastodon-mcp-cli)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/thenavidm/mastodon-mcp-cli

Trust audit

Audit 0.4.1 · full source read 11 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high3 medium6 low0 info

9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared7 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 5 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner thenavidmUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@thenavidm/mastodon-mcp-cli at version 2.0.1
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push6 days agoActivity of the repository when we read it.
  • Source commit readbca0c006b647The audit covers exactly this commit, read on 11 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory51 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (9)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · src/auth/login.ts:124
F-04 Network egressCWE-200 · CWE-319Layer L1
const url = new URL(req.url ?? "/", `http://127.0.0.1:${port}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/auth/login.ts:194
F-04 Network egressCWE-200 · CWE-319Layer L1
const redirectUri = oob ? OOB_REDIRECT : `http://127.0.0.1:${port}/callback`;
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
block_domain, clear_notifications, delete_list, delete_status, dismiss_notification, remove_from_list, unblock_account
Why
7 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .mcpbignore
F-13 Inventory / provenanceCWE-1104Layer L0
.mcpbignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWNetwork egressnet.raw_ip · tests/cli.test.ts:69
F-04 Network egressCWE-200 · CWE-319Layer L1
vi.stubEnv("MASTODON_URL", "http://127.0.0.1:9");
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · tests/text.test.ts:25
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const family = "👨👩👧👦";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@thenavidm/slipway, zod, @types/node, ajv, typescript, vitest
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:32
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Node 22 or newer. Scripts keep working for success, usage errors and missing setup; a script that treated exit 1 as "unknown command" or "read-only" should read 2. Over MCP, expect an approval prompt
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:795
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **An access token reaches your whole account.** It can post, delete, follow and block as you. Revoke it at `https://your-instance/oauth/authorized_applications`.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

51 declared in source · 7 destructive

35 read9 write7 destructive

7 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
block_domaindestructiveHide every account on an entire instance and remove their followers. This is the blunt instrument for a server that is a persistent problem rather than one account. Needs confirm: true.
clear_notificationsdestructiveDelete all notifications permanently. This is not the same as marking them read, and there is no undo. Needs confirm: true.
delete_listdestructiveDelete a list. The accounts on it are not affected, only the list. Needs confirm: true.
delete_statusdestructiveDelete one of your own statuses. This cannot be undone and it discards every boost, reply and favourite it had. To fix a mistake, prefer edit_status, which keeps all of that. Needs confirm: true.
dismiss_notificationdestructiveRemove a single notification from the list. This is not undoable.
remove_from_listdestructiveRemove accounts from a list. They are not unfollowed.
unblock_accountdestructiveRemove a block. Any follows the block severed do not come back; both sides have to follow again.
add_to_listwriteAdd accounts to a list. You have to already follow an account before you can put it on a list, which is the error people hit here.
create_listwriteCreate a curated list. Add accounts to it with add_to_list.
follow_hashtagwriteFollow a hashtag, so every public post carrying it appears in your home timeline. The main way to build a feed on Mastodon.
get_announcementswriteAnnouncements from the people who run your instance: downtime, rule changes, moderation decisions. Worth checking when something stops working.
get_followed_hashtagswriteHashtags you follow. Following a hashtag puts every public post carrying it into your home timeline, which is how you build a feed on a network with no algorithm. Neither existing Mastodon MCP server exposes this.
post_threadwritePublish several statuses as one thread, each replying to the last. Every part is checked against this instance
reschedule_statuswriteChange when a scheduled status will publish. Minimum five minutes ahead.
unfollow_hashtagwriteStop a hashtag
update_profilewriteChange your display name, bio, or the four metadata fields on your profile. Only the arguments you pass are changed. Public the moment it runs, so it needs confirm: true.
answer_follow_requestreadApprove or reject a pending follow request. Rejecting is silent; they are not told.
block_accountreadBlock an account. This is visible to them, removes any follow in either direction, and hides your posts from them. Reversible, but the follows do not come back. Needs confirm: true.
browse_directoryreadAccounts that have opted into being discoverable, newest or most recently active first. Scoped to your own instance unless you ask for the wider network. A way to find people on a network with no recommendation engine.
cancel_scheduled_statusreadCancel a status that was scheduled but has not published.
catch-upreadSummarise what happened while you were away
draft-threadreadTurn an idea into a thread, without posting it
find-my-peoplereadFind accounts worth following on a topic
get_accountreadFull profile for any account: bio, counts, the metadata fields with their verification state, and whether you follow each other. Accepts @user@instance, a bare local username, or a numeric id. Resolves accounts your instance has never seen before.
get_blocked_domainsreadWhole instances you have blocked.
get_bookmarksreadStatuses a connected account has bookmarked. Unlike favourites, bookmarks are private.
get_boosted_byreadThe accounts that boosted a status, as far as your instance knows.
get_conversationsreadDirect conversations, newest first, each with its participants and last message. Mastodon direct messages are statuses with visibility
get_favourited_byreadThe accounts that favourited a status. Federation means this is only who your instance knows about, not necessarily everyone.
get_favouritesreadStatuses a connected account has favourited, newest first.
get_follow_requestsreadAccounts waiting for you to approve their follow. Only meaningful on a locked account.
get_followersreadAccounts that follow a given account. Pages automatically past the 40-per-request ceiling.
get_followingreadAccounts a given account follows. Pages automatically.
get_list_membersreadThe accounts on one of your lists.
get_listsreadYour curated lists. Pass a list id to get_list_timeline to read it, which is the closest thing Mastodon has to a custom feed.
get_notificationsreadMentions, boosts, favourites, follows, poll results and edits to posts you interacted with. Filter by type to get only the ones that need an answer:
get_read_positionreadThe last notification and home-timeline entry you marked read, shared across every client on this account. Pass the returned id as since_id to fetch only what is new.
get_relationshipsreadFor each account named, whether you follow them, whether they follow you, and whether either of you has muted or blocked the other. One call for a whole list: use this before a bulk follow or unfollow rather than reading each profile.
get_statusreadA single status by id, with its media, poll, link preview and engagement counts.
get_suggested_followsreadAccounts the instance suggests you follow, with the reason for each suggestion.
get_threadreadA status together with everything above and below it, nested into the real reply tree. Mastodon returns two flat lists and leaves the structure to you; this rebuilds it. Read this before replying, so the reply lands with context.
get_trendsreadWhat is trending on this instance right now: hashtags, statuses, or links. Trends are per instance, not network-wide, so a small themed server shows something completely different from mastodon.social.
list_accountsreadEvery Mastodon account this server can act as, and which instance each lives on. Mastodon is federated, so an account is a token plus an instance: the same handle on two servers is two different people. Use the handle from here as the
list_scheduled_statusesreadStatuses queued with scheduled_at that have not published yet.
mark_readreadRecord how far you have read, so the next get_notifications with since_id returns only what is new. Syncs to the web app and every other client. Affects only your own view.
reportreadReport an account, optionally with specific statuses, to your instance
searchreadSearch for accounts, statuses or hashtags. Pasting a URL here with resolve on is also how you pull in a remote post or profile your instance has never seen. Note that most instances do not full-text search public statuses: a thin result set is usually the instance
translate_statusreadTranslate a status into your language using the instance
unblock_domainreadLift a domain block. Followers removed by the block are not restored.
vote_pollreadVote in a poll by option index, counting from zero. A vote cannot be changed or taken back, so it needs confirm: true.
whoamireadAuthenticate against the instance and return the live profile. Use this to confirm a token still works, or when the user says

Install

Package version 2.0.1 · audited commit bca0c00

Read the findings first. The most severe is Network egress (medium) at src/auth/login.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 2.0.1. The audit covers commit bca0c00 only.

claude mcp add mastodon-mcp-cli --env MASTODON_ACCESS_TOKEN=${MASTODON_ACCESS_TOKEN} -- npx -y @thenavidm/[email protected]

The command pins the package version recorded in the source (2.0.1); the audit covers commit bca0c006b647. Transport: not declared. Reads this environment variable: MASTODON_ACCESS_TOKEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · bca0c006b647

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/thenavidm/mastodon-mcp-cli/badge.svg)](https://modelsatlas.com/mcp/thenavidm/mastodon-mcp-cli/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about mastodon-mcp-cli

What is the mastodon-mcp-cli MCP server?
Mastodon MCP server and CLI for Claude Code, Codex and AI agents. 76 tools for posting, editing, threads, timelines, search, lists, notifications and following, across any instance.
What tools does mastodon-mcp-cli expose?
51 in total: 35 read-only, 9 that write, and 7 that can delete or overwrite (block_domain, clear_notifications, delete_list, delete_status, dismiss_notification). Every one is listed on this page with its risk.
Is mastodon-mcp-cli safe to connect to an agent?
With care. The audit graded it B (89/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 7 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does mastodon-mcp-cli need?
It reads MASTODON_ACCESS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (bca0c006b647), read on 2026-10-11. The repository is watched and re-audited when it changes.

Sources

  • thenavidm/mastodon-mcp-cli on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit bca0c006b647Observed · 11 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.