No install? Use cloud.anythingmcp.com directly.
Sign in, install the Mastodon in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Mastodon、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Mastodon + ChatGPT
Read & post on any Mastodon instance from any AI agent. 10 tools, Bearer token auth.
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
MASTODON_INSTANCE_URL, MASTODON_ACCESS_TOKEN
步骤 1 — 获取凭证
This connector wraps the Mastodon REST API (any instance — set baseUrl to your instance).
Setup:
- Pick your instance (e.g.
https://mastodon.social,https://fosstodon.org, your self-hosted one). - Log in → Preferences → Development → New application.
- Name it (e.g. 'mcp'). Scopes:
read,write,follow,push— tick whatever your use case needs (don't over-grant). - Save → copy the Your access token value (shown only once). This is a personal access token tied to your account.
- Set
MASTODON_INSTANCE_URL(e.g.https://mastodon.social) andMASTODON_ACCESS_TOKEN.
Authentication: Authorization: Bearer ${MASTODON_ACCESS_TOKEN} on every request.
…(continued in the in-app connector instructions)
步骤 2 — 安装 adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
ChatGPT 通过 Connectors 功能 (Plus / Pro / Team / Enterprise 套餐) 支持 MCP 服务器。免费套餐不支持自定义连接器。
- 打开 ChatGPT → Settings → Connectors (或点击 composer 中的 🔧 图标 → Manage connectors)。
- 点击 "Add custom connector"。
- 填入:
- Name:
Mastodon - MCP server URL:
https://cloud.anythingmcp.com/mcp - Authentication: Bearer token → 粘贴 MCP API key
- Name:
- 点击 Connect。
可用工具
| Tool | What it does |
|---|---|
mastodon_verify_credentials | Return the authenticated account: id, username, acct (full handle), display_name, note, avatar, statuses_count, followers_count, following_c |
mastodon_get_account | Fetch a public account by ID |
mastodon_account_statuses | Get a user's recent statuses (toots) |
mastodon_home_timeline | Get the authenticated user's home timeline (their follows) |
mastodon_public_timeline | Get the public timeline |
mastodon_hashtag_timeline | Get statuses tagged with a hashtag (no # prefix) |
mastodon_search | Full-text search across accounts, statuses and hashtags |
mastodon_get_status | Fetch a single status by ID |
mastodon_post_status | Post a new status (toot) |
mastodon_delete_status | Delete one of your own statuses |
FAQ
ChatGPT 免费套餐能用自定义 MCP Connectors 吗? 不能 — 需要 Plus、Pro、Team 或 Enterprise。