Mastodon MCP Server
Provides tools for interacting with a Mastodon account, including viewing home timeline, posting statuses, and checking notifications.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mastodon MCP Servershow me my recent notifications"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: agent-twitter-client-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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceConnects to multiple social media platforms (Twitter/X, Mastodon, LinkedIn), allowing users to create and publish content across platforms through natural language instructions.Last updated31422MIT
- AlicenseBqualityDmaintenanceEnables AI models to interact with Twitter, including posting tweets, searching, following users, and chatting with Grok, using cookie or credential authentication.Last updated141,9291MIT
- Alicense-qualityCmaintenanceEnables AI assistants to interact with X (Twitter) API v2 for posting tweets, searching, liking, retweeting, and more through natural language.Last updatedMIT
- AlicenseAqualityAmaintenanceEnables LLMs to interact with the AT Protocol ecosystem, including Bluesky, through natural language. Supports public data access without authentication and full write operations with authentication.Last updated51358MIT
Related MCP Connectors
Mastodon MCP — public Mastodon data via mastodon.social (no auth required)
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Boost posts and launch community growth campaigns from your AI assistant. OAuth, credit-billed.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/teknoflame/mastodon-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server