Cover image
Try Now
2025-04-12

Servidor MCP para kintonehttps: //www.r3it.com/blog/kintone-mcp-server-20250115-yamauchi

3 years

Works with Finder

1

Github Watches

6

Github Forks

4

Github Stars

MCP server for kintone サンプル

これは kintone との連携目的で使用できる Model Context Protocol (MCP) サーバーの簡易なサンプルです。 生成AIを用いて自動作成したものを現状有姿で提供します。

この MCP server を使うと Claude Desktopアプリから kintoneデータへアクセス・更新できます。

クライアントとして Claudeデスクトップアプリを使用する場合は Claude Pro プランのサブスクリプションが必要です。 Windsurf や CLINE で使用することもできます。

kintone Server MCP server

使い方

1. ソースコードをダウンロードする

ダウンロード先はどこでも構いませんが、半角英数のみで構成される、あいだにスペースを含まないパスに入れるのが良いと思います。

2. Node.jsをインストールする

Node.js 18 以降を使用してください。

3. npm installする

npm i

4. Claude Desktopアプリの設定ファイルを編集する

claude_desktop_config.json という設定ファイルを探して、以下を参考に、このファイルの "mcpServers" の項に設定を追加してください。

{
  "mcpServers": {
    "kintone": {
      "command": "node",
      "env": {
        "KINTONE_DOMAIN": "[あなたが使用するサブドメイン].cybozu.com",
        "KINTONE_USERNAME": "MCP接続で使用するkintoneユーザー名",
        "KINTONE_PASSWORD": "kintoneユーザーのパスワード(平文)"
      },
      "args": [
        "[kintone-mcp-serverを配置したパス]/server.js"
      ]
    }
  }
}

5. Claude Desktopアプリを再起動する

claude_desktop_config.json への変更を保存したのち、Claude Desktopアプリを一度終了させて再起動してください。 アプリを終了させたように見えても常駐したまま残っている場合があるため、常駐アイコンを右クリックしてQuitしてください。

6. 動作確認

まずは Claude に "kintoneアプリ「設定したkintoneユーザーでアクセス出来るアプリ名の一例」のアプリIDを調べて" と尋ねてみてください。 ここで入力するkintoneアプリ名は一言一句正確に指定する必要があります。

7. この MCP server が提供している機能の一覧

各ツールのアノテーション属性については docs/tool-annotations.md を参照してください。

レコード操作

  • get_record: kintoneアプリの1レコードを取得
  • search_records: kintoneアプリのレコードを検索
  • create_record: kintoneアプリに新しいレコードを作成
  • update_record: kintoneアプリの既存レコードを更新
  • add_record_comment: kintoneレコードにコメントを追加

ファイル操作

  • upload_file: kintoneにファイルをアップロード
  • download_file: kintoneからファイルをダウンロード(注意: 現在の実装では1MB以上のファイルは正常にダウンロードできない場合があります)

アプリ情報

  • get_apps_info: 検索キーワードを指定して該当する複数のkintoneアプリの情報を取得
  • get_form_layout: kintoneアプリのフォームレイアウトを取得

アプリ操作

  • create_app: kintoneアプリの新規作成
  • add_fields: kintoneアプリへのフィールド追加
  • update_field: 既存のkintoneフィールドの設定を更新
  • update_form_layout: kintoneアプリのフォームレイアウトを変更
  • update_app_settings: アプリの一般設定を変更
  • deploy_app: kintoneアプリの本番運用開始(運用環境へ反映)
  • get_deploy_status: アプリ設定の運用環境への反映状況を確認する
  • move_app_to_space: kintoneアプリを指定したスペースに移動
  • move_app_from_space: kintoneアプリをスペースに所属させないようにする

スペース操作

  • get_space: スペースの一般情報を取得
  • update_space: スペースの設定を更新
  • update_space_body: スペースの本文を更新
  • get_space_members: スペースメンバーのリストを取得
  • update_space_members: スペースメンバーを更新
  • add_thread: スペースにスレッドを追加
  • update_thread: スレッドを更新
  • add_thread_comment: スレッドにコメントを追加
  • add_guests: ゲストユーザーを追加
  • update_space_guests: スペースのゲストメンバーを更新

ユーザー・グループ情報

  • get_users: kintoneのユーザー情報を取得
  • get_groups: kintoneのグループ情報を取得
  • get_group_users: 指定したグループに所属するユーザーの一覧を取得

kintone接続情報

  • get_kintone_domain: kintoneの接続先ドメインを取得
  • get_kintone_username: kintoneへの接続に使用されるユーザー名を取得

8. その他

その他に、この MCP server を使用してどういったことが出来るか ブログ に書いたので読んでみてください。

他にも kintone用の MCP server を公開されている方がおられますので、参考にしながらご自身でオリジナルの MCP server を作ってみるのも良いかもしれません。

「kintone」はサイボウズ株式会社の登録商標です。

ここに記載している内容は情報提供を目的としており、個別のサポートはできません。 設定内容についてのご質問やご自身の環境で動作しないといったお問い合わせをいただいても対応はできませんので、ご了承ください。

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Jan Meindl
  • Builds new GPTs

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

    Reviews

    4 (1)
    Avatar
    user_CilJSBPS
    2025-04-16

    I've been using the kintone-mcp-server by r3-yamauchi and it's an outstanding tool for managing and automating kintone workflows. The setup is straightforward, and it integrates seamlessly into my existing processes. The documentation is comprehensive, ensuring that even those new to MCP applications can get it running efficiently. Highly recommend it for anyone looking to enhance their kintone experience.