Skip to main content
Glama

Timeline MCP Server

npm version License: MIT

Model Context Protocol (MCP) server for managing scheduled social media posts and content automation.

Timeline MCP enables AI assistants like Claude to manage your content calendar through natural language. Schedule posts across multiple platforms (X/Twitter, Reddit, LinkedIn, Instagram, TikTok, YouTube), organize campaigns into tracks, and automate your content workflow.

Quick Start

Add to your MCP settings (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "timeline": {
      "command": "npx",
      "args": ["-y", "timeline-mcp"],
      "env": {
        "POSTY_WORKSPACE": "/path/to/your/workspace"
      }
    }
  }
}

Environment Variables:

  • POSTY_WORKSPACE (required): Path to your Posty workspace directory containing the SQLite database

Related MCP server: @posteverywhere/mcp

What is MCP?

Model Context Protocol is an open protocol that enables AI assistants to securely interact with local and remote tools. This server implements the MCP specification to provide timeline management capabilities.

Development

For local development:

# Install dependencies
npm install

# Build the project
npm run build

# Run locally
npm start

Implementation

Built with FastMCP framework for cleaner code and better TypeScript support. Uses SQLite database storage via Drizzle ORM for reliable local data persistence.

Features

Track Management

  • 📋 List Tracks - View all content tracks

  • ➕ Add Track - Create new tracks for organizing campaigns

  • 🗑️ Remove Track - Delete tracks and associated events

Scheduled Events

  • 📅 Add Scheduled Event - Schedule posts with prompts, timing, and platform

  • 📊 List Events - Filter by track, status, platform, or date range

  • ✏️ Update Event - Modify scheduled events before publishing

  • ❌ Remove Event - Delete scheduled events

Supported Platforms

  • X (Twitter)

  • Reddit (with subreddit targeting)

  • LinkedIn

  • Instagram

  • TikTok

  • YouTube

Usage Example

Ask your AI assistant:

"Schedule a product launch campaign for next week. Create 5 teaser posts on X leading up to the launch, with one post per day at 10 AM."

The AI will use Timeline MCP to:

  1. Create or reuse a track for the campaign

  2. Generate engaging prompts for each post

  3. Schedule them at the specified times

  4. Store everything in your local database

Media Storage

Generated images and content are saved to:

{workspace}/tracks/{track_name}/{event_name}/

Each event folder contains an info.json with metadata about the event.

Examples

See examples.md for detailed usage examples including:

  • Product launch campaigns

  • Content series scheduling

  • Event coverage

  • Multi-platform posts

Requirements

  • Node.js 18+

  • A Posty workspace with SQLite database

  • MCP-compatible AI assistant (Claude Desktop, etc.)

Available Tools

7 tools
timeline_add_scheduled_eventA

Add a scheduled event to a track. IMPORTANT: 1) Use the terminal MCP tool to get the current date/time (execute_command("date")) before scheduling events to ensure correct dates. 2) ALWAYS use timeline_list_tracks first to check existing tracks - if a track with a similar name or purpose already exists, use that instead of creating a new one. If unsure whether an existing track matches your needs, ask the user for clarification before proceeding.

Inputs: trackName (required), eventName (required), prompt (required), scheduledTime (required), +5 more.

timeline_add_trackA

Create a new track for organizing timeline events. Check existing tracks with timeline_list_tracks first to avoid duplicates.

Inputs: name (required), type, order.

timeline_list_scheduled_eventsA

List scheduled events with optional filtering by track, status, platform, and date range.

STATUS FILTERING:

  • 'all': Returns all events regardless of status

  • 'pending': Returns events that haven't been generated yet (contentGenerated = false)

  • 'generated': Returns events that have been generated but not posted yet (contentGenerated = true, posted = false)

  • 'posted': Returns events that have been posted (posted = true)

DATE FILTERING:

  • startDate/endDate use DATE ONLY comparison (time is ignored)

  • Format: YYYY-MM-DD or ISO 8601 datetime string

  • Example: startDate="2025-10-14" matches ALL events scheduled on Oct 14, regardless of time

  • To get events for a single day, use the same date for both startDate and endDate

EXAMPLES:

  • Get all posted events from today: { "startDate": "2025-10-14", "endDate": "2025-10-14", "status": "posted" }

  • Get all Reddit events this week: { "platform": "reddit", "startDate": "2025-10-14", "endDate": "2025-10-20" }

  • Get pending events in a specific track: { "trackId": "track-uuid", "status": "pending" }

Inputs: trackId, status, platform, startDate, +3 more.

timeline_list_tracksC

List all tracks

Inputs: limit, offset.

timeline_remove_scheduled_eventC

Remove a scheduled event

Inputs: eventId (required).

timeline_remove_trackA

Remove a track and all its associated events. WARNING: This will delete all events in the track.

Inputs: trackId (required).

timeline_update_scheduled_eventC

Update an existing scheduled event

Inputs: eventId (required), updates (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: timeline_add_scheduled_event and timeline_update_scheduled_event handle event creation/modification, timeline_remove_scheduled_event handles deletion, timeline_list_scheduled_events handles listing with filtering, timeline_add_track and timeline_remove_track manage tracks, and timeline_list_tracks lists tracks. There is no overlap or ambiguity between tools.

    Naming Consistency5/5

    All tools follow a consistent 'timeline_verb_noun' pattern with snake_case, such as timeline_add_scheduled_event, timeline_list_tracks, and timeline_remove_track. This predictable naming convention makes it easy to understand each tool's function at a glance.

    Tool Count5/5

    With 7 tools, this server is well-scoped for managing timeline tracks and scheduled events. It provides a complete set of operations (add, list, update, remove for both tracks and events) without being overly complex or too sparse, fitting typical use cases effectively.

    Completeness5/5

    The toolset offers full CRUD coverage for both tracks (add, list, remove) and scheduled events (add, list, update, remove), including advanced filtering for events. There are no obvious gaps; agents can manage the entire lifecycle of timeline data without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Schedule and manage social media posts across 10 platforms (Instagram, Facebook, TikTok, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Telegram) from any MCP-compatible AI assistant. Supports batch posting, media uploads, analytics, and platform-specific features like Reels, Shorts, and carousels.
      11
      1,225 npm
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Official MCP server for PostEverywhere (posteverywhere.ai/social-media-scheduler). Let Claude, ChatGPT, Cursor or any MCP client schedule and publish posts to 13 platforms: Instagram, TikTok, YouTube, LinkedIn, Facebook, X, Threads, Pinterest, Bluesky, Telegram, Discord, WordPress and Google Business Profile. 40 tools: best-time scheduling, threads, cross-posting, campaigns, analytics.
      33
      289 npm
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Gives AI agents the ability to schedule and publish social media posts to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, and Bluesky. Create, schedule, and bulk-plan posts with per-platform captions, then check per-platform results and retry failures.
      82
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants and autonomous agents to connect to social media accounts and manage, generate, schedule, upload media for, and publish content across Facebook Pages, YouTube, TikTok, Instagram, and X, plus maintain a content pipeline.
      14
      MIT