
Estevao Mcp
io.github.dodopok由 GitHub 帳號 dodopok 發布v0.3.0更新於 Oct 25, 2026
Anglican liturgical calendar, lectionary and Daily Office (Book of Common Prayer) via Estêvão API
概覽
提供聖公會禮儀資料的 MCP 伺服器:助理可查詢禮儀曆、經課讀經,以及完整編排的日課(公禱書)。
- 可以做什麼
- 查詢某日的禮儀日、節期、顏色、慶節、祝文與讀經,或取得月度曆表與全年節期及移動節慶概況。取得經課讀經及主日(A/B/C)與平日(1/2)循環,並以 markdown 或結構化 JSON 編排完整的日課(晨禱、午禱、晚禱、寢前禱)。搜尋、瀏覽並檢視慶節、聖徒與聖日的詳細資料,包括遷移規則與計算方式。列出可用的公禱書版本與聖經譯本,查看各版本的偏好選項,並並列比較 2 至 4 個版本。說明某日禮儀優先順序、遷移與讀經選擇的理由。
- 適用情境
- 適合讓助理回答聖公會禮儀相關問題,例如下一個主日的讀經、編排當晚的日課,或比較不同公禱書版本對同一天的安排。
- 執行需求
- 可使用託管的遠端端點並透過瀏覽器 OAuth 登入(Google 或電子郵件帳號),或以 npx 執行本機 npm 套件,此時需在 ESTEVAO_API_KEY 提供 Estêvão API 金鑰。選用設定包括 ESTEVAO_BASE_URL、ESTEVAO_DEFAULT_PRAYER_BOOK、ESTEVAO_TIMEZONE 與 ESTEVAO_LANGUAGE。需要能連線至 Estêvão API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Estevao Mcp,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.dodopok%2Festevao-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"estevao": {
"type": "http",
"url": "https://mcp.caminhoanglicano.com.br/mcp"
}
}
}README
estevao-mcp
[npm] [MCP Registry] [License: MIT]
MCP (Model Context Protocol) server for the Estêvão API — the liturgical engine behind the Ordo app. Gives Claude and any MCP client accurate Anglican liturgical data: calendar (with real precedence rules), lectionary readings, and the fully assembled Daily Office across multiple editions of the Book of Common Prayer / Livro de Oração Comum.
Quick start
Hosted (no key to manage) — sign in with your Google/e-mail account when the browser opens:
Other clients: see Connecting any MCP client.
Local (stdio) — you need an Estêvão API key (estevao_…):
Or in .mcp.json / Claude Desktop config:
Then ask things like "what are the readings for next Sunday?", "assemble tonight's Compline" or "compare Christmas in the 1662 and 2019 prayer books".
Tools
Dates accept YYYY-MM-DD, today or next-sunday. Every tool takes an optional prayer_book (default loc_2015); all tools are read-only. Prayer book codes are validated by the API rather than pinned in this server, so editions added upstream work without a release here — list_prayer_books always shows the current catalogue.
Resources & prompts
- Resources:
ordo://prayer-books,ordo://bible-versions,ordo://today, plus templatesordo://day/{date},ordo://explain/{date}(the decision trail),ordo://office/{date}/{office_type}(markdown) andordo://calendar/{year}/key-dates. - Prompts (strictly factual):
build_liturgy_sheet(print-ready boletim),explain_feast(history, precedence, color),explain_why(why this reading/saint/colour, answered from the engine's decision trail rather than inferred),compare_traditions(side-by-side across editions).
Editorial note: this server intentionally exposes only factual liturgical data and faithful document assembly. It does not (and will not) ship prompts that generate sermons, homilies or devotional reflections.
Environment variables
Per-book preferences
The date-scoped tools take a preferences object forwarded to the API, which unlocks the
per-edition options the Ordo app exposes — the Coverdale psalter on the English books
({ "psalm_translation": "coverdale" }), monthly vs appointed psalm cycles, canticle and
opening-sentence choices, family-rite variants. The accepted keys differ per book, so call
get_prayer_book_preferences first rather than guessing.
Languages
Liturgical content always stays in the prayer book's own language (a 1662 office is English, LOC 2015 is Portuguese). Labels generated by the server — office titles, Season/Tempo/Tiempo, comparison headings — automatically follow the book's language, and can be overridden per call (language param) or globally (ESTEVAO_LANGUAGE).
Remote server (Streamable HTTP + OAuth)
The same server runs as a remote MCP endpoint (POST /mcp, stateless Streamable HTTP).
Deployed with OAuth enabled, users connect with a browser sign-in instead of pasting a key:
The client discovers the authorization server, registers itself, opens the consent screen, and the user signs in with the same Google/e-mail account they use in the developer portal. The server then provisions an Estêvão API key for that account, encrypts it at rest and uses it for every upstream call — the user never sees or handles a key, and the client's token is never forwarded upstream.
Auth modes
The mode is chosen by environment, and resolved per request in this order:
- Single-key (personal deployment):
ESTEVAO_API_KEYset on the server. Optionally setESTEVAO_MCP_TOKENto requireAuthorization: Bearer <token>from clients. - API key (unchanged, for existing integrations): the caller sends its own key in
X-API-Key(orAuthorization: Bearer estevao_…). Disable withESTEVAO_MCP_ALLOW_API_KEY_HEADER=false. - OAuth 2.1 (recommended for public deployments): the caller sends an access token issued by this server. Enabled when the OAuth variables below are all set.
OAuth configuration
Setting only some of these is a configuration error and the server refuses to start, rather than silently falling back to key-only mode. The Postgres schema is created on boot.
Same-origin sign-in (required on mobile and Safari)
By default the Firebase Web SDK runs its sign-in helper on <project>.firebaseapp.com, a
different origin from this server. Safari's ITP (16.1+), Firefox and the in-app browsers used
by mobile assistants block the cross-origin round trip that flow needs: the user picks a Google
account and then nothing happens. So this server reverse-proxies /__/auth/* to the Firebase
helper and points the consent screen at its own origin, which is the fix
Firebase documents for it.
Sign-in uses a full-page redirect rather than a popup, for the same reason.
Two one-time console steps make this work:
- Firebase Console → Authentication → Settings → Authorized domains: add the MCP host.
- Google Cloud Console → APIs & Services → Credentials → the Web OAuth 2.0 client used by
Firebase: add
https://<mcp host>/__/auth/handlerto Authorized redirect URIs.
Set MCP_FIREBASE_AUTH_PROXY=false to go back to the stock cross-origin behaviour.
Diagnosing a failed sign-in
Sign-in runs in the user's browser, so a failure there reaches no log by itself. The consent
screen posts beacons to /oauth/diagnostics, which the server writes to stderr:
Only error codes and flags are reported — never tokens or credentials.
Endpoints: /.well-known/oauth-protected-resource (also under /mcp),
/.well-known/oauth-authorization-server, /authorize, /token, /register, /revoke,
and the consent screen at /oauth/consent. GET /healthz reports the active mode.
Security properties: PKCE S256 is mandatory, authorization codes are single-use and expire in
60s, refresh tokens rotate on use, access tokens are opaque and stored only as digests, tokens
are bound to this server's resource identifier (RFC 8707) and rejected otherwise, and the
Estêvão API key is AES-256-GCM encrypted at rest.
Connecting any MCP client
The endpoint is standard Streamable HTTP with OAuth 2.1 discovery, so any spec-compliant client can connect. Concretely:
Interoperability details that make this work across clients:
- Discovery everywhere clients look. Protected resource metadata is served both at the root
and under
/mcp; authorization server metadata is served at/.well-known/oauth-authorization-server, its/mcppath-inserted variant, and both OpenID Connect discovery spellings. - Registration. Dynamic Client Registration (RFC 7591) and Client ID Metadata Documents
are both accepted; clients that pre-register a
client_idwork too. - Client authentication.
none(public clients, the common case) and bothclient_secret_postandclient_secret_basicfor confidential ones. - Scopes. There is one read-only scope,
liturgy:read. Clients that ask for unrelated scopes (openid profile,mcp, or nothing) still get a working connection. - CORS. Preflight is answered and
WWW-Authenticateis exposed, so browser-based clients can read the challenge and start the flow. - Probes. Unauthenticated
GET/DELETEon/mcpreturn the auth challenge rather than a bare 405, so clients that probe before authenticating still discover the flow.
Client config for a key-based deployment
Extra env: PORT (default 3333), ESTEVAO_MCP_ALLOWED_HOSTS (comma-separated; enables
DNS-rebinding protection).
Plugin para Codex, Claude e outros clientes
O repositório inclui um pacote universal em plugins/estevao, com manifests
para Codex e Claude Code e uma configuração MCP compartilhada. O pacote aponta para o servidor
hospedado, então a conexão usa OAuth e não exige copiar uma API key.
Para Claude Code:
Para Codex CLI:
Veja o guia visual de integração no portal do desenvolvedor. O mesmo endpoint funciona em qualquer cliente MCP compatível com Streamable HTTP e OAuth 2.1.
Development
Releasing
The npm version lifecycle hook (scripts/sync-version.ts) keeps server.json in sync and enforces the registry's 100-char description limit. The server's advertised MCP version comes from package.json at build time.
server.json lists both the hosted endpoint (remotes) and the npm package (packages), so
registry clients can pick either. Keep the hosted URL in step with the actual deployment.
Alternatively, once GitHub Actions is available with the NPM_TOKEN secret, git push --follow-tags alone triggers the release workflow (npm with provenance + MCP registry via GitHub OIDC).
License
MIT
來源:README.md,提交 589268c
工具
0版本歷史
1- v0.3.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分