Enables interaction with baserCMS through GitHub Copilot's agent mode, allowing users to perform various operations on a baserCMS instance.
Leverages OpenAI models to automatically generate content summaries and detailed explanations for blog posts based on titles in baserCMS.
basercms-mcp
baserCMSを操作するためのModel Context Protocol (MCP) サーバー実装です。Cline や GitHub Copilotのエージェントモードで利用できます。
Installation
.env
ファイルを作成して必要な環境変数を設定
必要な環境変数:
API_BASE_URL
: baserCMS APIのベースURLAPI_USER
: baserCMS APIのユーザー名(メールアドレス)API_PASSWORD
: baserCMS APIのパスワード
GitHub Copilotの場合
MCPサーバーの設定ファイルに設定を記載します。
Clineの場合
MCPサーバーの設定ファイルに設定を記載します。
Claude Desktopの場合
MCPサーバーの設定ファイルに設定を記載します。
開発プロジェクト内での利用ではないため、環境変数を記載します。
Usage
baserCMS MCPサーバーは、baserCMSのWeb APIを通じて様々な機能を提供します。Cline や GitHub Copilotのエージェントモードから自然言語で操作できます。
使用例
ブログ機能(bc-blog)
ブログ記事(Blog Posts)
getBlogPost
- 指定IDのブログ記事を取得getBlogPosts
- ブログ記事一覧を取得(検索、ページング対応)addBlogPost
- ブログ記事を追加editBlogPost
- ブログ記事を編集deleteBlogPost
- ブログ記事を削除
ブログカテゴリ(Blog Categories)
getBlogCategory
- 指定IDのブログカテゴリを取得getBlogCategories
- ブログカテゴリ一覧を取得addBlogCategory
- ブログカテゴリを追加editBlogCategory
- ブログカテゴリを編集deleteBlogCategory
- ブログカテゴリを削除
ブログコンテンツ(Blog Contents)
getBlogContent
- 指定IDのブログコンテンツを取得getBlogContents
- ブログコンテンツ一覧を取得addBlogContent
- ブログコンテンツを追加editBlogContent
- ブログコンテンツを編集deleteBlogContent
- ブログコンテンツを削除
ブログタグ(Blog Tags)
getBlogTag
- 指定IDのブログタグを取得getBlogTags
- ブログタグ一覧を取得addBlogTag
- ブログタグを追加editBlogTag
- ブログタグを編集deleteBlogTag
- ブログタグを削除
カスタムコンテンツ機能(bc-custom-content)
カスタムテーブル(Custom Tables)
getCustomTable
- 指定IDのカスタムテーブルを取得getCustomTables
- カスタムテーブル一覧を取得addCustomTable
- カスタムテーブルを追加(カスタムフィールド関連付け)editCustomTable
- カスタムテーブルを編集deleteCustomTable
- カスタムテーブルを削除
カスタムフィールド(Custom Fields)
getCustomField
- 指定IDのカスタムフィールドを取得getCustomFields
- カスタムフィールド一覧を取得getIndexCustomFields
- インデックス用カスタムフィールドを取得addCustomField
- カスタムフィールドを追加editCustomField
- カスタムフィールドを編集deleteCustomField
- カスタムフィールドを削除
カスタムエントリー(Custom Entries)
getCustomEntry
- 指定IDのカスタムエントリーを取得getCustomEntries
- カスタムエントリー一覧を取得addCustomEntry
- カスタムエントリーを追加(ファイルアップロード対応)editCustomEntry
- カスタムエントリーを編集deleteCustomEntry
- カスタムエントリーを削除
カスタムコンテンツ(Custom Contents)
getCustomContent
- 指定IDのカスタムコンテンツを取得getCustomContents
- カスタムコンテンツ一覧を取得addCustomContent
- カスタムコンテンツを追加editCustomContent
- カスタムコンテンツを編集deleteCustomContent
- カスタムコンテンツを削除
カスタムリンク(Custom Links)
getCustomLink
- 指定IDのカスタムリンクを取得getCustomLinks
- カスタムリンク一覧を取得addCustomLink
- カスタムリンクを追加editCustomLink
- カスタムリンクを編集deleteCustomLink
- カスタムリンクを削除
システム機能(system)
サーバー情報(Server Info)
serverInfo
- サーバーのバージョンや環境情報を取得
Debugging
.vscode/launch.json
を以下のように設定します。
request.json ファイルを作成し、以下のように記述します。
ブレークポイントを設定してデバッグを実行します。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Model Context Protocol server implementation for operating baserCMS that enables GitHub Copilot and other agent modes to interact with baserCMS through its API.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.Last updated -1364,393TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Large Language Models to interact with Git repositories through a robust API, supporting operations like repository initialization, cloning, file staging, committing, and branch management.Last updated -211,062106TypeScriptApache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.Last updated -350TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.Last updated -1JavaScript