Skip to content
ViceVox
MenuClose

Mastodon API for AI agents

Connect your Mastodon account once. Your agent posts, replies, likes and follows, and sends DMs through MCP or REST. No Mastodon API key and no app review.

What your agent can do on Mastodon

28 actions, including generic browser steps.

ActionOn Mastodon
postPost
replyReply
quoteQuote
delete_postDelete
repostBoost
unrepostUndo boost
likeFavourite
unlikeUnfavourite
bookmarkBookmark
unbookmarkRemove bookmark
followFollow
unfollowUnfollow
blockBlock
unblockUnblock
muteMute
unmuteUnmute
send_messagePrivate mention
list_conversationsPrivate mentions
read_conversationConversation
read_feedHome
read_notificationsNotifications
read_postPost and replies
read_profileProfile
list_followersFollowers
list_followingFollowing
searchSearch
update_profileEdit profile
browserAnything else, step by step

Not on Mastodon: report read_reels

Automate Mastodon with MCP

Ask in plain words. Your agent makes the call and gets the link back.

A post with media, a content warning in `title` and the `visibility` you choose.

MCP tool call

post
// You: "Post the release note on Mastodon."
// The agent calls the post tool:
{
  "account_id": "acc_mastodon",
  "text": "Version 2.4 is out.",
  "visibility": "public"
}

REST

POST /v1/accounts/acc_mastodon/actions
curl https://api.vicevox.com/v1/accounts/acc_mastodon/actions \
  -H "Authorization: Bearer $VICEVOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"post","text":"Version 2.4 is out.","visibility":"public","wait":60}'

Connect a Mastodon account

Send the server origin in `instance`, such as https://mastodon.social.

  • Username and password

    Send the username, the password and, if the account uses an authenticator app, its secret. ViceVox answers 2FA codes itself.

  • Cookies

    Import cookies from a browser where the account is already signed in: a JSON array or a Netscape cookie file.

  • Sign in yourself

    Open a live browser and sign in as you always do. Or send the one-time sign-in link to the person who owns the account.

Each account uses the fixed device fingerprint and the location or proxy of its identity. Accounts in the docs

Mastodon questions

Do I need a Mastodon API key?
No. ViceVox signs in to your Mastodon account the way a person does, so there is no developer app, API key or app review.
Can my AI agent use Mastodon through MCP?
Yes. Add the ViceVox MCP server to Claude, Cursor or any MCP client. Each Mastodon action is a tool, such as post, reply or send_message.
What does it cost to use Mastodon?
Plans start at USD 29 a month, with a 7-day trial. Every plan has every platform and every action, Mastodon included. See pricing.

Connect your Mastodon account.

Create a workspace, add an account with a password or cookies, and make your first call.