mastodon-mcp-server

v1.0.5
mastodon-mcp-server Checked 3 days ago Published 2 months ago

A comprehensive MCP server for Mastodon integration

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

instance_info Instance Info

Get information about the connected Mastodon instance.

account_verify Account Verify

Get the authenticated account's own profile.

account_get Account Get

Get a Mastodon account by its numeric ID.

ParameterTypeDescription
account_id *stringNumeric account ID.

account_statuses Account Statuses

Get statuses posted by a specific account.

ParameterTypeDescription
account_id *stringNumeric account ID.
exclude_reblogsbooleanExclude reblogs (default False).
exclude_repliesbooleanExclude replies (default False).
limitintegerMaximum number of results (default 20, max 40).
only_mediabooleanOnly return statuses with media (default False).

account_followers Account Followers

Get followers of an account.

ParameterTypeDescription
account_id *stringNumeric account ID.
limitintegerMaximum number of results (default 40, max 80).

account_following Account Following

Get accounts that a given account follows.

ParameterTypeDescription
account_id *stringNumeric account ID.
limitintegerMaximum number of results (default 40, max 80).

account_follow Account Follow

Follow an account.

ParameterTypeDescription
account_id *stringNumeric account ID to follow.

account_unfollow Account Unfollow

Unfollow an account.

ParameterTypeDescription
account_id *stringNumeric account ID to unfollow.

account_mute Account Mute

Mute an account.

ParameterTypeDescription
account_id *stringNumeric account ID to mute.

account_unmute Account Unmute

Unmute an account.

ParameterTypeDescription
account_id *stringNumeric account ID to unmute.

account_block Account Block

Block an account.

ParameterTypeDescription
account_id *stringNumeric account ID to block.

account_unblock Account Unblock

Unblock an account.

ParameterTypeDescription
account_id *stringNumeric account ID to unblock.

account_relationships Account Relationships

Get the authenticated user's relationship to one or more accounts.

ParameterTypeDescription
account_ids *arrayList of numeric account IDs.

account_update Account Update

Update the authenticated account's profile.

ParameterTypeDescription
botMark account as a bot (True/False).
display_nameNew display name.
lockedRequire approval for follow requests (True/False).
noteNew bio/note (profile description).

timeline_home Timeline Home

Get the authenticated user's home timeline.

ParameterTypeDescription
limitintegerMaximum number of statuses (default 20, max 40).

timeline_local Timeline Local

Get the local (instance) public timeline.

ParameterTypeDescription
limitintegerMaximum number of statuses (default 20, max 40).

timeline_public Timeline Public

Get the federated public timeline.

ParameterTypeDescription
limitintegerMaximum number of statuses (default 20, max 40).
remotebooleanOnly show remote statuses (default False).

timeline_hashtag Timeline Hashtag

Get statuses with a specific hashtag.

ParameterTypeDescription
hashtag *stringHashtag to search (without the # prefix).
limitintegerMaximum number of statuses (default 20, max 40).
localbooleanOnly show statuses from the local instance (default False).

status_get Status Get

Get a single status by ID.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_context Status Context

Get ancestors and descendants of a status (thread context).

ParameterTypeDescription
status_id *stringNumeric status ID.

status_post Status Post

Post a new status (toot).

ParameterTypeDescription
contentBackward-compatible alias for status text.
in_reply_to_idNumeric ID of the status to reply to.
languageISO 639-1 language code (e.g. 'en', 'cs'). If omitted, the language is auto-detected from 'status'/'content'.
media_idsList of media attachment IDs to attach.
sensitivebooleanMark media as sensitive (default False).
spoiler_textContent warning / spoiler text shown before the status.
statusText content of the status (preferred argument name).
visibilitystring'public', 'unlisted', 'private', or 'direct' (default 'public').

status_delete Status Delete

Delete a status posted by the authenticated account.

ParameterTypeDescription
status_id *stringNumeric ID of the status to delete.

status_favourite Status Favourite

Favourite (like) a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_unfavourite Status Unfavourite

Remove a favourite from a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_reblog Status Reblog

Reblog (boost) a status.

ParameterTypeDescription
status_id *stringNumeric status ID.
visibilitystringVisibility of the reblog: 'public', 'unlisted', or 'private'.

status_unreblog Status Unreblog

Remove a reblog (unboost) of a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_bookmark Status Bookmark

Bookmark a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_unbookmark Status Unbookmark

Remove a bookmark from a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_favourited_by Status Favourited By

Get accounts that favourited a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

status_reblogged_by Status Reblogged By

Get accounts that reblogged a status.

ParameterTypeDescription
status_id *stringNumeric status ID.

notifications_get Notifications Get

Get notifications for the authenticated account.

ParameterTypeDescription
exclude_typesTypes to exclude: 'follow', 'favourite', 'reblog', 'mention', 'poll', 'follow_request', 'update', 'status'.
limitintegerMaximum number of notifications (default 20, max 30).

notification_dismiss Notification Dismiss

Dismiss (clear) a single notification.

ParameterTypeDescription
notification_id *stringNumeric notification ID.

notifications_clear Notifications Clear

Dismiss all notifications for the authenticated account.

favourites Favourites

Get statuses favourited by the authenticated account.

ParameterTypeDescription
limitintegerMaximum number of results (default 20, max 40).

bookmarks Bookmarks

Get statuses bookmarked by the authenticated account.

ParameterTypeDescription
limitintegerMaximum number of results (default 20, max 40).

lists_get Lists Get

Get all lists created by the authenticated account.

list_accounts List Accounts

Get accounts in a specific list.

ParameterTypeDescription
list_id *stringNumeric list ID.
limitintegerMaximum number of accounts (default 40).

list_create List Create

Create a new list.

ParameterTypeDescription
title *stringTitle of the list.
replies_policystring'followed', 'list', or 'none' (default 'list').

list_delete List Delete

Delete a list.

ParameterTypeDescription
list_id *stringNumeric list ID.

list_accounts_add List Accounts Add

Add accounts to a list.

ParameterTypeDescription
account_ids *arrayList of numeric account IDs to add.
list_id *stringNumeric list ID.

list_accounts_delete List Accounts Delete

Remove accounts from a list.

ParameterTypeDescription
account_ids *arrayList of numeric account IDs to remove.
list_id *stringNumeric list ID.

poll_vote Poll Vote

Vote in a poll.

ParameterTypeDescription
choices *arrayList of choice indices (0-based) to vote for.
poll_id *stringNumeric poll ID.

follow_requests Follow Requests

Get pending follow requests for the authenticated account.

ParameterTypeDescription
limitintegerMaximum number of results (default 40).

follow_request_authorize Follow Request Authorize

Approve a follow request.

ParameterTypeDescription
account_id *stringNumeric account ID of the requester.

follow_request_reject Follow Request Reject

Reject a follow request.

ParameterTypeDescription
account_id *stringNumeric account ID of the requester.

mutes Mutes

Get accounts muted by the authenticated account.

ParameterTypeDescription
limitintegerMaximum number of results (default 40).

blocks Blocks

Get accounts blocked by the authenticated account.

ParameterTypeDescription
limitintegerMaximum number of results (default 40).

media_post Media Post

Upload a media file (image, video, audio) to Mastodon.

ParameterTypeDescription
file_path *stringAbsolute path to the media file to upload.
descriptionAlt text / accessibility description for the media.

directory Directory

Browse the profile directory of the instance.

ParameterTypeDescription
limitintegerMaximum number of accounts (default 20, max 80).
localbooleanOnly show local accounts (default False).
orderstring'active' (recently active) or 'new' (recently joined).