-
mastodon-mcp 1.1.0: Mastodon 5.0 support, now on npm
StableAll checks were successfulreleased this
2026-12-03 23:26:31 +00:00 | 6 commits to main since this releaseInstall from npm:
@ric_/mastodon-mcpnpx -y @ric_/mastodon-mcpSetup for Claude Code, Claude Desktop and other MCP clients is in the README.
Brings the server up to date with Mastodon 5.0.0 (API version 12). All additions are
backwards compatible with older servers, which ignore the new parameters.Added
-
mastodon_get_timeline_home: server-side filtersexclude_direct,exclude_reblogs,exclude_quotesandexclude_replies -
mastodon_add_account:signupoption to create a new account through the OAuth flow (prompt=create), with a warning when the instance is older than Mastodon 5.0 -
mastodon_get_own_account:allow_nonfunctionaloption to inspect accounts that are pending confirmation or approval -
Quote posts (Mastodon 4.5):
quoted_status_idandquote_approval_policyonmastodon_create_status,quote_approval_policyonmastodon_edit_status, and new toolsmastodon_get_status_quotes,mastodon_revoke_status_quote,mastodon_set_status_quote_policy -
Collection tools (Mastodon 4.6): list an account's collections and the collections it is in, get, create, update and delete collections, and add, remove or revoke items
-
Grouped notification tools (API v2):
mastodon_get_grouped_notifications,mastodon_get_notification_group,mastodon_get_notification_group_accounts,mastodon_dismiss_notification_group,mastodon_get_unread_notification_count -
Profile tools (Mastodon 4.6):
mastodon_get_profile,mastodon_update_profile(including avatar and header upload),mastodon_delete_profile_avatar,mastodon_delete_profile_header -
Featured profile content (Mastodon 4.4):
mastodon_get_endorsements,mastodon_endorse_account,mastodon_unendorse_account,mastodon_get_featured_tags,mastodon_feature_tag,mastodon_unfeature_tag -
Annual report (Wrapstodon) tools (Mastodon 4.6):
mastodon_get_annual_report_state,mastodon_generate_annual_report,mastodon_get_annual_report -
mastodon_delete_media, anddelete_mediaoption onmastodon_delete_status(Mastodon 4.4) -
blurfilter action onmastodon_create_filterandmastodon_update_filter(Mastodon 4.4) -
exclude_directonmastodon_get_account_statuses(Mastodon 4.6) -
include_filteredonmastodon_get_notifications, and the newer notification types in its description -
MIT
LICENSEfile -
Project logo, and a rewritten README with client setup, example prompts, a full tool reference and security notes
-
Published to npm as
@ric_/mastodon-mcp(the command is stillmastodon-mcp), with package metadata:files,engines,repository,publishConfig, and aprepublishOnlybuild -
Release workflow that publishes to npm from the GitHub mirror with trusted publishing (OIDC) and provenance, when a version tag is pushed
-
Test suite: unit and tool tests (Vitest), end-to-end tests over stdio and HTTP, a packaging check, ESLint and type checks
-
Forgejo Actions workflows for CI on Node 22 and 24, and for dependency audits and secret scanning
Changed
- Node.js 22.12 or newer is now required
- The credential file and its directory are created readable by the owner only
- Updated the MCP SDK to 1.32 and replaced the unused Jest setup with Vitest
mastodon_complete_authverifies credentials withallow_nonfunctionaland reports when a newly added account is not usable yetmastodon_searchrejects empty queries locally, matching the HTTP 400 returned by Mastodon 5.0
Fixed
typesandexclude_typesonmastodon_get_notificationswere sent astypes[0]=…, which Mastodon ignores; they are now sent astypes[]=…mastodon_remove_list_accountsreported success without telling Mastodon which accounts to removemastodon_get_relationshipssent its account IDs in a form Mastodon ignores- The HTTP transport reused one server for every session, so a second client could not connect
- API responses with an empty body (for example HTTP 202) no longer fail to parse
Full history: CHANGELOG.md
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-