MCP Server for cli-kintone

MCP Server for cli-kintone

site icon
2025.04.14 0
TypeScriptkintone 集成数据查询开发效率
mcp-server-cli-kintone-experimental 是一个实验性的 MCP (Model Context Protocol) Server,旨在将 cli-kintone 工具 MCP 化。它目前支持从 kintone 应用程序获取记录的功能,并计划在未来扩展更多功能,如创建、更新、删除记录等。
View on GitHub

Overview

基本能力

产品定位

mcp-server-cli-kintone-experimental 是一个实验性的 MCP Server,旨在将 cli-kintone 工具 MCP 化,使其能够通过 MCP 协议与 AI 助手交互。

核心功能

  • get_records: 从 kintone 应用程序获取记录

适用场景

  • 通过 AI 助手查询 kintone 应用程序中的记录
  • 自动化处理 kintone 数据

工具列表

  • get_records: 从指定的 kintone 应用程序中获取记录,支持通过应用 ID、查询条件和字段列表进行筛选。

常见问题解答

  • API 令牌限制: 一次请求中最多只能指定 9 个 API 令牌,超过会导致错误。
  • 支持问题: 该项目仅提供信息,不提供个别支持。

使用教程

使用依赖

# 克隆仓库
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 配置文件,配置 kintone 域名和认证信息(用户名/密码或 API 令牌)
  2. 将配置文件放置在指定位置:
  3. Claude Desktop App: ~/Library/Application Support/Claude/claude_desktop_config.json
  4. Claude VSCode Extension: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  5. 通过 AI 助手调用工具,示例: javascript use_mcp_tool({ server_name: "kintonecli", tool_name: "get_records", arguments: { app: "アプリID", query: "作成日時 > \"2025-01-01\"", fields: ["フィールド1", "フィールド2"] } });

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。