Try Kling Image V4 Long for Page Mockups from Kling AI →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, choose a plan, deploy, then connect your tools
Pre-built AgentsBrowse the catalogConnectorsConnect agents to your apps
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
  1. Home
  2. Connectors
  3. Social
  4. Mastodon
Wiro × Mastodon

Connect Mastodon to your Wiro AI agent

Read your timeline and post statuses on your Mastodon instance.

Connect to an AgentVisit Mastodon All Connectors
Mastodon logoMastodon logo
API KeyPasted once, stored encrypted and never shown again
11 actions6 read, 5 write
Chat and Scheduled TasksWhere it works
Allow, Ask or BlockYour choice for each action

On this page

  1. Overview
  2. Use cases
  3. How it works
  4. What it can do
  5. How to connect
  6. Troubleshooting
  7. For developers
  8. Questions
  9. Access
  10. Related connectors
OverviewUse casesHow it worksWhat it can doHow to connectTroubleshootingFor developersQuestionsAccessRelated connectors
Example chat
Mastodon logoMastodon logoMastodon connected Key saved

Announce version 3.2 on our account: offline mode, faster search and a new home screen widget.

Get the Mastodon server's posting limits mastodon__get_instance_limits
Create a Mastodon post mastodon__create_post

Your server allows 500 characters per post, so it fits in one. Approved and posted publicly, in English:

Scribbet 3.2 is out: offline mode, faster search and a new home screen widget. Update from your app store. #Scribbet #ReleaseNotes

It is live on your profile now.

Type a message...

Overview

What Mastodon does for your agent

Posts as one account on any Mastodon server, with an access token created in that server's Development settings. The agent publishes posts and threads with media, alt text, content warnings and the visibility you pick, runs polls, schedules posts and moves or cancels them, deletes posts, and reads your own posts with their favorites, boosts, replies and quotes. Mastodon keeps no view counts, and each server sets its own length and media limits, which the agent checks before every post.

Use cases

What your Wiro agent can do with Mastodon

  1. 01

    Turn a release note into a Mastodon thread with alt text on every image

    Drop a changelog or a blog post into Chat and ask for a Mastodon thread. The agent splits it into posts that fit your server's character limit, attaches the screenshots you link with alt text, sets the language and adds a content warning where one fits. By default, each post waits for your approval before it goes out.

  2. 02

    Schedule next week's posts every Monday and let your server publish them

    A Scheduled Task runs each Monday, writes the week's posts from the notes and links you gave the agent, and schedules each one on your Mastodon server for its slot. The server publishes them at their times on its own. Any day, ask in Chat to move one of them to another time or cancel it.

  3. 03

    Friday report on favourites, boosts and replies

    Every Friday the agent reads your posts from the past seven days and sends a summary in Chat: favourites, boosts, replies and quotes for each post, which hashtags and posting times drew a response, and which replies still wait for an answer. Mastodon does not count views, so the report sticks to the numbers your server keeps.

  4. 04

    Answer the questions under a launch post

    Ask the agent to go through the replies under an announcement. It reads each one, drafts a short answer in your voice and posts it as a reply in the same conversation once you approve, so questions about pricing or setup do not sit unanswered for days.

  5. 05

    Run a poll on the next feature, then share the result

    Give the agent the question, the options and how long the poll should run. It posts the poll within your server's limits for choices and duration. After it closes, ask for the result: the agent reads the final vote counts and drafts a follow-up post for you to approve.

  6. 06

    Clear out old campaign posts and scheduled posts you no longer need

    Name a hashtag or a period, and the agent lists the matching posts and your scheduled ones with their dates and text. It deletes or cancels only those you confirm and keeps the text of each deleted post in Chat for your records, since Mastodon cannot restore a deleted post.

How it works

How Mastodon works with Wiro

  1. 01

    Connect Mastodon

    Deploy an agent, open its Connectors tab, choose Mastodon and paste what the Connect dialog asks for.

  2. 02

    Choose what each action may do

    Set each Mastodon action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.

  3. 03

    Ask in Chat or schedule it

    Ask your agent for Mastodon work in Chat, or put it on a Scheduled Task that runs on its own.

  • Where it runsInside your agent. Its requests go straight from the agent to Mastodon.
  • Where its data goesThe site you connect
  • How it signs inPaste a key. It is stored encrypted and never shown again.

What it can do

Actions your Wiro agent can take in Mastodon

By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.

Read-only (6)Create and send (1)Change and delete (4)

Read-only 6 actions

Looks things up in Mastodon and changes nothing.

  • Get the connected Mastodon account

    Returns the connected account: id, handle, profile link, display name, follower, following and post counts, whether it is locked or marked as a bot, and its default post visibility and language.

    Chat AllowScheduled Tasks Allow

  • Get the Mastodon server's posting limits

    Returns the posting limits of the account's server.

    Chat AllowScheduled Tasks Allow

  • List my Mastodon posts

    Lists the connected account's own posts, newest first, boosts left out: date, favourites, boosts, replies, quotes (servers from Mastodon 4.5), visibility, post or reply, link and text.

    Chat AllowScheduled Tasks Allow

  • Get a Mastodon post

    Returns one post with its numbers, by its id or its link on the account's own server.

    Chat AllowScheduled Tasks Allow

  • List scheduled Mastodon posts

    Lists the account's scheduled posts, which the server publishes at their time: id, time (UTC), visibility, text and media count.

    Chat AllowScheduled Tasks Allow

  • Read other Mastodon data

    Reads what the actions above do not cover, straight from the Mastodon API.

    Chat AllowScheduled Tasks Allow

Create and send 1 action

Creates or sends something new in Mastodon, such as a post, a message or an email.

  • Create a Mastodon post

    Publishes a post on the account's server.

    Chat AskScheduled Tasks Allow

Change and delete 4 actions

Changes or deletes what is already in Mastodon.

  • Move a scheduled Mastodon post

    Moves one of the account's scheduled posts to another time, more than 5 minutes ahead.

    Chat AskScheduled Tasks Allow

  • Cancel a scheduled Mastodon post

    Cancels one of the account's scheduled posts, so it is never published.

    Chat AskScheduled Tasks Allow

  • Delete a Mastodon post

    Deletes one of the account's own posts with its media, by its id or its link on the account's own server.

    Chat AskScheduled Tasks Allow

  • Make other Mastodon changes

    Sends any other change straight to the Mastodon API.

    Chat AskScheduled Tasks Allow

How to connect

Connect Mastodon to Wiro

Open the agent's Connectors tab, choose Mastodon and paste what it asks for. Values are stored encrypted and never shown again.

What the Connect dialog asks for

FieldAbout
Server AddressRequired

The address of the Mastodon server your account is on, starting with https://. Posts go to this server only.

  1. Sign in to your Mastodon account in a web browser.
  2. Copy the start of the address bar, up to the first / after the domain: for example https://mastodon.social or https://fosstodon.org. Your full handle shows it too: @[email protected] is on https://fosstodon.org.
  3. Paste it here. A link to your profile, such as https://fosstodon.org/@name, works as well: only the server address is used.

The server must use https://. The steps for the access token below are those of servers that run Mastodon.

Access TokenRequired

An access token from an application you create in your own Mastodon account. The agent uses it to post and to read your posts.

  1. On your server's website, open Preferences (the gear icon in the menu), then Development in the menu on the left. The page is https://your-server/settings/applications.
  2. Click New application.
  3. For Application name, use a name you are happy for followers to see: some apps show it next to your posts, so your brand or a plain name like Publishing works best. Application website can stay empty. Leave Redirect URI as it is (urn:ietf:wg:oauth:2.0:oob).
  4. Under Scopes, tick these four: read:accounts, read:statuses, write:media and write:statuses. The profile box ticked by default can stay. Leave the broad read, write and follow boxes unticked: the agent does not need them.
  5. Click Submit, then click the new application's name in the list.
  6. Copy Your access token and paste it here. On Mastodon it is a string of 43 letters, digits, - and _. The Client key and Client secret are not needed.

The token does not expire, and posting through the API is free. Mastodon allows 300 requests per 5 minutes and 30 media uploads per 30 minutes for an account by default, and a server can set its own limits. Post length, the number of images and the alt text length also come from your server: the agent reads them before it posts.

To revoke access, open Development and delete the application, or click Regenerate access token on its page and save the new token here. Account → Authorized apps in the same settings lists the application too, with a Revoke button.

Kept encrypted, never shown again.

Troubleshooting

Troubleshooting Mastodon

What to check when Mastodon stops working for your agent.

  • An invalid or expired key If Mastodon refuses the key, for example after it was deleted or expired, the agent's Mastodon actions fail. Create a new key in Mastodon, then open the agent's Connectors tab, choose Mastodon and paste it in place of the old one.
  • Limits set by Mastodon Mastodon limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Mastodon plan.

For developers

Connect Mastodon from your own product

Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.

  1. 01

    Read the connector

    Detail answers without a session: what the connector needs and the tools it gives an agent.

    POST /AgentConnector/Detail
    {
      "slug": "mastodon"
    }
    Response
    {
      "result": true,
      "errors": [],
      "agentconnectors": [
        {
          "slug": "mastodon",
          "title": "Mastodon",
          "category": "social",
          "authtype": "fields",
          "credentialfields": [
            {
              "name": "instanceurl",
              "label": "Server Address",
              "required": true,
              "secret": false,
              "format": "url"
            },
            {
              "name": "token",
              "label": "Access Token",
              "required": true,
              "secret": true,
              "format": "password"
            }
          ],
          "tools": [
            {
              "name": "get_account",
              "readonly": true
            },
            {
              "name": "get_instance_limits",
              "readonly": true
            }
          ]
        }
      ]
    }
  2. 02

    Connect with the values

    Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.

    POST /UserAgent/ConnectorConnect
    {
      "useragentguid": "YOUR_AGENT_GUID",
      "slug": "mastodon",
      "values": {
        "instanceurl": "https://example.com",
        "token": "YOUR_SECRET"
      }
    }
    Response
    {
      "result": true,
      "errors": [],
      "status": "connected",
      "applied": 1,
      "restart": "scheduled"
    }
  3. 03

    Read the status

    connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.

    POST /UserAgent/ConnectorList
    {
      "useragentguid": "YOUR_AGENT_GUID"
    }
    Response
    {
      "result": true,
      "errors": [],
      "useragentconnectors": [
        {
          "slug": "mastodon",
          "title": "Mastodon",
          "authtype": "fields",
          "status": "connected",
          "accounts": {},
          "savedvariables": [
            "instanceurl",
            "token"
          ],
          "lasterror": null
        }
      ]
    }
  4. 04

    Disconnect

    Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.

    POST /UserAgent/ConnectorDisconnect
    {
      "useragentguid": "YOUR_AGENT_GUID",
      "slug": "mastodon"
    }
    Response
    {
      "result": true,
      "errors": [],
      "removed": true,
      "revoked": false,
      "restart": "scheduled"
    }
API Reference

Questions

Mastodon and Wiro FAQ

What can a Mastodon AI agent do with my account?

It publishes posts, threads and polls on your server, attaches images, video or audio with alt text, adds content warnings and sets each post's visibility. It can schedule posts for later, move or cancel them, and delete posts you no longer want. It also reads your own posts with their favourites, boosts, replies and quotes, along with the replies under any of them. Before each post it checks your server's limits for length, media and alt text.

How do I connect Mastodon to an AI agent?

On your agent's Connectors tab, choose Mastodon and fill in two fields: your server's address, starting with https, and an access token. You can also ask the agent in Chat to add Mastodon, which brings up the same form. For the token, open Preferences, then Development on your server, create a new application with the scopes read:accounts, read:statuses, write:media and write:statuses, and copy Your access token.

Does it work on any Mastodon server?

It works with any server that runs Mastodon over https, from a large public server to one your company hosts. Posts go only to the server you entered. Each server sets its own limits for characters, media, alt text and polls, so the agent reads them before it writes, and a server with a longer post limit gets the full length.

Will the agent post to Mastodon without asking me?

In Chat, publishing, scheduling, moving, cancelling and deleting wait for your approval by default, while reading your posts runs without asking. Scheduled Tasks carry out those actions on their own unless you change them. Every action has its own Allow, Ask or Block setting for Chat and for Scheduled Tasks, so a weekly task can schedule posts while deleting stays blocked.

Do I have to mark my Mastodon account as a bot?

That depends on your server's rules. Many servers ask accounts that post automatically to turn on the bot flag in their profile settings, and some do not allow automated posting at all. Read the rules on your server's About page before you set up recurring posts. The agent can tell you whether your account is marked as a bot right now.

Where is my Mastodon access token kept?

The token is stored encrypted and is not shown again after you save it. The AI model cannot read it, since the token only travels with requests to your own server. Mastodon tokens do not expire, so to cut access, delete the application under Development or click Regenerate access token and save the new one, then disconnect Mastodon on the Connectors tab if you are done with it.

What does it cost to automate Mastodon?

Connectors cost nothing extra on any agent plan, and Mastodon does not charge for posting through its API. Your server's own limits still apply: by default Mastodon allows 300 requests every 5 minutes and 30 media uploads every 30 minutes per account, and any server can set different numbers.

Is this a Mastodon MCP server I need to host?

No. The connector runs inside your agent and gives it Mastodon actions the way an MCP server would, so there is nothing to install or keep updated. Its requests go straight from the agent to your Mastodon server with your token.

Access

Revoke Mastodon access

Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.

Related connectors

More social connectors for your Wiro agent

  • Pinterest logoPinterest logoPinterestCreate pins on your boards and read their performance.
  • Reddit logoReddit logoRedditSubmit posts and comments to subreddits and read their replies.
  • Threads logoThreads logoThreadsPublish posts to Threads and read their replies and insights.
  • TikTok logoTikTok logoTikTokUpload and publish videos to a TikTok account.
  • Tumblr logoTumblr logoTumblrCreate and publish posts on your Tumblr blogs.
  • X logoX logoXPost, reply and read on X (Twitter).

Put Mastodon to work with Wiro

Deploy an agent and connect Mastodon from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.

Build an AgentAll Connectors

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsConnectorsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion