kintone MCP Server
# mcp-server-kintone
[日本語](#日本語) | [English](#english)
---
## 日本語
### kintone MCP Server
**AI Agentがkintoneを直接操作するための [Model Context Protocol (MCP)](https://modelcontextprotocol.io) サーバー**
日本初のkintone向けMCPサーバーです。Claude、ChatGPT、その他のAI Agentからkintone APIを安全に呼び出せます。
### 対応機能
| カテゴリ | ツール | 説明 |
|---------|--------|------|
| レコード | `get_record` | レコード1件取得 |
| | `list_records` | レコード一覧取得(クエリ対応) |
| | `create_record` | レコード作成 |
| | `update_record` | レコード更新 |
| | `delete_records` | レコード削除(複数可) |
| アプリ | `get_app` | アプリ情報取得 |
| | `list_apps` | アプリ一覧取得 |
| | `get_form_fields` | フォームフィールド一覧 |
| | `get_form_layout` | フォームレイアウト |
| スペース | `get_space` | スペース情報取得 |
| ファイル | `upload_file` | ファイルアップロード |
| | `download_file` | ファイルダウンロード |
| コメント | `list_comments` | コメント一覧 |
| | `add_comment` | コメント追加 |
| ステータス | `update_status` | ステータス更新 |
### セットアップ
#### 1. kintone APIトークン取得
1. kintone管理画面で「アプリの設定」→「API トークン」
2. 必要な権限(閲覧・追加・編集・削除)を設定してトークンを生成
3. アプリを更新して設定を反映
#### 2. インストール
```bash
npm install @aslink/mcp-server-kintone
```
または直接実行:
```bash
npx @aslink/mcp-server-kintone
```
#### 3. 環境変数
```bash
export KINTONE_BASE_URL="https://your-subdomain.cybozu.com"
export KINTONE_API_TOKEN="your_api_token_here"
```
#### 4. Claude Desktop設定
`claude_desktop_config.json` に追加:
```json
{
"mcpServers": {
"kintone": {
"command": "npx",
"args": ["@aslink/mcp-server-kintone"],
"env": {
"KINTONE_BASE_URL": "https://your-subdomain.cybozu.com",
"KINTONE_API_TOKEN": "your_api_token_here"
}
}
}
}
```
### 使用例
Claudeに話しかけるだけ:
- 「営業案件の一覧を見せて」
- 「新しい顧客レコードを作成して」
- 「今月の受注案件をクエリして」
- 「レコードIDが100のコメントを確認して」
- 「ステータスを承認済みに変更して」
### クエリの例
```javascript
// 最新100件
"$id > 0 order by $id desc limit 100"
// 特定の条件
"顧客名 like \"株式会社\" and ステータス = \"進行中\""
// 日付範囲
"作成日時 >= \"2024-01-01T00:00:00Z\" and 作成日時 < \"2024-02-01T00:00:00Z\""
```
### ライセンス
MIT — [AS LINK](https://aslink.co)
---
## English
### kintone MCP Server
**[Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for AI Agents to interact with kintone API**
The first MCP server for kintone — Japan's leading low-code platform. Enables Claude, ChatGPT, and other AI agents to securely access kintone data.
### Features
- 15+ tools covering records, apps, spaces, comments, and status management
- Full CRUD support for kintone records
- Query-based record filtering
- Secure API token authentication
- Japanese-native — designed for Japanese business workflows
### Quick Start
```bash
export KINTONE_BASE_URL="https://your-subdomain.cybozu.com"
export KINTONE_API_TOKEN="your_token"
npx @aslink/mcp-server-kintone
```
### Example Usage
Just ask Claude:
- "Show me the list of sales leads"
- "Create a new customer record"
- "Query orders from this month"
- "Check comments on record ID 100"
- "Update status to approved"
### License
MIT — [AS LINK](https://aslink.co)
TDQS
Scored across 15 tools
Each tool targets a clearly distinct resource and action: records, comments, apps, form metadata, spaces, files, and status are separated by name. The only potentially close pair, update_record and update_status, is sufficiently differentiated by the status-specific description.
All tools use a consistent snake_case verb_noun pattern such as get_record, list_records, create_record, and update_status. Plural nouns for list/delete operations are used conventionally and do not break the pattern.
Fifteen tools is within a well-scoped range for a kintone integration covering records, comments, apps, forms, files, spaces, and statuses. Each tool appears to earn its place without excessive fragmentation.
Record CRUD is fully covered, but several supporting areas are only partially exposed: comments have add/list but no delete, apps are read-only with no create/update, and spaces only support get without list. These are notable lifecycle gaps for a broad kintone server, though core record workflows remain usable.