mcp-server-mastodon¶
An MCP server for the Mastodon social network. Companion package:
mcprack-mcp-server-mastodon. Binary: /usr/bin/mcp-server-mastodon
(mastodon-mcp is an alias).
sudo apt install mcprack-mcp-server-mastodon
Configuration¶
Variable |
Required |
Default |
Meaning |
|---|---|---|---|
|
yes |
Instance URL ( |
|
|
yes |
OAuth access token of the account |
|
|
no |
|
Disables all write operations |
|
no |
|
|
Keep MASTODON_ACCESS_TOKEN in the secret store. Allow users to override it so
that people post as themselves; a shared account makes every post come from one
profile.
sudo mcprack secret set mcp-server-mastodon MASTODON_ACCESS_TOKEN
Tools¶
Group |
Examples |
|---|---|
Timelines |
|
Statuses |
|
Accounts and social graph |
|
Notifications, lists, search |
|
Discovery |
|
Media and polls |
|
Everything that changes something (posting, following, deleting, updating the
profile) is refused while READ_ONLY is true.