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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mantaroh/spearly-mcp-server

v1.0.2

Published

Spearly MCP Server for Cursor IDE

Readme

Spearly CMS MCP

Spearly CMSのコンテンツを検索・取得・修正・追加するためのMCPサーバーです。

利用方法

1. 設定

.cursor/mcp.jsonに以下の設定を追加します:

{
    "mcpServers": {
        "spearly": {
            "command": "npx",
            "args": [
                "-y",
                "@spearly/mcp-server@latest",
                "--spearly-api-key=YOUR_API_KEY"
            ]
        }
    }
}

YOUR_API_KEYを実際のSpearly APIキーに置き換えてください。

2. Cursorでの利用

AIアシスタントとの対話による利用

CursorのAIアシスタントに自然な形で質問することで、Spearlyのコンテンツを取得できます。

例:

  • 「Spearlyの記事一覧を取得して」
  • 「Spearlyのブログ記事を検索して」
  • 「Spearlyの特定の記事の内容を教えて」

AIアシスタントは自動的にMCPを使用して、要求されたコンテンツを取得し、適切な形式で表示します。

MCPパネルでの直接利用

  1. Cursorの「MCP」パネルを開く
  2. 「spearly」MCPを選択
  3. 以下の操作が可能:
    • コンテンツ一覧取得
    • コンテンツ取得(記事メタデータ含む)
    • コンテンツ追加
    • コンテンツ内フィールドの修正
    • コンテンツ修正(フィールドのバルク修正)
    • 全コンテンツのフィールド修正(バルク修正)

Cursorでの具体的な利用手順

  1. Cursorを起動し、プロジェクトを開く
  2. 左側のサイドバーから「MCP」タブを選択
  3. 「spearly」MCPを選択し、接続
  4. MCPパネルから各操作を実行

例:コンテンツ一覧取得

// MCPパネルで以下のように呼び出し
await spearly.listContents({ contentType: 'article' });

例:コンテンツ取得

// MCPパネルで以下のように呼び出し
await spearly.getContent({ contentType: 'article', contentId: '123' });

ライセンス

MIT