https://github.com/springmt/microcms-mcp-server
https://github.com/springmt/microcms-mcp-server
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/springmt/microcms-mcp-server
- Owner: SpringMT
- License: mit
- Created: 2025-03-19T01:44:44.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T01:52:34.000Z (7 months ago)
- Last Synced: 2025-03-19T02:39:24.448Z (7 months ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microCMS MCP Server
Model Context Protocol (MCP) 対応の microCMS 検索サーバーです。LLM から microCMS のコンテンツを検索・取得するために使用できます。
## 機能
- microCMS APIを使用したコンテンツの検索
- 特定のコンテンツの取得
- MCP (Model Context Protocol) 準拠のインターフェース## 必要な環境変数の説明
- `MICROCMS_API_KEY`: microCMSのAPIキー(必須)
- `MICROCMS_SERVICE_DOMAIN`: microCMSのサービスドメイン(必須)
- `MICROCMS_ENDPOINT`: 利用するエンドポイント## ビルド
```bash
npm run build
```## 使い方
### MCPクライアントからの使用
このサーバーはMCPプロトコルに準拠しているため、MCP対応のLLMクライアントから呼び出すことができます。
```
{
"mcpServers": {
"microcms": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/build/index.js"
],
"env": {
"MICROCMS_API_KEY": "",
"MICROCMS_SERVICE_DOMAIN": "",
"MICROCMS_ENDPOINT": ""
}
}
}
}
```## 関連リンク
- [microCMS](https://microcms.io/)
- [Model Context Protocol](https://modelcontextprotocol.ai/)
- [microcms-js-sdk](https://github.com/microcmsio/microcms-js-sdk)