Mastodon MCP Server
Provides tools for interacting with a Mastodon account, including viewing home timeline, posting statuses, and checking notifications.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mastodon MCP Server
A Model Context Protocol (MCP) server for Mastodon, allowing AI models to interact with your Mastodon account.
Features
get_home_timeline: View your home feed.
post_status: Create new toots/statuses.
get_notifications: Check your mentions and interactions.
Related MCP server: micropub-mcp
Setup
1. Get Mastodon Credentials
Go to your Mastodon instance (e.g., `https://leaseysocial.com\`).
Navigate to Preferences > Development > New Application.
Give it a name (e.g., "MCP Server") and ensure it has `read` and `write` scopes.
Copy your Access Token.
2. Configuration
Create a `.env` file in the project root: ```env MASTODON_INSTANCE=https://leaseysocial.com MASTODON_ACCESS_TOKEN=your_access_token_here ```
3. Installation
```bash npm install npm run build ```
Integration
Cursor
To use this with Cursor:
Open Cursor Settings.
Go to Models > MCP.
Click + Add New MCP Server.
Set Type to `command`.
Name: `Mastodon`.
Command: `node /path/to/mastodon-mcp-server/dist/index.js`.
Claude Desktop
Add this to your `claude_desktop_config.json`: ```json { "mcpServers": { "mastodon": { "command": "node", "args": ["/path/to/mastodon-mcp-server/dist/index.js"], "env": { "MASTODON_INSTANCE": "https://leaseysocial.com", "MASTODON_ACCESS_TOKEN": "your_access_token_here" } } } } ```
Poke.com
To upload to Poke:
Go to poke.com/integrations/new.
Choose Custom MCP.
Point it to your GitHub repository or provide the connection details.
Deployment
This project is designed to be shippable. You can host it on any provider that supports Node.js or run it locally via stdio.
Created for Maria Reyes (teknoflame).
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish and schedule Bluesky posts and threads from your AI assistant.
Run your social media from Claude, ChatGPT or any MCP client. Feedlio's MCP server lets your assistant list workspaces and connected accounts, import media from a URL, and create, edit, reschedule and cancel posts on Facebook, Instagram, LinkedIn, YouTube, TikTok, Threads, Bluesky, Mastodon and Dev.to, with per-platform settings for YouTube, TikTok and Dev.to. Sign in with OAuth on Feedlio's own page; MCP access is included on the Standard plan and up, with a 7-day free trial. Support: support@feedlio.io
Schedule and analyze posts on 12 networks, incl. Bluesky, Mastodon and Telegram, from any AI agent
Schedule and publish posts to Bluesky, Mastodon, X / Twitter and LinkedIn by asking your AI agent.
Related MCP Servers
- AlicenseCqualityBmaintenanceComprehensive MCP server for Mastodon integration, enabling AI assistants to read timelines, post statuses, manage accounts, search, and more on any Mastodon instance.543MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create, update, delete, and query posts on any Micropub-compatible blog with IndieAuth authentication.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with a Forgejo instance as an authenticated user, supporting issues, pull requests, repositories, and notifications.387 npmMIT
- AlicenseBqualityBmaintenanceEnables AI agents to fully control a Mastodon account, including posting, editing, threading, timelines, lists, notifications, and following across any instance.7617 npmMIT