How to connect kintone to AI agents
verified
This article has not been translated into English yet, so it is shown in Japanese.
TL;DR
サイボウズ公式のローカルMCPサーバーがあり、レコードやアプリの読み書きができる。公式REST API、OAuth、MicrosoftやZapierなどの連携サービスからもつなげる。ただしAPIが使えるのはスタンダードコース以上。
| Recommended method | 公式MCP |
|---|---|
| Authentication | APIトークン / パスワード認証(REST API は OAuth 2.0 も可) |
| Pricing | スタンダードコース以上が必要(月額1,800円/ユーザー・税抜〜)。ライト・スタンダードとも最小10ユーザーからの契約のため、スタンダードコースの実質的な下限は月額18,000円(税抜)。API・公式MCP自体の追加料金なし |
| Verified | 2026.12.05 |
Official MCP and AI guides
- Official MCP serverYes
Hosting: Local
サイボウズがOSS(Apache License 2.0)として提供する公式のローカルMCPサーバー。MCPB(Claude Desktop用パッケージ)、Dockerイメージ(ghcr.io/kintone/mcp-server)、npmパッケージ(@kintone/mcp-server)で配布される。認証はパスワード認証またはAPIトークン認証で、OAuthには未対応。APIサポート窓口の対象外で、バグ報告・機能要望はGitHubのIssuesで受け付ける。
- Official guide for AI agentsYes
cybozu developer network にLLM向けの入口(llms.txt)があり、言語別のllms.txtからドキュメントをたどれる。MCPサーバーなどAI連携のドキュメントも cybozu.dev のAIカテゴリにまとまっている
Tools of the official MCP server
| Tool | Type | What it does |
|---|---|---|
kintone-get-apps | Read | 複数のアプリ情報を取得 |
kintone-get-app | Read | 単一アプリの詳細情報を取得 |
kintone-get-form-fields | Read | アプリのフィールド設定を取得 |
kintone-get-form-layout | Read | アプリのフォームレイアウトを取得 |
kintone-update-form-fields | Write | アプリのフィールド設定を更新 |
kintone-update-form-layout | Write | アプリのフォームレイアウトを更新 |
kintone-patch-form-layout | Write | アプリのフォームレイアウトの一部を変更 |
kintone-delete-form-fields | Write | アプリのフィールドを削除 |
kintone-get-process-management | Read | プロセス管理設定を取得 |
kintone-get-app-deploy-status | Read | アプリ設定の運用環境への反映状況を確認 |
kintone-get-general-settings | Read | アプリの一般設定を取得 |
kintone-get-customization | Read | JavaScript / CSSカスタマイズ設定を取得 |
kintone-add-form-fields | Write | アプリにフィールドを追加 |
kintone-get-records | Read | 複数のレコードを取得 |
kintone-add-records | Write | 複数のレコードを追加 |
kintone-update-records | Write | 複数のレコードを更新 |
kintone-delete-records | Write | 複数のレコードを削除 |
kintone-update-statuses | Write | 複数のレコードのステータスを更新 |
kintone-get-record-comments | Read | レコードのコメントを取得 |
kintone-add-record-comment | Write | レコードにコメントを追加 |
kintone-add-app | Write | 動作テスト環境にアプリを作成 |
kintone-deploy-app | Write | アプリ設定を運用環境へ反映 |
kintone-update-general-settings | Write | アプリの一般設定を変更 |
kintone-download-file | Read | 添付ファイルフィールドのファイルを保存 |
kintone-add-space-from-template | Write | テンプレートからスペースを作成 |
kintone-update-space | Write | スペースの設定を更新 |
kintone-get-space | Read | スペースの情報を取得 |
kintone-delete-space | Write | スペースを削除 |
kintone-search | Read | kintone全体を検索 |
Connectors
Official connectors from AI services
Copilot Studioでkintoneコネクタ(プレビュー、Premium)を使える。トリガーはレコードの追加・更新・削除、コメント投稿、プロセス管理の状態更新。アクションはレコードの追加・更新
Not supported: Claude
Unverified: ChatGPT, Gemini
Third-party integration services
アクションはレコードの作成、レコードの更新(更新キー指定・レコードID指定)、コメントの追加、ステータスの更新。Zapier MCPからエージェントにkintoneのアクションを呼ばせることもできる
アプリ名は「Kintone (Legacy)」。レコードの作成、コメントの検索、ファイルのアップロードなどができる
kintoneコネクタ(プレビュー、Premium)。トリガーはレコードの追加・更新・削除、コメント投稿、プロセス管理の状態更新。アクションはレコードの追加・更新。調整制限は接続ごとに60秒あたり100回
アクション4件・トリガー1件。アクションはPipedreamのリモートMCPサーバー経由でtoolとしても公開される
kintone toolkitの対象はレコードではなくUser API(ユーザー・組織・グループ・メンバーシップ・サービス割り当て・ログインコードの管理)。レコード操作には別のKintone REST toolkitがある
レコードの追加・取得(最大500件)・更新などのテンプレートが多数ある。kintoneはYoomのミニプラン以上で利用できるアプリ
Not supported: n8n, IFTTT
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
kintone-mcp-server(r3-yamauchi)
個人開発の非公式ローカルMCPサーバー(サンプルコード)。レコード・ファイル・アプリ・スペース・ユーザー情報まで公式MCPより広い範囲をカバーする。GitHubスター10件(2026-12-05確認)。公式MCPより前に公開された
kintone-oauth-mcp-server-cfw(r3-yamauchi)
同じ開発者による、OAuth対応リモートMCPサーバーのサンプルコード。Cloudflare Workersに自分でデプロイして使う。Web版のClaudeやChatGPTから接続できる
個人開発の非公式ローカルMCPサーバー。公式MCPサーバーの登場を受け、開発者は新規機能の追加終了を表明している
CDataのクラウドサービスが提供するリモートMCPサーバー経由で、kintoneのデータにアクセスできる(有償の商用サービス)
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Official MCPOfficial MCP serverThe service provider
Permissions required Read and write パスワード認証では設定したユーザーの権限で動く。APIトークン認証では、アプリごとに発行したトークンの権限(閲覧・追加・編集・削除)で動く。MCPサーバーに登録できるAPIトークンは最大9個。同時に指定するとパスワード認証が優先される。OAuthには未対応
Terms of service No issues サイボウズが公式に提供するMCPサーバーで、接続先は公式のkintone REST API。cybozu.com サービスご利用規約 第19条(制限・禁止事項)に、公式APIやMCPサーバーの利用を禁じる定めはない
Source: relevant section of the terms
Data path 手元のPCで動くローカルサーバーが、kintone REST APIに直接接続する。第三者のサーバーは経由しない。認証情報は手元の設定ファイルや環境変数に置く。取得したレコードなどのデータは、MCPクライアントを通じて、利用しているLLMプロバイダーに送信される - Official connectorMicrosoft CopilotThe service provider
Permissions required Read and write 接続の作成時にkintoneのドメインを指定する。認証情報の詳細は未確認
Terms of service No issues Microsoftのコネクタ一覧に Publisher: Kintone として掲載されるコネクタで、kintoneのAPIを使う。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Microsoftのクラウド(Copilot Studio)を経由する。データの保存地域は未確認 - Third-party integrationZapierOfficial from the integration service
Permissions required Read and write APIトークン認証。接続時にサブドメインと、対象アプリのID・APIトークンを指定する(kintone公式ブログの案内)
Terms of service No issues kintone公式ヘルプが、Webhookで連携できるツールの例としてZapierを挙げている。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Zapierのサーバーを経由する。データの保存地域は未確認 - Third-party integrationMakeOfficial from the integration service
Permissions required Read and write パスワード認証。接続時にサブドメイン・ユーザー名・パスワードを指定する(Make のヘルプ)
Terms of service No issues 公式のkintone REST APIを使う連携。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Makeのサーバーを経由する。データの保存地域は未確認 - Third-party integrationPower AutomateThe service provider
Permissions required Read and write 接続の作成時にkintoneのドメインを指定する。認証情報の詳細は未確認
Terms of service No issues Microsoftのコネクタ一覧に Publisher: Kintone として掲載されるコネクタで、kintoneのAPIを使う。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Microsoftのクラウド(Power Automate)を経由する。データの保存地域は未確認 - Third-party integrationPipedreamOfficial from the integration service
Permissions required Read and write OAuth 2.0。Pipedreamが管理するOAuthクライアントの要求スコープは k:app_record:read / k:app_record:write / k:app_settings:read / k:app_settings:write / k:file:read / k:file:write の6つ。自分のOAuthクライアントを持ち込んでスコープを変えることもできる
Terms of service No issues 公式のOAuthクライアント機能を使う連携。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Pipedreamのサーバーを経由する。トークンはPipedreamが保持し、利用者はトークンを保持しない。データの保存地域は未確認 - Third-party integrationComposioOfficial from the integration service
Permissions required Requires admin rights APIキー(利用者自身が用意する)。対象はUser APIで、ユーザーや組織の管理操作を含む
Terms of service No issues 公式APIを使う連携。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Composioのサーバーを経由する。APIキーはComposioが暗号化して保持する(Composioの案内による)。データの保存地域は未確認 - Third-party integrationYoomOfficial from the integration service
Permissions required Read and write OAuth 2.0。Yoom のマイアプリ登録で、サブドメインと、cybozu.com共通管理で発行したクライアントID・クライアントシークレットを指定する
Terms of service No issues 公式のkintone APIを使う連携。cybozu.com サービスご利用規約 第19条に外部連携を禁じる定めはない
Source: relevant section of the terms
Data path Yoomのサーバーを経由する。データの保存地域は未確認 - Unofficial MCPkintone-mcp-server(r3-yamauchi)Third party (unofficial)
Permissions required Read and write ユーザーのログイン名とパスワードで認証し、そのユーザーの権限で動く。パスワードは設定ファイルに平文で書く
Terms of service Conditional 公式REST APIとパスワード認証を使うため、規約で禁じられた手段ではない。ただし非公式のサンプルコードで、提供元のサポートはない
Source: relevant section of the terms
Data path 手元で動いてkintone REST APIに直接接続する - Unofficial MCPkintone-oauth-mcp-server-cfw(r3-yamauchi)Third party (unofficial)
Permissions required Read and write OAuth 2.0。スコープは k:app_record:read / k:app_record:write / k:app_settings:read / k:app_settings:write / k:file:read / k:file:write から選ぶ。OAuthクライアントの作成にはcybozu.com共通管理の管理者権限が要る
Terms of service Conditional 公式のOAuthクライアント機能を使うサンプルコード。非公式で、提供元のサポートはない
Source: relevant section of the terms
Data path 利用者自身がデプロイしたCloudflare Workersを経由する - Unofficial MCPmcp-server-kintone(macrat)Third party (unofficial)
Permissions required Read and write 環境変数で指定したユーザー名・パスワード、またはAPIトークンで認証し、その権限で動く
Terms of service Conditional 公式REST APIを使うため、規約で禁じられた手段ではない。ただし非公式で、提供元のサポートはない
Source: relevant section of the terms
Data path 手元で動いてkintone REST APIに直接接続する。取得したデータはMCPクライアントを通じてLLMに渡る - Unofficial MCPCData Connect AI(kintoneコネクタ)Third party (unofficial)
Permissions required Read and write kintoneへの接続はパスワード認証などでCData側に登録し、MCPクライアントからはConnect AIのパーソナルアクセストークン(PAT)で認証する
Terms of service No issues 公式のkintone REST APIを使う連携で、規約で禁じられた手段ではない
Source: relevant section of the terms
Data path CData Connect AIのクラウドを経由する。kintoneへの接続情報はCData側に登録する
Data you can fetch within the terms of service
公式REST APIで、アプリ・レコード・スペース・ファイルの読み書きができる。APIトークン認証ではアプリ単位、OAuthではスコープ単位で範囲を絞れる
- ScrapingNot stated in terms
cybozu.com サービスご利用規約 第19条(制限・禁止事項)に、スクレイピングや自動アクセスを禁じる明記はない。サービスの運営を妨げる行為は禁止されている。公式APIが提供されているため、画面のスクレイピングは不要
- Fetching with the agent's own browser
There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.
Usage
How to connect
- kintoneの契約でスタンダードコース以上を用意する(REST APIはライトコースでは使えない)。
- 公式MCPサーバーのMCPBファイルをGitHubのリリースからダウンロードし、Claude Desktopの拡張機能としてインストールする。Dockerイメージ(ghcr.io/kintone/mcp-server)やnpmパッケージ(@kintone/mcp-server)で起動することもできる。
- 接続先のベースURL(https://(サブドメイン).cybozu.com)と、ユーザー名・パスワード、またはAPIトークンを設定する。
- APIトークンを使う場合は、対象アプリの設定画面でAPIトークンを生成し、閲覧・追加・編集・削除の権限を設定する。MCPサーバーにはカンマ区切りで最大9個まで登録できる。
条件に合うレコードを一覧にする
案件管理アプリで、ステータスが対応中のレコードを一覧にして
kintone-get-records でクエリ条件を指定してレコードを取得できる。
レコードを登録する
問い合わせ管理アプリに、今日受けた問い合わせを1件登録して
kintone-add-records でレコードを追加できる。
アプリのフィールド構成を確認する
顧客リストアプリにはどんなフィールドがあるか教えて
kintone-get-form-fields でフィールド設定を取得できる。
Pitfalls and tips
Pitfalls
- REST APIはスタンダードコース以上でのみ使える。ライトコースでは1アプリごとのAPIリクエスト数が割り当てられていない。
- APIリクエスト数の上限は1アプリ1日あたりスタンダードコース10,000件、ワイドコース100,000件。同時リクエストは1ドメインにつき100まで。
- レコードの登録・更新・削除は一度に100件まで。複数レコード取得APIのoffsetで指定できるのは10,000件まで。
- 公式MCPサーバーはAPIサポート窓口の対象外。
- 公式MCPサーバーはゲストスペース内のアプリにアクセスできない。
- 公式MCPサーバーで添付ファイルのアップロードはできない(ダウンロードのみ)。レコード登録・更新ツールでは添付ファイルフィールドを指定できない。
- Makeのkintoneアプリは「Kintone (Legacy)」という名称で提供されている。
- Composioのkintone toolkitはレコード操作ではなく、User APIによるユーザー・組織管理が対象。レコード操作向けには別の Kintone REST toolkit があるので、そちらと混同しないようにしたい。
- 2要素認証を有効にしたユーザーでは、パスワード認証でREST APIを実行できない(cybozu.dev の認証仕様)。パスワード認証でつなぐ場合は、2要素認証を無効にした連携用ユーザーを用意するか、APIトークン認証を使う。
- パスワード認証とAPIトークン認証を同時に設定すると、パスワード認証が優先される(認証の優先順位はパスワード認証が最上位)。意図した認証方式になっているか、設定を確認する。
- 公式MCPサーバーには削除系のツール(kintone-delete-form-fields、kintone-delete-space など)や、アプリ設定を運用環境へ反映する kintone-deploy-app も含まれ、取り消しにくい操作をAIに実行させられる。実行前に内容を確認できる運用にしたい。
Tips
- APIトークンはアプリごとに権限(閲覧・追加・編集・削除)を設定できる。エージェント用には必要な権限だけのトークンを発行すると範囲を絞れる。
- OAuthのスコープは6種類あり、読み取りだけなら k:app_record:read など読み取りスコープだけを許可できる。
- 公式MCPサーバーの各toolには readOnlyHint などの注釈が付いており、MCPクライアントが実行前確認の判断に使える。
- cybozu.dev には llms.txt があり、エージェントに公式ドキュメントを読ませやすい。