Novacal Mcp Server

io.github.ste7由 GitHub 帳號 ste7 發布v0.1.0更新於 Oct 25, 2026

Manage Novacal event types, availability, and bookings.

已驗證Streamable HTTP可網頁執行效率與工作流溝通與協作

概覽

AI 產生的概覽

遠端 Novacal MCP 伺服器,讓 AI 助理列出活動類型、查詢可用時段,並預訂、改期或取消會議。

可以做什麼
列出與取得活動類型,可依個人或團隊範圍篩選,並建立新的活動類型(名稱、slug、時長、顏色等)。依日期範圍與時區查詢某活動類型的空閒時段。列出帳戶中的活動。預訂新活動,可填寫開始、結束、時區、地點與表單答案。改期或取消未來的活動,取消時可附原因。
適用情境
適合在 Novacal 管理行程、希望助理直接回答可用時段、建議時間,或建立、調整、取消會議而不必開啟 Novacal 介面的情境。
執行需求
遠端 Streamable HTTP 端點 mcp.novacal.io/mcp,需以 HTTP MCP 伺服器或自訂連接器加入。首次連線需 OAuth 登入並貼上 Novacal API 金鑰,伺服器會向帳戶驗證該金鑰。託管服務不需本機執行環境。
安裝前請注意
OAuth 過程中需提供 Novacal API 金鑰;金鑰會加密存入工作階段,但在用戶端移除連線並不會撤銷金鑰,需在 Novacal 輪換金鑰才能切斷存取。伺服器可建立活動類型並預訂、改期或取消活動,會更動真實行事曆資料;取消操作標示為破壞性,用戶端可能先詢問確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Novacal Mcp Server,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ste7%2Fnovacal-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "novacal": {
      "type": "http",
      "url": "https://mcp.novacal.io/mcp"
    }
  }
}

README

[Novacal MCP Server]

[CI status] [Transport: Streamable HTTP] [Tools: 8] [Deploys to Cloudflare Workers] [Last commit]

A remote MCP server for Novacal. It gives your AI client eight tools to read your event types, check availability, and book, reschedule, or cancel meetings.

It runs as a single Cloudflare Worker and speaks Streamable HTTP. You connect once with OAuth, paste your Novacal API key, and your client keeps working from there.


Connect

The hosted server is at https://mcp.novacal.io/mcp.

Claude Code

bash
claude mcp add --transport http novacal https://mcp.novacal.io/mcp

Cursor, Windsurf, or any client with an MCP config file

json
{  "mcpServers": {    "novacal": {      "type": "http",      "url": "https://mcp.novacal.io/mcp"    }  }}

Claude Desktop and claude.ai

Add a custom connector and paste the same URL.

On first connect your client opens the sign-in page. Paste your Novacal API key and press Connect. That is the whole setup.


Tools

ToolWhat it doesArguments
novacal_get_event_typesList event types on the accountscope (personal or team, optional)
novacal_get_event_typeFetch one event typeid
novacal_create_event_typeCreate an event typename, slug, type, duration, hidden_from_profile, color + 10 optional fields
novacal_get_availabilityFree slots for an event type in a date rangeevent_type_id, start, end, timezone (optional)
novacal_get_eventsList events on the accountnone
novacal_create_eventBook an eventevent_type_id, start, end, timezone, time_format, location and form_field_answers (optional)
novacal_cancel_eventCancel a future eventid, cancellation_reason (optional)
novacal_reschedule_eventMove a future eventid, start, end, timezone, time_format, user_role and form_field_answers (optional)

Read tools are marked read-only and idempotent. novacal_cancel_event is marked destructive, so clients that ask before destructive calls will ask.

Event type scope

novacal_get_event_types takes an optional scope:

json
{ "scope": "personal" }

Use personal for your own event types and team for team event types. Leave it out to get both. The server tells the model to prefer personal unless you ask for a team event type.

Availability date ranges

start and end are plain YYYY-MM-DD dates. The range is start-inclusive and end-exclusive:

txt
[start 00:00, end 00:00)

For a single day, pass the next day as end:

json
{  "event_type_id": 123,  "start": "2026-05-29",  "end": "2026-05-30",  "timezone": "Europe/Amsterdam"}

That returns availability for May 29, 2026. Passing the same date for start and end is an empty range and returns nothing.

Timezones

timezone takes an IANA name such as Europe/Amsterdam, America/New_York, or Asia/Tokyo. It defaults to UTC when omitted.

On connect the server reads your Novacal profile timezone and puts it in the server instructions. So the model reads relative dates in your timezone and shows times in your timezone, unless you ask for another one.


How auth works

  1. Your client starts an OAuth flow against the Worker.
  2. The Worker serves /authorize and asks for your Novacal API key.
  3. It verifies the key with GET /v1/users/me.
  4. It encrypts the key into the OAuth session props and completes the flow.

The key is only recoverable with your access token. It is never written to storage in readable form, never echoed back into the page, and is kept out of the grant metadata, which is stored unencrypted.

Removing the connection in your client does not revoke the key. To cut off access, rotate the key in Novacal.


Local development

You need Node 20+ and a Cloudflare account for deploys.

bash
npm installnpm run dev
EndpointURL
MCPhttp://127.0.0.1:8787/mcp
Sign-in pagehttp://127.0.0.1:8787/authorize
Health checkhttp://127.0.0.1:8787/health

npm run dev uses the dev Wrangler environment. It simulates KV and D1 locally and points at a Novacal API on http://localhost:8010, so it never touches production resources.

To poke at the tools by hand:

bash
npx @modelcontextprotocol/inspector

Checks

bash
npm run check    # tsc --noEmitnpm run lint     # biome checknpm run format   # biome check --writenpm test         # vitest run

CI runs check, lint, and test on Node 20 for every push and pull request.


Deploy

Create the Cloudflare resources once:

bash
npx wrangler kv namespace create OAUTH_KVnpx wrangler d1 create novacal-mcp-server-db

Copy the returned IDs into wrangler.toml under OAUTH_KV and DB, then apply the schema:

bash
npx wrangler d1 execute novacal-mcp-server-db --remote --file=./migrations/0001_user_credentials.sql

Deploy the production environment:

bash
npm run deploy

Note: the user_credentials table is legacy. Credentials now live in the encrypted OAuth session and nothing reads or writes this table. It and the DB binding stay only so existing deployments keep validating.

Configuration

NameTypeValue
NOVACAL_API_BASE_URLvarhttps://api.novacal.io in production, http://localhost:8010 in dev
OAUTH_KVKV namespaceOAuth client, grant, and token storage
DBD1 databaselegacy, unused

How it is put together

txt
src/├── index.ts            OAuthProvider wiring, /authorize, metadata routes├── auth.ts             API key verification and the sign-in page├── mcp.ts              tool registration and server instructions├── api.ts              Novacal HTTP client, UpstreamApiError, 30s timeout├── responses.ts        okResult / failedResult envelopes├── types.ts            Env, session props, Novacal types└── handlers/    ├── event-types.ts  list, get, create    ├── events.ts       list, create, cancel, reschedule    └── availability.ts availability lookup

Handlers are plain async functions with no MCP imports, so they are easy to test on their own. Every tool wraps its handler in a try/catch and returns an isError result instead of throwing. Failures reach the model as a short hint, not a raw JSON dump:

txt
401 — Novacal API key is invalid or revoked. Re-authorize at /authorize.429 — Rate limited by the Novacal API. Wait a moment before retrying.

Calls to the Novacal API time out after 30 seconds.

Public routes

RoutePurpose
GET /server name and status
GET /healthhealth check
GET /.well-known/oauth-protected-resourceRFC 9728 metadata, with /mcp suffix variant
GET POST /authorizesign-in page and form post
POST /token, POST /registerhandled by OAuthProvider
POST /mcpthe MCP endpoint, requires a bearer token

Links

來源:README.md,提交 0b0b457

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。