kintone MCP Server (Remote Ver)
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
kintone MCP Server (Remote Ver)
kintone公式MCPサーバーをリモートで動かせるようにラップしたMCP (Model Context Protocol)サーバーです。
主な機能
公式MCPサーバーの全機能をそのまま利用できます。
ローカルではなくサーバー上で動かすので、大人数で利用するのに便利です。
各利用者が自分のアカウントでログインして利用できます。
未対応の機能
2要素認証、APIトークン、Basic認証、クライアント証明書、などには対応していません。ID+パスワード認証でのみ利用できます。
添付ファイルのダウンロードには対応していません。
使い方
サーバーを起動する
環境変数
変数名 | 必須 | 説明 |
| はい | トークン暗号化用の秘密鍵(base64エンコードされた32バイト) |
| いいえ | 待ち受けポート番号(デフォルト: |
| いいえ | ログレベル: |
| いいえ | セッション(トークン)の有効期間(時間単位、デフォルト: |
| いいえ |
|
秘密鍵は以下のコマンドで生成できます。
openssl rand -base64 32Node.jsを使う場合
Node.js 22以上が必要です。
git clone https://github.com/macrat/remote-kintone-mcp-server.git
cd remote-kintone-mcp-server
npm install
npm run build
JWE_SECRET_KEY="生成した秘密鍵" npm start開発時は npm run dev でファイル変更時に自動リロードされます。
この場合、.env ファイルに環境変数を記述しておくと便利です。
Dockerを使う場合
docker run -p 3000:3000 -e JWE_SECRET_KEY="生成した秘密鍵" ghcr.io/macrat/remote-kintone-mcp-serverHTTPSについて
ログイン情報がネットワーク上を流れるため、リバースプロキシ等でHTTPSを設定することを強く推奨します。
クライアントを設定する
Claude Desktopの場合
設定ファイル claude_desktop_config.json に以下を追加します。
OS | パス |
macOS |
|
Windows |
|
Linux |
|
{
"mcpServers": {
"kintone": {
"type": "url",
"url": "https://your-server-address:3000/mcp"
}
}
}Claude Codeの場合
以下のコマンドで設定できます。
claude mcp add --transport http kintone https://your-server-address:3000/mcp--scope オプションで設定の保存先を変更できます。
スコープ | 説明 |
| 現在のプロジェクトのみで利用(デフォルト) |
|
|
| 全プロジェクトで利用できる個人設定 |
設定ファイルに直接書く場合は、プロジェクトルートの .mcp.json に以下のように記述します。
{
"mcpServers": {
"kintone": {
"type": "http",
"url": "https://your-server-address:3000/mcp"
}
}
}初回接続時の認証
初回接続時にブラウザが開き、ログイン画面が表示されます。
kintoneのサブドメイン(例: example と入力すると https://example.cybozu.com に接続)・ログインID・パスワードを入力すると認証が完了し、MCPサーバーが利用可能になります。
認証トークンの有効期限はデフォルトで24時間です(環境変数 SESSION_EXPIRY_HOURS で変更可能)。期限が切れた場合は再度ログインが必要です。
Related MCP server: lighthouse-mcp-oauth
仕組み
このMCPサーバーは、Streamable HTTP方式のリモートMCPサーバーとして動作します。 内部では公式MCPサーバーのツール実装をライブラリとして利用し、kintone REST APIを呼び出しています。
ログイン情報の取得にはOAuth 2.1準拠の認証フローを実装しており、ユーザー本人にブラウザ上で入力してもらいます。 入力されたログイン情報はJWE形式で暗号化され、アクセストークンとしてクライアントに渡されます。 MCPリクエストを受け取ると、トークンを復号してログイン情報を取り出し、kintone APIへのリクエストに使用します。
sequenceDiagram
actor ユーザー
participant クライアント
participant このMCPサーバー
participant kintone
Note over クライアント, このMCPサーバー: OAuth 2.1 認証フロー
クライアント ->> このMCPサーバー: GET /.well-known/oauth-authorization-server
このMCPサーバー -->> クライアント: サーバーメタデータ
クライアント ->> このMCPサーバー: POST /register(リダイレクトURIを登録)
このMCPサーバー -->> クライアント: client_id, client_secret
クライアント ->> このMCPサーバー: GET /authorize(PKCE: code_challenge付き)
このMCPサーバー -->> クライアント: ログインフォームHTML
クライアント ->> ユーザー: ブラウザでログイン画面を表示
ユーザー ->> このMCPサーバー: POST /authorize(kintoneのURL・ID・パスワードを送信)
このMCPサーバー ->> このMCPサーバー: 認証情報をJWEで暗号化し、認可コードを発行
このMCPサーバー -->> ユーザー: 302リダイレクト(認可コード付き)
ユーザー ->> クライアント: リダイレクトにより認可コードを受け取る
クライアント ->> このMCPサーバー: POST /token(認可コード + PKCE: code_verifier)
このMCPサーバー ->> このMCPサーバー: PKCEを検証し、認可コードを消費
このMCPサーバー -->> クライアント: access_token(JWE形式)
Note over クライアント, kintone: MCP通信(Streamable HTTP)
loop ツール呼び出しごと
クライアント ->> このMCPサーバー: POST /mcp(Bearer トークン付き)
このMCPサーバー ->> このMCPサーバー: JWEトークンを復号して認証情報を取得
このMCPサーバー ->> kintone: REST APIを呼び出し<br>(公式MCPサーバーのコードを利用)
kintone -->> このMCPサーバー: APIレスポンス
このMCPサーバー -->> クライアント: ツール実行結果
end暗号化されてはいますが、ログインID/パスワードがMCPクライアントに保存されることに注意してください。 信頼しているクライアントでのみ利用することをおすすめします。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial remote MCP server for Less Annoying CRM: OAuth 2.1, read-only grants, 10 tools.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Hosted Airtable MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables deploying a Model Context Protocol (MCP) server on Cloudflare Workers with built-in OAuth authentication. It allows local clients like Claude Desktop to securely connect to and use remote tools through an HTTP/SSE transport.-
- FlicenseNot gradedqualityDmaintenanceEnables Claude.ai to connect to a Hermes MCP server via OAuth 2.1 authorization code flow with PKCE, acting as a reverse proxy and single-user authorization gateway.-
- AlicenseBqualityCmaintenanceA lightweight OpenAPI proxy MCP server that turns any openapi.yaml into MCP tools with zero code, including a built-in OAuth 2.1 server for Claude.ai Web connection.46 npm4MIT
- FlicenseNot gradedqualityDmaintenanceProvides a production-oriented MCP server exposing tools, resources, and prompts over Streamable HTTP with JWT authentication and per-tool RBAC, enabling Amazon Bedrock Claude clients to securely invoke MCP capabilities.-