Connector guide1-minute read10 MCP toolsEN · DE · IT

Mastodon to MCP — あらゆるAIエージェントからMastodonを操作する

あらゆるAIエージェントから任意のMastodonインスタンスに読み書きします。10のツール、Bearerトークン認証。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

Mastodon

MCP connector

Mastodon

Read & post on any Mastodon instance from any AI agent. 10 tools, Bearer token auth.

Tools

10

Region

INTL

Category

social

Authentication

Bearer Token

Required env vars

MASTODON_INSTANCE_URLMASTODON_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Mastodon in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

あらゆるAIエージェントから任意のMastodonインスタンスに読み書きします。10のツール、Bearerトークン認証。

こう聞いてみよう

Mastodon のサンプルプロンプト

プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。

Mastodon · MCP 経由でライブ
共有
Opus 4.7

Claude は AI のため誤ることがあります。回答をご確認ください。

💡 インストール不要?cloud.anythingmcp.comを直接使用してください。 サインインし、Connectors → Mastodonをクリックし、認証情報を貼り付け、MCP APIキーを作成 — 完了です。Dockerもgit cloneもローカルサーバーも不要です。

Mastodon

あらゆるAIエージェントから任意のMastodonインスタンスに読み書きします。10のツール、Bearerトークン認証。

セットアップ

このコネクタはMastodon REST APIをラップします(任意のインスタンス — baseUrlをあなたのインスタンスに設定してください)。

セットアップ:

  1. インスタンスを選択します(例: https://mastodon.social, https://fosstodon.org, 自己ホストのもの)。
  2. ログイン → Preferences → Development → New application
  3. 名前を付けます(例: 'mcp')。スコープ: read, write, follow, push — 使用ケースに必要なものにチェックを入れます(過剰な権限を与えないでください)。
  4. 保存 → Your access tokenの値をコピーします(1回だけ表示されます)。これはあなたのアカウントに紐づく個人用アクセストークンです。
  5. MASTODON_INSTANCE_URL(例: https://mastodon.social)とMASTODON_ACCESS_TOKENを設定します。

認証: 各リクエストにAuthorization: Bearer ${MASTODON_ACCESS_TOKEN}を使用します。

…(アプリ内コネクタの指示に続く)

前提条件: MASTODON_INSTANCE_URL, MASTODON_ACCESS_TOKEN

コネクタをローカルにインストールする

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

http://localhost:3000/connectors/storeを開き、Mastodonを選択し、前提条件に記載されている環境変数を貼り付けます。

利用可能なツール

ツール機能
mastodon_verify_credentials認証されたアカウントを返します: id, username, acct (フルハンドル), display_name, note, avatar, statuses_count, followers_count, following_c
mastodon_get_accountIDで公開アカウントを取得します
mastodon_account_statusesユーザーの最近のステータス(トゥート)を取得します
mastodon_home_timeline認証されたユーザーのホームタイムライン(フォローしているユーザー)を取得します
mastodon_public_timeline公開タイムラインを取得します
mastodon_hashtag_timelineハッシュタグでタグ付けされたステータスを取得します(#プレフィックスなし)
mastodon_searchアカウント、ステータス、ハッシュタグに対する全文検索
mastodon_get_statusIDで単一のステータスを取得します
mastodon_post_status新しいステータス(トゥート)を投稿します
mastodon_delete_status自分のステータスの1つを削除します

次のステップ

このガイドは役に立ちましたか?

Ready to ship

Your Mastodon agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

関連ガイド