About Spearly CMS MCP
Spearly CMS MCP is a server for searching, retrieving, adding, and editing content in Spearly CMS. It supports individual field changes as well as bulk updates, and can be used from Cursor.
Key features
- 01List CMS content
- 02Search and retrieve content
- 03Add content
- 04Edit individual or multiple fields
- 05Bulk-edit fields across all content
Use cases
- 01Finding Spearly articles from Cursor
- 02Retrieving an article with its metadata
- 03Adding content or correcting CMS fields
MCP support
The server exposes Spearly CMS content listing, search, retrieval, creation, and editing operations to MCP clients such as Cursor.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESpearly 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パネルでの直接利用
- Cursorの「MCP」パネルを開く
- 「spearly」MCPを選択
- 以下の操作が可能:
- コンテンツ一覧取得
- コンテンツ取得(記事メタデータ含む)
- コンテンツ追加
- コンテンツ内フィールドの修正
- コンテンツ修正(フィールドのバルク修正)
- 全コンテンツのフィールド修正(バルク修正)
Cursorでの具体的な利用手順
- Cursorを起動し、プロジェクトを開く
- 左側のサイドバーから「MCP」タブを選択
- 「spearly」MCPを選択し、接続
- MCPパネルから各操作を実行
例:コンテンツ一覧取得
// MCPパネルで以下のように呼び出し
await spearly.listContents({ contentType: 'article' });
例:コンテンツ取得
// MCPパネルで以下のように呼び出し
await spearly.getContent({ contentType: 'article', contentId: '123' });
ライセンス
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.