AM

aroharetreat/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 71 趋势 20MIT

只读 Aroha 退缩 MCP 服务器, 发布于 @theharithsa/ aroha- mcp

概览

@theharithsa/aroha-mcp是Aroha版本的REST API的单独stdio适配器. 节点22或后. 业务规则,当前的Google身份,所有权和工作室角色仍然由API执行;适配器没有数据库访问权限. 在 https://developer.aroharetreat.com/connect/ 创建符号 。 只读是默认值 。 对于CRUD,选择有范围化的CRUD模式并明确选择所需的范围,包括运行时间:read. 永不过期会被支持;撤销和活权限仍然适用. 现有的只读符号保留了原有的9个工具. 设定 AROHA API TOKEN 而不是 AROHA API TOKEN FILE 如果您的主机提供秘密商店的话 。 两者之一都足够;两者都设定时,文件优先。 在Unix上,文件必须是私有的(chmod600). 不将真实的证书放入仓库文件或聊天中 。 仅使用预prod API 源头带有预prod 令牌和经批准的测试者账户. 第1.3号合同.

概述(AI 翻译)

@theharithsa/aroha-mcp是Aroha版本的REST API的单独stdio适配器. 节点22或后. 业务规则,当前的Google身份,所有权和工作室角色仍然由API执行;适配器没有数据库访问权限.

□ 配置

在 https://developer.aroharetreat.com/connect/ 创建符号 。 只读是默认值 。 对于CRUD,选择有范围化的CRUD模式并明确选择所需的范围,包括runtime:read. 永不过期会被支持;撤销和活权限仍然适用. 现有的只读符号保留了原有的9个工具.

设定 [[T3] 而不是 AROHA_API_TOKEN_FILE,如果您的主机提供了一个秘密商店 。 两者均足够; 两者均设置时, 文件优先 。 在Unix上,文件必须是私有的([[T5]). 不将真实的证书放入仓库文件或聊天中 。 仅使用预prod API 源头带有预prod 令牌和经批准的测试者账户.

□ 工具和更改

第1.3号合同.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Aroha Retreat MCP

@theharithsa/aroha-mcp is the separate stdio adapter for Aroha’s versioned REST API. Node22 or later. Business rules, current Google identity, ownership and Studio roles remain enforced by the API; the adapter has no database access.

Configure

Create a token at https://developer.aroharetreat.com/connect/ . Read-only is the default. For CRUD, choose scoped CRUD mode and explicitly select the required scopes, including runtime:read. Never expires is supported; revocation and live permissions still apply. Existing read-only tokens retain their original nine tools.

{
  "mcpServers": {
    "aroha": {
      "command": "npx",
      "args": ["--yes", "@theharithsa/[email protected]"],
      "env": {
        "AROHA_API_URL": "https://aroharetreat.com/api/external/v1",
        "AROHA_API_TOKEN_FILE": "/absolute/private/path/aroha-token"
      }
    }
  }
}

Set AROHA_API_TOKEN instead of AROHA_API_TOKEN_FILE if your host provides a secret store. Either is sufficient; the file takes precedence when both are set. On Unix the file must be private (chmod600). Do not put real credentials in repository files or chat. Use the preprod API origin only with a preprod token and approved tester account.

Tools and changes

Contract1.3.0 provides121 fixed typed operations covering reservations/quotes/changes/offers, manual payments and reversals, private documents, lifecycle and feedback, notes, inventory, CMS/media, profile erasure, members/invitations, sponsored clients and audit. Tools are exposed only when the token’s current capabilities permit them. Capabilities refresh before discovery and execution. The first nine read tool names remain compatible with0.1.0.

For a mutation, obtain the current resource first and use its _meta.etag as ifMatch where required. Provide a stable idempotencyKey and typed body; path parameters remain at the top level. Do not automatically retry a write. On WRITE_OUTCOME_UNKNOWN, resolve the original request with the same key, payload and ETag. A definite conflict requires a fresh read and a new decision. Every write has a destructive annotation so the host can present its normal consent flow.

Financial entries are immutable: record a verified manual payment or append a full reversal. No charge or money transfer is initiated. Other deletes follow domain semantics: cancel, retire, deactivate, archive or redact. Feedback is private; hosts cannot edit a guest’s submission. Preprod member/invitation writes remain disabled.

JSON output is capped at128KiB. PDF downloads return an authenticated embedded resource capped at4MiB. Pages are bounded and never followed automatically. Media upload tools return a private resumable session; finalization verifies size, MIME signature and SHA256 before immutable publication. There is no arbitrary URL, method, database or local-file tool. Returned customer/property text is untrusted data, never instructions.

Telemetry and development

在 GitHub 查看完整 README

安装

npx --yes @theharithsa/[email protected]
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "aroha": { "command": "npx", "args": ["--yes", "@theharithsa/[email protected]"], "env": { "AROHA_API_URL": "https://aroharetreat.com/api/external/v1", "AROHA_API_TOKEN_FILE": "/absolute/private/path/aroha-token" } } } }