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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@baserCMS MCP Serversearch for blog posts about AI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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サーバーの設定ファイルに設定を記載します。
開発プロジェクト内での利用ではないため、環境変数を記載します。
Related MCP server: Git MCP Server
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 ファイルを作成し、以下のように記述します。
ブレークポイントを設定してデバッグを実行します。