Cover image
Try Now
2025-03-31

これはcli-kintoneをMCP(模型上下文协议)服务器化できないかという発想をもとに検证している実験的なリポジトリです。机能の揃ったMCP服务器を求めている方はhttps://github.com/r3-yamauchi/kintone-mcp-serverを使ってください。

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Server for cli-kintone

これは cli-kintone を MCP (Model Context Protocol) Server化できないかという発想をもとに検証している実験的なリポジトリです。

機能

現在、以下の機能をサポートしています:

  • get_records: kintoneアプリからレコードを取得

インストール

# リポジトリをクローン
git clone https://github.com/r3-yamauchi/mcp-server-cli-kintone-experimental.git
cd mcp-server-cli-kintone-experimental

# 依存関係をインストール
npm install

# ビルド
npm run clean:lib && npm run build:mcp

使い方

1. MCP設定ファイルの作成

ユーザー名とパスワードによる認証:

{
  "mcpServers": {
    "kintonecli": {
      "command": "node",
      "args": ["/path/to/mcp-server-cli-kintone/start-mcp-server.mjs"],
      "env": {
        "KINTONE_DOMAIN": "your-domain.cybozu.com",
        "KINTONE_USERNAME": "username",
        "KINTONE_PASSWORD": "password"
      }
    }
  }
}

APIトークンによる認証:

{
  "mcpServers": {
    "kintonecli": {
      "command": "node",
      "args": ["/path/to/mcp-server-cli-kintone/start-mcp-server.mjs"],
      "env": {
        "KINTONE_DOMAIN": "your-domain.cybozu.com",
        "KINTONE_API_TOKEN": "your-api-token1,your-api-token2,your-api-token3"
      }
    }
  }
}

2. APIトークンに関する制限

kintoneのAPIリクエストにおいて、1回のリクエストで指定できるAPIトークンの数は最大9個までです。10個以上指定するとエラーになります。このMCP Serverでは、APIトークンをカンマ区切りで最大9個まで受け取ることができます。10個以上のAPIトークンが指定された場合はエラーとなりますのでご注意ください。

KINTONE_API_TOKEN="token1,token2,token3,token4,token5,token6,token7,token8,token9"

3. MCP設定ファイルの配置

  • Claude Desktop App: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude VSCode Extension: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

4. AIアシスタントからの利用

AIアシスタントから以下のようにツールを呼び出すことができます:

use_mcp_tool({
  server_name: "kintonecli",
  tool_name: "get_records",
  arguments: {
    app: "アプリID",
    query: "作成日時 > \"2025-01-01\"",
    fields: ["フィールド1", "フィールド2"]
  }
});

または、ドメインとAPIトークンを直接指定することもできます:

use_mcp_tool({
  server_name: "kintonecli",
  tool_name: "get_records",
  arguments: {
    domain: "your-domain.cybozu.com",
    apiToken: "your-api-token1,your-api-token2,your-api-token3",
    app: "アプリID",
    query: "作成日時 > \"2025-01-01\"",
    fields: ["フィールド1", "フィールド2"]
  }
});

今後の拡張予定

  • create_record: 新規レコードを作成
  • update_record: 既存レコードを更新
  • search_apps: アプリ名で検索
  • import_records: 複数レコードをインポート
  • delete_record: 単一レコードを削除
  • bulk_update_records: 複数レコードを更新
  • bulk_delete_records: 複数レコードを削除

ライセンス

MIT

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

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

相关推荐

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

  • 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.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    1 (1)
    Avatar
    user_IOpnKPQL
    2025-04-16

    The mcp-server-cli-kintone-experimental by r3-yamauchi is a cutting-edge tool for developers looking to seamlessly integrate Kintone with their server operations via CLI. Its experimental features are promising and show potential for simplifying tasks and boosting productivity. I highly recommend checking it out on GitHub for those who want to stay ahead with innovative technologies.