Connector-Anleitung2 Minuten Lesezeit10 MCP-Tools7 Sprachen

Mastodon mit Cursor verbinden — über MCP

Lies und poste auf jeder Mastodon-Instanz von jedem AI-Agenten aus. 10 Tools, Bearer-Token-Authentifizierung.

HCVom HelpCode-TeamAktualisiert 2 Min. Lesezeit Open Source auf GitHub

Keine Kreditkarte · 7 Tage Test · Self-Hosting-Alternative verfügbar

Mastodon

Mastodon

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

Tools

10

Region

INTL

Kategorie

Social Media

Authentifizierung

Bearer Token

Benötigte Env-Vars

MASTODON_INSTANCE_URLMASTODON_ACCESS_TOKEN
Mit einem Klick in der Cloud installieren

7 Tage kostenlos testen · Keine Kreditkarte

  • 7 Tage kostenlos
    Keine Kreditkarte nötig
  • DSGVO & SOC 2 ready
    EU-Datenhaltung, Audit-Logs
  • Open Source auf GitHub
    Open-Source · AGPL-3.0
  • Funktioniert mit ChatGPT, Claude, Gemini
    Jeder MCP-kompatible Client

Installation überspringen. In unter 2 Minuten einsatzbereit.

Starte eine kostenlose Testphase auf cloud.anythingmcp.com, füge Mastodon mit einem Klick hinzu und richte deinen KI-Client (Claude, ChatGPT, Copilot oder Cursor) auf den erzeugten MCP-Endpoint. Kein Docker, kein git clone, keinerlei Entwicklungserfahrung nötig.

Kostenlos testen

Zusammenfassung

Lies und poste auf jeder Mastodon-Instanz von jedem AI-Agenten aus. 10 Tools, Bearer-Token-Authentifizierung.

Frag einfach

Beispiel-Prompts für Mastodon

Klick auf einen Prompt, um ihn zu kopieren. In Claude, ChatGPT, Cursor, Gemini, Copilot oder OpenClaw einfügen — und gegen diesen Connector laufen lassen.

Mastodon · live via MCP
Teilen
Opus 4.7

Claude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.

💡 Keine Installation? Nutze cloud.anythingmcp.com direkt. Einloggen, Connectors → Mastodon klicken, Zugangsdaten einfügen, MCP-API-Key erzeugen — fertig. Kein Docker, kein git clone, kein lokaler Server.

Mastodon + Cursor

Lies und poste auf jeder Mastodon-Instanz von jedem AI-Agenten aus. 10 Tools, Bearer-Token-Authentifizierung.

Voraussetzungen

Die vollständige Setup-Anleitung ist in den Connector eingebaut (im Store sichtbar, wenn du den Connector auswählst). Benötigte Umgebungsvariablen für diesen Connector:

MASTODON_INSTANCE_URL, MASTODON_ACCESS_TOKEN

Schritt 1 — Zugangsdaten holen

This connector wraps the Mastodon REST API (any instance — set baseUrl to your instance).

Setup:

  1. Pick your instance (e.g. https://mastodon.social, https://fosstodon.org, your self-hosted one).
  2. Log in → Preferences → Development → New application.
  3. Name it (e.g. 'mcp'). Scopes: read, write, follow, push — tick whatever your use case needs (don't over-grant).
  4. Save → copy the Your access token value (shown only once). This is a personal access token tied to your account.
  5. Set MASTODON_INSTANCE_URL (e.g. https://mastodon.social) and MASTODON_ACCESS_TOKEN.

Authentication: Authorization: Bearer ${MASTODON_ACCESS_TOKEN} on every request.

…(continued in the in-app connector instructions)

Schritt 2 — Adapter installieren

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Schritt 3 — Connector in Cursor hinzufügen

Deine Server-URL: Öffne in AnythingMCP MCP Servers → den Server, auf dem dieser Connector liegt, und kopiere seine URL (https://cloud.anythingmcp.com/mcp/…). Setze sie überall ein, wo diese Anleitung YOUR_SERVER_ID zeigt.

Cursor liest MCP-Server aus ~/.cursor/mcp.json. Füge diesen Eintrag hinzu:

{
  "mcpServers": {
    "anythingmcp": {
      "url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Hole deinen MCP API Key aus AnythingMCP → MCP Servers → dein Server → API keys.
  2. Speichern und Cursor neu starten.
  3. Cursor → Einstellungen → MCP öffnen und prüfen, ob Mastodon als "Connected" gelistet ist.
  4. Chatten — alle Mastodon-Tools sind aufrufbar.

Verfügbare Tools

ToolWhat it does
mastodon_verify_credentialsReturn the authenticated account: id, username, acct (full handle), display_name, note, avatar, statuses_count, followers_count, following_c
mastodon_get_accountFetch a public account by ID
mastodon_account_statusesGet a user's recent statuses (toots)
mastodon_home_timelineGet the authenticated user's home timeline (their follows)
mastodon_public_timelineGet the public timeline
mastodon_hashtag_timelineGet statuses tagged with a hashtag (no # prefix)
mastodon_searchFull-text search across accounts, statuses and hashtags
mastodon_get_statusFetch a single status by ID
mastodon_post_statusPost a new status (toot)
mastodon_delete_statusDelete one of your own statuses

FAQ

Unterstützt Cursor benutzerdefinierte MCP-Server im Free-Tier? Ja — MCP ist auf Hobby, Pro und Business verfügbar.

Nächste Schritte

War dieser Guide hilfreich?

Dein Mastodon-Agent ist nur einen Klick entfernt.

Connector installieren, Schlüssel einfügen, Cursor fragen. 7 Tage kostenlos, keine Kreditkarte.

Verwandte Anleitungen