a-blog cms MCP Server

a-blog cms MCP Server

Enables searching and retrieving content, module information, and Twig template snippets from a-blog cms via its GET API.

Category
Visit Server

README

a-blog cms MCP Server

a-blog cmsの GET APIを活用するMCP(Model Context Protocol)サーバーです。a-blog cmsに登録されているコンテンツの検索、詳細情報の取得、モジュール情報の取得、Twigテンプレートスニペットの取得などができます。

機能

  • 検索機能: キーワード検索(ページネーション対応)
  • コンテンツ取得: エントリーの一詳細取得
  • モジュール情報: 利用可能なモジュール一覧の取得、モジュール詳細情報の取得
  • スニペット取得: 30個以上のV2モジュールのTwigテンプレートスニペット取得

設定

a-blog cmsでの設定

管理画面 > コンフィグ > API設定 から API(V2) を有効にして、X-API-KEY をメモします。

MCPサーバーがアクセスするためのAPIエンドポイントを作成するため、以下モジュールIDを作成します。 作成したモジュールIDは、 APIでの取得を許可 にチェックを入れます。

記事検索API

  • モジュール名: V2_Entry_Summary
  • モジュールID: mcp_entry_summary
  • 説明: 記事検索API用のモジュール
  • 引数: キーワードページ にチェック

記事詳細API

  • モジュール名: V2_Entry_Body
  • モジュールID: mcp_entry_body
  • 説明: 記事詳細API用のモジュール
  • 引数: エントリーID にチェック

モジュールID一覧取得API

McpModuleApi 拡張アプリ が必要です。別途インストールしてください。

  • モジュール名: V2_McpModuleApi_Index
  • モジュールID: mcp_modules
  • 説明: モジュール一覧取得API用のモジュール
  • 引数: なし

モジュールID詳細取得API

McpModuleApi 拡張アプリ が必要です。別途インストールしてください。

  • モジュール名: V2_McpModuleApi_Detail
  • モジュールID: mcp_module_detail
  • 説明: モジュール詳細取得API用のモジュール
  • 引数: なし

クライアント設定

npx を使って設定します。

  • ACMS_BASE: a-blog cms のブログのURLを設定
  • ACMS_X_API_KEY: メモしたAPIキーを設定
{
  "mcpServers": {
    "acms": {
      "command": "npx",
      "args": [
        "-y",
        "acms-mcp-server@beta",
      ],
      "env": {
        "ACMS_BASE": "https://example.com/",
        "ACMS_X_API_KEY": "xxxxxxxxxxxxx"
      }
    }
  }
}

Cursorの場合

MCPサーバーを利用したいワークスペースで .cursor/mcp.json を作成して、上記jsonを設定します。

利用可能なツール

a-blog cms MCP Serverで利用可能なツールです。

ツール名 説明 パラメータ
acms_find_entries a-blog cmsに登録されているコンテンツ(記事、エントリー)をキーワードで検索します。ページネーション対応(最大100ページ)。結果には各項目の識別子(bidとeid)が含まれ、acms_get_entryで詳細を取得できます。 keyword (string, optional): 検索キーワード<br>page (number, optional): ページ番号(デフォルト: 1、最大: 100)
acms_get_entry 識別子(bidとeid)を使用してエントリーの詳細情報を取得します。記事の本文、画像、メタデータ、設定情報などを取得できます。 bid (number, required): ブログID<br>eid (number, required): エントリーID
acms_modules a-blog cmsで利用可能なモジュールの一覧を取得します。レスポンスに含まれるidentifierフィールドの値は、acms_get_module_detailmoduleIdパラメータとして使用できます。 なし
acms_get_module_detail a-blog cmsのAPIからモジュールの詳細情報(変数、パラメータ、設定項目など)を取得します。スニペットに含まれていない変数や詳細なパラメータ情報も含まれます。 moduleId (string, required): モジュールID(acms_modulesで取得したidentifierの値)
acms_get_snippet a-blog cmsのモジュールのスニペット(テンプレートコード例)を取得します。30個以上のV2モジュールのTwigテンプレートコード、パラメータ、変数の使用例を参照できます。acms_get_module_detailと組み合わせて使用することで、完全なコード生成が可能になります。 moduleName (string, required): モジュール名(例: V2_Entry_Summary, V2_Entry_Body

使用例

a-blog cms に登録されているコンテンツをマニュアルとして利用する。

a-blog cmsの校正オプションで、画像を300x300でトリミングしてリサイズしたいです。acmsツールを使用して

a-blog cms のコンテンツを取得してレビューしてもらう

xxxxxxのコンテンツを取得して、文章を校正して

a-blog cms のテンプレートを実装する。

添付したデザインをもとに、記事一覧を、news-listモジュールIDを使用して、実装してください。スタイルはtailwindcssでつけてください。

ライセンス

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured