关于 tollbooth-authority-newengland
tollbooth-authority-newengland 是面向新英格兰 DPYC 运营方的次区域认证服务,隶属 North America Authority。它沿用 Tollbooth Authority 的共享实现,并使用自己的身份和 Neon 区域。
主要功能
- 01次区域运营方认证
- 02以 North America 为上级 Authority
- 03支持三级 Authority 链
- 04共享 tollbooth-dpyc Authority 工具
- 05使用俄亥俄区域的 Neon 租户
适用场景
- 01认证服务新英格兰用户的运营方
- 02将入驻审批转交 North America
- 03在区域 Neon 租户中保存认证记录
MCP 相关
通过 FastMCP 服务向 MCP 客户端提供共享的 Tollbooth Authority 工具。入驻审批依据注册表数据转交给其上级 Authority。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://tollbooth-authority-newengland.fastmcp.app/mcpclaude mcp add --transport http lonniev-tollbooth-authority-newengland https://tollbooth-authority-newengland.fastmcp.app/mcp{"mcpServers":{"lonniev-tollbooth-authority-newengland":{"type":"http","url":"https://tollbooth-authority-newengland.fastmcp.app/mcp"}}}在 Cursor 中打开{"servers":{"lonniev-tollbooth-authority-newengland":{"type":"http","url":"https://tollbooth-authority-newengland.fastmcp.app/mcp"}}}在 VS Code 中打开{"mcpServers":{"lonniev-tollbooth-authority-newengland":{"type":"http","url":"https://tollbooth-authority-newengland.fastmcp.app/mcp"}}}{"mcpServers":{"lonniev-tollbooth-authority-newengland":{"serverUrl":"https://tollbooth-authority-newengland.fastmcp.app/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
70| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| npub | string | 是 | 要查询余额的 Nostr 公钥(npub1...)。 |
| dpop_token | string | 是 | 证明调用方持有 npub 的凭据:来自 receive_npub_proof 的授权信封,或由 npub 签名的 kind-27235 Nostr 事件原始 JSON,其中 `u` 标签的值为此工具的名称。 |
详细介绍
新英格兰 Tollbooth Authority
北美入口匝道上的新英格兰出口。
身份:
npub157hmysd6sw7m8kkldycnnc74mssxp9nweddk2p5sw9l2nktr950qyxrenn上级:tollbooth-authority-northamerica(npub1zummm…xd2t) 服务:https://tollbooth-authority-newengland.fastmcp.app/mcpNeon 区域:aws-us-east-2(俄亥俄州)
由 NorthAmerica 认证的次区域 Authority。这是 DPYC 生态系统中首个三级 Authority 链(Prime → NorthAmerica → NewEngland);服务新英格兰用户的运营者可以选择 NE,以便在协议允许的范围内,让认证延迟和审计记录尽可能本地化。
本项目中的隐喻取材于 Norton Juster 著、Jules Feiffer 绘(1961)的 The Phantom Tollbooth,我们对此满怀敬意。我们只是构建了支付基础设施。
架构
本仓库是 tollbooth-dpyc wheel 的 tollbooth.authority 扩展(wheel ≥ 0.22.1)的轻量使用方。整个可部署部分都位于 src/tollbooth_authority/server.py(约 90 行):一个 FastMCP 实例、一个 OperatorRuntime,以及两次 register_*_tools(mcp, runtime) 调用。入门状态机、Schnorr 签名器、重放跟踪器、Neon 租户配置,以及 Authority 的 @tool 定义都包含在 wheel 中,并与生态系统中的其他 Authority MCP 共用。
NE 最初于 2026 年 5 月 16 日从 tollbooth-authority 搭建而来,但现在已不再是其分支——wheel v0.22.0 将所有共享模块整合到了 tollbooth.authority.* 中。现在这两个仓库是同一 mixin 的独立轻量使用方,仅身份、区域和 Neon 租户不同。
关于协议语义、证书格式、费用级联和工具目录,请参阅规范性 tollbooth-authority README。
入门链说明
NE 的入门流程(confirm_authority_claim → check_authority_approval)会逐级请求 NorthAmerica,而非 Prime——wheel 的 resolve_my_parent_npub 会从 dpyc-community 注册表读取 NE 自身的 upstream_authority_npub,并将审批 DM 路由到该地址。三级链对协议是透明的;注册表是事实来源。
部署
Horizon 需要两个密钥:
| 环境变量 | 值 |
|---|---|
TOLLBOOTH_NOSTR_OPERATOR_NSEC | NE 的 nsec |
NEON_DATABASE_URL | 位于 aws-us-east-2 的 Neon 池化连接字符串 |
其他所有内容——收银员的 BTCPay 凭据——都会在部署后通过 Secure Courier 送达(参见社区仓库中的 docs/how-to-add-authority.md)。
DPYC 生态系统
NE 是更广泛的 DPYC 联盟中的一个 Authority——这是由运营方和 Authority 组成的社会契约,各方遵循透明、可审计的经济规则,并由认证链从首席策展人逐级延伸至像 NE 这样的区域 Authority。
tollbooth-dpyc— 共享的 Python SDK(涵盖所有加密、金库、身份验证、定价和审计功能)dpyc-community— 治理注册表和入门文档dpyc-oracle— 免费的社区服务助手(读取注册表)tollbooth-authority— 规范的 Authority(认证骨干)tollbooth-sample— Operator 参考实现tollbooth-pricing-studio— 原生定价编辑器(Swift/iOS)cypher-mcp— 付费图谱问答(通过 Neo4j/AuraDB 执行命名 Cypher 查询)schwab-mcp— Schwab 经纪业务数据thebrain-mcp— TheBrain 知识图谱excalibur-mcp— X/Twitter 发帖taxsort-mcp— 税务分类与归类optionality-mcp— 期权分析tollbooth-oauth2-collector— OAuth2 回调收集器tollbooth-shortlinks— URL 缩短服务
许可证
Apache-2.0
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。