MCP.so
ログイン

cal2prompt MCP Server

@shuntaka9576

基本情報

カテゴリ

生産性

ライセンス

MIT

トランスポート

stdio

作者

shuntaka9576

cal2prompt MCP Server について

✨ Fetches your schedule (Google Calendar) and outputs it as a single LLM prompt, with an optional MCP server mode.

cal2prompt MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

cal2prompt MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is cal2prompt?

cal2prompt is a command-line tool that fetches your schedule (e.g., from Google Calendar) and converts it into a custom prompt or text snippet via a Jinja2 template engine. It can output directly to stdout, or run as an experimental MCP (Model Context Protocol) server.

How to use cal2prompt?

Install via brew install shuntaka9576/tap/cal2prompt or build from source with Cargo. Set up a Google OAuth2 client, create Lua configuration files (~/.config/cal2prompt/config.lua and secrets.lua), then run cal2prompt with date‑range flags (e.g., --today, --this-week) or use the mcp subcommand to launch the experimental MCP server.

Key features of cal2prompt

  • Google Calendar integration via Calendar API v3
  • Custom LLM prompt generation with a Jinja2 template engine
  • High‑speed processing built with the Rust ecosystem
  • Experimental MCP (Model Context Protocol) server mode

Use cases of cal2prompt

  • Generate a daily or weekly schedule summary as a prompt for an AI assistant
  • Feed live calendar events into an LLM via the MCP server (e.g., Claude Desktop)
  • Produce custom‑formatted text snippets for time‑blocking or status reports
  • Combine multiple Google Calendars into a single chronological overview

よくある質問

1

How does authentication work?

cal2prompt uses Google OAuth2. You must create your own Google project and OAuth client; the generated token is stored in `~/.local/share/cal2prompt/oauth`. The first run automatically starts the authentication flow.

2

What configuration format does cal2prompt use?

Configuration is written in Lua using two files: `secrets.lua` for sensitive data (client ID, client secret, calendar IDs) and `config.lua` for the main setup (time zone, template, etc.).

3

How can I use cal2prompt as an MCP server with Claude Desktop?

Add a `mcpServers` entry in `claude_desktop_config.json` specifying the full path to the `cal2prompt` binary and the `mcp` argument, plus the `HOME` environment variable.

4

Are there any known limitations?

The MCP mode is experimental and may change without notice. You must supply your own Google Calendar API token; the project owner cannot provide a pre‑approved client due to security and approval constraints.

5

Where are OAuth tokens stored?

Tokens are stored in the file defined by the `settings.oauthFilePath` configuration option, defaulting to `~/.local/share/cal2prompt/oauth`.

コメント

「生産性」の他のコンテンツ