Skip to main content
Glama
social-media-mcp

social-media-mcp

by angheljf

ソーシャルメディアサーバー

鍛冶屋のバッジソーシャル メディアの投稿を管理するための Model Context Protocol (MCP) サーバー。現在 X (旧 Twitter) をサポートしています。

例

特徴

  • Xにメッセージを投稿する(Twitter)

  • Xでスレッドを作成

  • 既存のスレッドに返信する

  • フィルタリングオプション付きのX件の投稿を一覧表示する

  • プラットフォーム情報エンドポイント

Related MCP server: SocialData MCP Server

前提条件

  • Node.js 16以上

  • Twitter API 認証情報

    • APIキー

    • APIシークレット

    • アクセストークン

    • アクセスシークレット

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用のソーシャル メディア サーバーを自動的にインストールするには:

npx -y @smithery/cli install social-media-server --client claude

手動インストール

  1. リポジトリをクローンする

  2. 依存関係をインストールします:

npm install
  1. Twitter の認証情報を使用して .env ファイルを作成します。

TWITTER_API_KEY=your_api_key
TWITTER_API_SECRET=your_api_secret
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_SECRET=your_access_secret

建物

プロジェクトをビルドするには、次のコマンドを実行します。

npm run build

利用可能なツール

  • post_to_x - Xにメッセージを投稿する

    • 必須: content (文字列)

    • オプション: threadId (文字列)

  • create_x_thread - X に新しいスレッドを作成する

    • 必須: content (文字列)

  • list_x_post - オプションのフィルタリングを使用してX件の投稿を一覧表示します

    • オプション: limit (数値)

    • オプション: threadId (文字列)

リソース

サーバーは、次の方法でプラットフォーム情報を提供します。

  • socialmedia://platforms/x

発達

このプロジェクトはTypeScriptを使用し、モデルコンテキストプロトコル仕様に準拠しています。メインのサーバー実装はindex.tsにあり、型はtypes.tsで定義されています。

ライセンス

このプロジェクトはMITライセンスの下でライセンスされています

Available Tools

3 tools
create_x_threadC

Create a thread on X (formerly Twitter)

Inputs: content (required).

list_x_postsC

List X (formerly Twitter) posts

Inputs: limit, threadId.

post_to_xC

Post a message to X (formerly Twitter)

Inputs: content (required), threadId.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 3 tools

    Disambiguation2/5

    The tools have significant overlap and unclear boundaries. 'create_x_thread' and 'post_to_x' both involve posting to X, with the distinction between a 'thread' and a 'post' not clearly defined in the descriptions, leading to potential confusion. 'list_x_posts' is more distinct but still part of the same ambiguous posting domain.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with 'create_x_thread', 'list_x_posts', and 'post_to_x', all using snake_case. However, there is a minor deviation in the verb choice: 'create' vs. 'post' for similar actions, which slightly reduces consistency.

    Tool Count2/5

    With only 3 tools, the server feels too thin for a social media domain, lacking essential operations like updating, deleting, searching, or interacting with other platforms. This limited scope may hinder agents from performing common social media tasks effectively.

    Completeness2/5

    The tool surface is severely incomplete for a social media server. It focuses only on X (Twitter) with basic create and list operations, missing critical functions such as update, delete, reply, like, follow, or support for other platforms like Facebook or Instagram, leading to significant gaps in agent workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI models and applications to interact directly with Twitter/X, providing capabilities to create posts, reply to tweets, retrieve user data, and manage account actions.
      11
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive Model Context Protocol (MCP) server that provides tools for interacting with the SocialData API. This server allows you to fetch Twitter/X data, monitor user activity, and analyze social media engagement programmatically.
      7
      -
    • F
      license
      A
      quality
      D
      maintenance
      Model Context Protocol server that enables LLMs to interact with X.com (formerly Twitter) through OAuth 2.0 authentication, supporting major Post-related operations including reading, writing, searching, and managing posts, likes, retweets, and bookmarks.
      21
      8
      -
    • A
      license
      B
      quality
      C
      maintenance
      Model Context Protocol server that enables programmatic interaction with Twitter API, allowing users to post tweets, search for content, and retrieve user timelines through standardized MCP tools.
      4
      MIT