• v1.1.0 f366a6b475

    mastodon-mcp 1.1.0: Mastodon 5.0 support, now on npm
    All checks were successful
    Security / Secret scan (push) Successful in 4s
    Security / Dependency audit (push) Successful in 16s
    CI / Lint and type check (push) Successful in 31s
    CI / Tests (Node 24) (push) Successful in 31s
    CI / Tests (Node 22) (push) Successful in 31s
    Stable

    ric released this 2026-12-03 23:26:31 +00:00 | 6 commits to main since this release

    Install from npm: @ric_/mastodon-mcp

    npx -y @ric_/mastodon-mcp
    

    Setup 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 filters exclude_direct, exclude_reblogs, exclude_quotes and exclude_replies

    • mastodon_add_account: signup option 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_nonfunctional option to inspect accounts that are pending confirmation or approval

    • Quote posts (Mastodon 4.5): quoted_status_id and quote_approval_policy on mastodon_create_status, quote_approval_policy on mastodon_edit_status, and new tools mastodon_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, and delete_media option on mastodon_delete_status (Mastodon 4.4)

    • blur filter action on mastodon_create_filter and mastodon_update_filter (Mastodon 4.4)

    • exclude_direct on mastodon_get_account_statuses (Mastodon 4.6)

    • include_filtered on mastodon_get_notifications, and the newer notification types in its description

    • MIT LICENSE file

    • 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 still mastodon-mcp), with package metadata: files, engines, repository, publishConfig, and a prepublishOnly build

    • 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_auth verifies credentials with allow_nonfunctional and reports when a newly added account is not usable yet
    • mastodon_search rejects empty queries locally, matching the HTTP 400 returned by Mastodon 5.0

    Fixed

    • types and exclude_types on mastodon_get_notifications were sent as types[0]=…, which Mastodon ignores; they are now sent as types[]=…
    • mastodon_remove_list_accounts reported success without telling Mastodon which accounts to remove
    • mastodon_get_relationships sent 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