npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shuhary/satorify-mcp

v1.0.6

Published

MCP Server for Satori Syntax Generation (140-character X posts)

Readme

さとり構文 MCP

npm version License: MIT

https://github.com/user-attachments/assets/64a88176-9852-4ffa-857e-8d9960f8c107

X(旧Twitter)投稿用の効果的なさとり構文を生成するModel Context Protocol (MCP) サーバーです。140文字以内で読者の心を掴む構文を5つのパターンから選択して生成できます。

主な機能

  • 高速で軽量。構造化されたテンプレートベースの生成で瞬時に構文を作成
  • LLMフレンドリー。MCPプロトコルによる構造化されたデータ操作
  • 決定論的な構文生成。曖昧さを排除した明確なパターンベースのアプローチ

動作要件

  • Node.js 18以降
  • VS Code、Cursor、Windsurf、Claude Desktop、Goose、またはその他のMCPクライアント

さとり構文タイプ

  • A: 基本形 - 万能でどんな状況にも適応可能な構文
  • B: 常識の否定 - 常識や既成概念を覆すことで読者の関心を引きつける
  • C: 一般的なニュース - ニュースを軸にしつつ、読者の興味を引く構文
  • D: 衝撃的なニュース - 驚きや感動を伴う内容で感情を動かす
  • E: ステップ紹介 - 具体的な手順を示して行動を促す構文

はじめに

まず、お使いのクライアントでSatori Syntax MCPサーバーをインストールしてください。

標準設定 ほとんどのツールで動作します:

{
  "mcpServers": {
    "generate-satorify": {
      "command": "npx",
      "args": [
        "@shuhary/satorify-mcp@latest"
      ]
    }
  }
}

Claude Code CLIを使用してSatori Syntax MCPサーバーを追加:

claude mcp add generate-satorify npx @shuhary/satorify-mcp@latest

MCPインストールガイドに従い、上記の標準設定を使用してください。

Cursor SettingsMCPAdd new MCP Serverに移動。お好みの名前を付け、コマンドnpx @shuhary/satorify-mcpcommandタイプを使用してください。Editをクリックして設定を確認したり、コマンドライン引数を追加することもできます。

Advanced settingsExtensionsAdd custom extensionに移動。お好みの名前を付け、タイプSTDIOを使用し、commandnpx @shuhary/satorify-mcpに設定してください。"Add Extension"をクリックします。

MCPインストールガイドに従い、上記の標準設定を使用してください。VS Code CLIを使用してSatori Syntax MCPサーバーをインストールすることもできます:

# VS Code用
code --add-mcp '{"name":"generate-satorify","command":"npx","args":["@shuhary/satorify-mcp@latest"]}'

インストール後、VS CodeのGitHub Copilotエージェントでサーバーが利用可能になります。

Windsurf MCPドキュメントに従い、上記の標準設定を使用してください。

ツール

  • generate_satori_syntax

    • タイトル: さとり構文生成
    • 説明: 指定されたパラメータに基づいて140文字以内のさとり構文を生成
    • パラメータ:
      • structure_type (string, 必須): 構文タイプ(A/B/C/D/E)
      • target_audience (string, 必須): ターゲット層
      • message_content (string, 必須): 伝えたいメッセージの内容
      • expected_action (string, 必須): 期待する行動
      • news_content (string, オプション): ニュース内容(構文CとDで使用)
    • 読み取り専用: false
  • get_satori_structure_types

    • タイトル: 構文タイプ一覧取得
    • 説明: 利用可能なさとり構文タイプの一覧を取得
    • パラメータ: なし
    • 読み取り専用: true

設定

Satori Syntax MCPサーバーは以下の引数をサポートしています。これらは上記のJSON設定で"args"リストの一部として提供できます:

> npx @shuhary/satorify-mcp@latest --help
  --output-dir <path>          出力ファイル用のディレクトリパス
  --config <path>              設定ファイルのパス
  --help                       ヘルプを表示

設定ファイル

Satori Syntax MCPサーバーはJSON設定ファイルを使用して設定できます。--configコマンドラインオプションを使用して設定ファイルを指定できます:

npx @shuhary/satorify-mcp@latest --config path/to/config.json
{
  // 出力ファイル用のディレクトリ
  outputDir?: string;

  // さとり構文生成の設定
  generation?: {
    // デフォルトの文字数制限(デフォルト: 140)
    maxLength?: number;
    
    // デフォルトの構文タイプ
    defaultStructureType?: 'A' | 'B' | 'C' | 'D' | 'E';
  };
}

開発

ソースからビルド

git clone https://github.com/nogu66/satorify-mcp.git
cd satorify-mcp
npm install
npm run build

開発環境のセットアップ

npm install
npm run dev  # ウォッチモードでの開発

テスト実行

npm test

ディレクトリ構造

src/
├── index.ts              # MCPサーバーのメインファイル
├── types.ts              # 型定義
└── satori-templates.ts   # さとり構文テンプレート

貢献

プルリクエストやイシューの報告を歓迎します。

ライセンス

MIT License

注意事項

  • このツールはさとり構文のプロンプトを生成します。実際の構文生成にはLLMが必要です。
  • さとり構文生成は、使用しているLLM(Claude、ChatGPT、Geminiなど)で実行してください。
  • さとり構文の使用には十分注意し、適切なターゲットと内容で使用してください。
  • X(Twitter)の利用規約に従って使用してください。
  • 生成されたコンテンツの品質や適切性についてご自身で確認してください。 `

サポート

問題が発生した場合は、GitHubのイシューで報告してください。