mcpField
K
Kintone Mcp Server

Kintone Mcp Server

Local
github.com/kintoneBusiness & Marketing59Updated 1d ago

About Kintone Mcp Server

Kintone Mcp Server is kintone's official local MCP server for users managing apps, records, and spaces. It exposes tools for reading and changing app settings and data, with authentication configurable through CLI options or environment variables.

Key features

  1. 01Retrieve app information and settings
  2. 02Create, update, and delete records
  3. 03Manage form fields and layouts
  4. 04Read and update record statuses and comments
  5. 05Create and manage spaces
  6. 06Authenticate with credentials or API tokens

Use cases

  1. 01Inspect kintone apps and their configuration
  2. 02Update records through MCP tools
  3. 03Change form fields and deploy app settings
  4. 04Download attachment files from records

MCP support

The local MCP server exposes kintone operations as tools to MCP clients. It connects to the kintone REST API and supports configuration through a desktop package, Docker, or npm.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"kintone-2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KINTONE_BASE_URL",
"-e",
"KINTONE_USERNAME",
"-e",
"KINTONE_PASSWORD",
"ghcr.io/kintone/mcp-server:latest"
],
"env": {
"KINTONE_BASE_URL": "<KINTONE_BASE_URL>",
"KINTONE_USERNAME": "<KINTONE_USERNAME>",
"KINTONE_PASSWORD": "<KINTONE_PASSWORD>"
}
}
}
}
Run commanddocker run -i --rm -e KINTONE_BASE_URL -e KINTONE_USERNAME -e KINTONE_PASSWORD ghcr.io/kintone/mcp-server:latest
Environment variables to set
KINTONE_BASE_URL
KINTONE_USERNAME
KINTONE_PASSWORDSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocighcr.io/kintone/mcp-server:latest

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

kintone MCP Server

ci npm version License: Apache 2.0 Install MCP Server

日本語 | English

kintoneの公式ローカルMCPサーバーです。

インストール

MCPB (Claude Desktop用パッケージ)

MCPBファイルは、Claude Desktopの拡張機能としてインストールできます。

以下の手順でインストールしてください。

  1. リリース一覧 にアクセス
  2. 最新のリリースから kintone-mcp-server.mcpb をダウンロード
  3. Claude Desktopを開く
  4. 設定から「デスクトップアプリ」→「拡張機能」のページを開く
  5. ダウンロードした kintone-mcp-server.mcpb をClaude Desktopの画面にドラッグ&ドロップ
  6. インストール確認ダイアログが表示されるので「インストール」を選択
  7. 設定ダイアログが表示されるので、必要な情報を入力する
    • Kintone Base URL: kintoneのベースURL (例: https://example.cybozu.com)
    • Kintone Username: kintoneのユーザー名
    • Kintone Password: kintoneのパスワード
Dockerコンテナイメージ

Dockerのインストールが必要です。

以下のコマンドでコンテナを起動できます。

docker run -i --rm \
  -e KINTONE_BASE_URL=https://example.cybozu.com \
  -e KINTONE_USERNAME=(username) \
  -e KINTONE_PASSWORD=(password) \
  ghcr.io/kintone/mcp-server
npmパッケージ

Node.jsのインストールが必要です。

以下のコマンドでインストールできます。

npm install -g @kintone/mcp-server

以下のコマンドでサーバーを起動できます。

kintone-mcp-server \
  --base-url https://example.cybozu.com \
  --username (username) \
  --password (password)

# `--base-url`、`--username`、`--password` は
# 環境変数 `KINTONE_BASE_URL`、`KINTONE_USERNAME`、`KINTONE_PASSWORD` でも指定可能です。

利用方法

MCPBファイルをインストールした場合、追加の手順は必要ありません。

その他の利用方法では、設定ファイルを作成する必要があります。 設定ファイルの作成方法の詳細は、利用するAIツールのドキュメントを参照してください。

設定ファイルのパスの例
  • Claude Code: .mcp.json [ref]
  • Cursor: .cursor/mcp.json [ref]
設定ファイルの内容の例
{
  "mcpServers": {
    "kintone": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KINTONE_BASE_URL",
        "-e",
        "KINTONE_USERNAME",
        "-e",
        "KINTONE_PASSWORD",
        "ghcr.io/kintone/mcp-server:latest"
      ],
      "cwd": "${cwd}",
      "env": {
        "KINTONE_BASE_URL": "https://example.cybozu.com",
        "KINTONE_USERNAME": "username",
        "KINTONE_PASSWORD": "password"
      }
    }
  }
}

設定

設定オプション一覧
コマンドライン引数環境変数説明必須
--base-urlKINTONE_BASE_URLkintone環境のベースURL(例: https://example.cybozu.com)✓
--usernameKINTONE_USERNAMEkintoneのログインユーザー名※1
--passwordKINTONE_PASSWORDkintoneのログインパスワード※1
--api-tokenKINTONE_API_TOKENAPIトークン(カンマ区切りで最大9個まで指定可能)※1
--basic-auth-usernameKINTONE_BASIC_AUTH_USERNAMEBasic認証のユーザー名-
--basic-auth-passwordKINTONE_BASIC_AUTH_PASSWORDBasic認証のパスワード-
--pfx-file-pathKINTONE_PFX_FILE_PATHPFXファイルのパス(クライアント証明書認証用)-
--pfx-file-passwordKINTONE_PFX_FILE_PASSWORDPFXファイルのパスワード-
--proxyHTTPS_PROXYHTTPSプロキシのURL(例: http://proxy.example.com:8080)-
--attachments-dirKINTONE_ATTACHMENTS_DIRダウンロードしたファイルの保存先-

※1: KINTONE_USERNAME & KINTONE_PASSWORD または KINTONE_API_TOKEN のいずれかが必須

注意事項:

  • クライアント証明書認証を使用する場合、URLのドメインは .s.cybozu.com となります(例: https://example.s.cybozu.com)
  • パスワード認証とAPIトークン認証を同時に指定した場合、パスワード認証が優先されます
  • コマンドライン引数と環境変数を同時に指定した場合、コマンドライン引数が優先されます
  • 詳細な認証設定については 認証設定ガイド を参照してください
プロキシ設定

企業環境などでプロキシサーバーを経由する必要がある場合は、HTTPS_PROXY 環境変数を設定してください。

export HTTPS_PROXY="http://proxy.example.com:8080"

# 認証が必要な場合
export HTTPS_PROXY="http://username:[email protected]:8080"

ツール一覧

ツール名説明
kintone-get-apps複数のアプリ情報を取得
kintone-get-app単一アプリの詳細情報を取得
kintone-get-form-fieldsアプリのフィールド設定を取得
kintone-get-form-layoutアプリのフォームレイアウトを取得
kintone-update-form-fieldsアプリのフィールド設定を更新
kintone-update-form-layoutアプリのフォームレイアウトを更新
kintone-delete-form-fieldsアプリのフィールドを削除
kintone-get-process-managementプロセス管理設定を取得
kintone-get-app-deploy-statusアプリ設定の運用環境への反映状況確認
kintone-get-general-settingsアプリの一般設定を取得
kintone-get-customizationJavaScript / CSSカスタマイズ設定を取得
kintone-add-form-fieldsアプリにフィールドを追加
kintone-get-records複数のレコードを取得
kintone-add-records複数のレコードを追加
kintone-update-records複数のレコードを更新
kintone-delete-records複数のレコードを削除
kintone-update-statuses複数のレコードのステータスを更新
kintone-get-record-commentsレコードのコメントを取得
kintone-add-record-commentレコードにコメントを追加
kintone-add-app動作テスト環境にアプリを作成
kintone-deploy-appアプリ設定を運用環境へ反映
kintone-update-general-settingsアプリの一般設定を変更
kintone-download-file添付ファイルフィールドのファイルを保存
kintone-add-space-from-templateテンプレートからスペースを作成
kintone-update-spaceスペースの設定を更新
kintone-get-spaceスペースの情報を取得
kintone-delete-spaceスペースを削除

ドキュメント

使用上の注意

kintone-download-fileツールの注意点
  • ダウンロードしたファイルは、--attachments-dirまたはKINTONE_ATTACHMENTS_DIRで指定したディレクトリに保存されます。
  • --attachments-dirまたはKINTONE_ATTACHMENTS_DIRを指定しない場合はツール実行時にエラーになります。
  • --attachments-dirまたはKINTONE_ATTACHMENTS_DIRに存在しないディレクトリを指定した場合は、ディレクトリを新規作成してからそこに保存されます。

制限事項

レコード操作の制限
  • 添付ファイルフィールド: レコード登録更新ツールにおいて、添付ファイルフィールドは指定できません
  • 選択フィールド: ユーザー選択フィールド、組織選択フィールド、グループ選択フィールドは、選択肢を設定している場合のみ登録更新が可能です
その他の制限
  • ゲストスペースに非対応: ゲストスペース内のアプリにはアクセスできません

トラブルシューティング

接続エラーになる場合
  • ベースURLが正しいか確認してください(例: https://example.cybozu.com)。
  • プロキシ環境下では、HTTPS_PROXY 環境変数を設定してください。
  • 一時的に接続できない場合は、数分後に再試行してください。
認証エラーになる場合
  • ユーザー名とパスワードが正しいか確認してください。
  • ユーザー名・パスワードとAPIトークンを同時に指定していないか確認してください。
    同時指定された場合は、パスワード認証が優先されます。
  • クライアント証明書を使用している場合、セキュアアクセス用のドメインを使用していることを確認してください(例: .s.cybozu.com など、利用リージョンに応じます)。
権限エラーになる場合
  • 使用しているユーザーまたはAPIトークンに、対象アプリへのアクセス権があるか確認してください。
    (アプリ管理権限やレコード閲覧権限が必要な場合があります)
  • ゲストスペース内のアプリにはアクセスできません。
  • APIトークンを使用している場合、必要な権限(「閲覧」「追加」「編集」「削除」など)が付与されているか確認してください。

サポート方針

kintoneローカルMCPサーバーは、APIサポート窓口の対象外です。

バグ報告・機能要望はIssuesから登録をお願いします。

コントリビューション

Contributing Guide を参照してください。

プライバシー

このMCPサーバーは、kintone REST APIに接続します。
利用地域に応じた公式プライバシーポリシーは、Privacy Policy Reference を参照してください。

ライセンス

Copyright 2025 Cybozu, Inc.

Licensed under the Apache 2.0.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.